Search found 9 matches

by gmdriscoll
Tue Jul 05, 2022 9:31 pm
Forum: ESP-IDF
Topic: DNS not resolvable if hosting provider is using QUIC
Replies: 5
Views: 3219

Re: DNS not resolvable if hosting provider is using QUIC

@WiFive - LWIP_DNS_DEBUG does not exist in the LWIP debugging section of menuconfig or sdkconfig. I have given up on this method although we have been using it for a few years now. The https_connect_example with esp_tls_write and esp_tls_read is working and I will move over to that as it has no trou...
by gmdriscoll
Tue Jul 05, 2022 9:03 pm
Forum: ESP-IDF
Topic: esp_tls_conn_read returns [-0x50](ERROR)
Replies: 1
Views: 1180

Re: esp_tls_conn_read returns [-0x50](ERROR)

Sorry to bother everyone. The post content length is the length of the data you wish to send, not the length of the whole post string. In this case the webserver was waiting for 200+ bytes that wasn't being sent. So it just timed out and closed the connection.
by gmdriscoll
Tue Jul 05, 2022 8:17 pm
Forum: ESP-IDF
Topic: esp_tls_conn_read returns [-0x50](ERROR)
Replies: 1
Views: 1180

esp_tls_conn_read returns [-0x50](ERROR)

Attempting to get the https_request_example working. The example seemingly works fine as is with a GET. If I modify the GET to a POST, the write works, but the esp_tls_conn_read hangs for many seconds then eventually times out. If I change the POST to an invalid request, the server returns the expec...
by gmdriscoll
Tue Jul 05, 2022 4:09 pm
Forum: ESP-IDF
Topic: WolfSSL ssl.h include kills WiFi event_handler
Replies: 0
Views: 1311

WolfSSL ssl.h include kills WiFi event_handler

I have wolf SSL installed with latest github release. Trying to get the esp-wolfssl/examples/wolfssl_client working. All of the wolfssl code has been ripped out of the example and only the wifi_init_sta and wifi_event_handler are in the code. All I am trying to do is connect to the router at this po...
by gmdriscoll
Tue Jul 05, 2022 3:36 pm
Forum: ESP-IDF
Topic: DNS not resolvable if hosting provider is using QUIC
Replies: 5
Views: 3219

Re: DNS not resolvable if hosting provider is using QUIC

Here is the output with the LWIP debugging on. Again, if I change the nvsURL in the code below from the one at register.com to the one at CloudFlare the client can't connect. Definitely need help with the interpretation. This is the code that is failing: if (client == NULL){ ESP_LOGI(TAG, " INIT HTT...
by gmdriscoll
Sun Jul 03, 2022 2:07 pm
Forum: ESP-IDF
Topic: ESP-TLS memory quirck
Replies: 8
Views: 5667

Re: ESP-TLS memory quirck

CONFIRMED: Adding the include to esp_tls.h fixes the error. #ifdef CONFIG_ESP_TLS_USING_MBEDTLS + #include "mbedtls/esp_config.h" #include "mbedtls/platform.h" I am using platformio and esp idf ver 4.3.2. - framework-espidf @ 3.40302.0 (4.3.2) - tool-cmake @ 3.16.4 - tool-esptoolpy @ 1.30300.0 (3.3....
by gmdriscoll
Sat Jul 02, 2022 5:54 pm
Forum: ESP-IDF
Topic: DNS not resolvable if hosting provider is using QUIC
Replies: 5
Views: 3219

DNS not resolvable if hosting provider is using QUIC

We have an application using a WROOM-32E module. The IT department is moving our DNS hosting from Register.com to CloudFlare specifically. PlatformIO is the development environment and the version if ESP-IDF is 4.3.2. PACKAGES: - framework-espidf @ 3.40302.0 (4.3.2) - tool-cmake @ 3.16.4 - tool-espt...
by gmdriscoll
Sun Jun 28, 2020 9:42 pm
Forum: ESP IoT Solution
Topic: a4988 component working?
Replies: 7
Views: 17964

Re: a4988 component working?

I found the main problem. Looks like it is trying to stop the acceleration timer using a null object when it completes the step sequence. In a4988.cpp, the interrupt handler stepper_pcnt_intr_handler needs a check to make sure the timer pointer is not null before stopping it. change: xTimerStopFromI...
by gmdriscoll
Sat Jun 27, 2020 11:54 am
Forum: ESP IoT Solution
Topic: a4988 component working?
Replies: 7
Views: 17964

Re: a4988 component working?

Hello, I would like to re-open this issue. With either low speeds and/or short distances, the ESP returns: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x4008fd37 PS : 0x00060130 A0 : 0x8008fe02 A1 : 0x3ffc5d00 A2 : 0x00000000 A3 : 0x00...