Search found 12 matches

by Stephan
Wed Mar 16, 2022 2:39 pm
Forum: ESP-AT
Topic: AT+HTTPCPOST timeout
Replies: 1
Views: 2271

AT+HTTPCPOST timeout

Trying to reach a server that needs about 8 seconds to reply, but AT+HTTPCPOST always returns with "SEND FAIL" after 5 seconds already. How to change this timeout with AT+ commands?? We cannot adjust the timing somewhere in a .h file, because it's about units in the field, not in the lab. (when we a...
by Stephan
Thu Jul 01, 2021 3:06 pm
Forum: ESP-IDF
Topic: https request reboot ...
Replies: 3
Views: 3278

Re: https request reboot ...

What hardware and power supply are you using? It could be a power issue, since the power consumption is somewhat spiky, particularly with TLS.
by Stephan
Tue Jun 29, 2021 10:05 pm
Forum: ESP-IDF
Topic: noise is corrected to nice ?
Replies: 2
Views: 3060

Re: noise is corrected to nice ?

Because there is no function "noise()" declared in noise.h. Therefore, the symbol noise() is unknown. See the available functions in https://github.com/hpwit/fastled-esp32-16PINS/blob/master/noise.h Depending on what you want to achieve, pick one of these functions. This has nothing to do with IDF 4...
by Stephan
Sun Jun 27, 2021 8:36 am
Forum: ESP-IDF
Topic: Custom Board WIFI ISSUE
Replies: 5
Views: 4529

Re: Custom Board WIFI ISSUE

CPU_ESP32_4.pdf
(19.93 KiB) Downloaded 669 times
See here is our schematic, based on voltage regulator LM3691 and two selector diodes, to choose between USB power or Lithium-Polymer battery. This works fine. If you want, post your schematic for a look and comment.
by Stephan
Sun Jun 27, 2021 8:20 am
Forum: ESP-IDF
Topic: http client read response headers
Replies: 5
Views: 7592

Re: http client read response headers

I solved the issue with the callback functions of the HTTP parser. They read everything and can make it explicit. I described this here:
viewtopic.php?f=13&t=21598
I am, however, not sure if this is possible only with IDF 4.2 and later.
by Stephan
Thu Jun 24, 2021 5:05 am
Forum: ESP-IDF
Topic: Custom Board WIFI ISSUE
Replies: 5
Views: 4529

Re: Custom Board WIFI ISSUE

We make custom boards as well, for mass production. I fully agree on ESP_Sprite's contribution above to be the most likely cause. In addition, make sure you have a proper reset cycle at the beginning. We once had spurious side effects, similar to what you describe, when we did not do a proper reset....
by Stephan
Wed Jun 23, 2021 7:52 pm
Forum: ESP-IDF
Topic: AT+HTTPCLIENT headers missing
Replies: 1
Views: 2916

Re: AT+HTTPCLIENT headers missing

I found the answer myself. The HTTP parser works with callback functions at various points, where additional functionality can be insert. ESP-IDF inits these callback functions as follows (see esp_http_client_init()): client->parser_settings->on_message_begin = http_on_message_begin; client->parser_...
by Stephan
Wed Jun 23, 2021 9:00 am
Forum: ESP-IDF
Topic: AT+HTTPCLIENT headers missing
Replies: 1
Views: 2916

AT+HTTPCLIENT headers missing

For the new AT commands AT+HTTPCLIENT and AT+HTTPCPOST: It seems impossible to get the headers from the server answer? For instance, the client calls a server and gets a cookie (=in the HTTP answer header) in return. How to get the cookie content? It seems impossible.
by Stephan
Wed Jun 23, 2021 8:47 am
Forum: ESP-IDF
Topic: http client read response headers
Replies: 5
Views: 7592

Re: http client read response headers

How did you solve it? I came across the same issue. I need a cookie that is returned from a server, but the standard functions don't hand it over.
by Stephan
Tue Jan 26, 2021 5:36 am
Forum: General Discussion
Topic: ESP32-AT Loading CA to authenticate server failed
Replies: 3
Views: 5218

Re: ESP32-AT Loading CA to authenticate server failed

HI katebo

Did you ever manage to solve this authentication issue? If yes, how? If no, you might want to give this a try:
viewtopic.php?t=9374

I have to SSL as well; just starting.

Cheers,
Stephan