Search found 32 matches

by DannyBackx
Wed Apr 17, 2024 6:56 pm
Forum: ESP-IDF
Topic: Can't send data if two netifs (wifi + gsm modem)
Replies: 0
Views: 438

Can't send data if two netifs (wifi + gsm modem)

I'm using a small sample application to figure out how I can have two network interfaces active : wifi when all is well, but fallback to cell phone otherwise. The demo app works with one network interface (either) but not when both are started. Even the initial communication (a simple web query) fai...
by DannyBackx
Sun Apr 16, 2023 3:04 pm
Forum: Hardware
Topic: how to debug touch gt911 (works in demo program)
Replies: 0
Views: 856

how to debug touch gt911 (works in demo program)

I have one of these Sunton boards esp32s4827s043 with an esp32s3, a 480x272 display, and capacitive touch (they say). I was able to get the display to work from a barebones esp-idf program, but not the (gt911?) touch.
See https://sourceforge.net/p/esp32s3-4827s043/code/ .

Any clues on how to debug ?
by DannyBackx
Tue Mar 14, 2023 5:05 pm
Forum: ESP-IDF
Topic: new esp32s3 with hi res display board anyone ?
Replies: 1
Views: 804

new esp32s3 with hi res display board anyone ?

I purchased one of the several new types of board recently. Mine is a esp32-4827s043. Hoping this image will come through : https://ae01.alicdn.com/kf/S4e98bc43a9404020be2c8b76d2a3e403l/ESP32-S3-HMI-8M-PSRAM-16M-Flash-Arduino-LVGL-WIFI-Bluetooth-4-3-480-270-Smart.jpg_Q90.jpg_.webp Has anyone been ab...
by DannyBackx
Sun Dec 05, 2021 6:22 am
Forum: ESP-IDF
Topic: TCP connection between nodes, should select raise exception ?
Replies: 2
Views: 2554

Re: TCP connection between nodes, should select raise exception ?

Well, the select() API was built for three things, one of them being exceptional conditions. And the other side in the communication (trying to read) does get such a signal. Three independent sets of file descriptors are watched. The file descriptors listed in readfds will be watched to see if chara...
by DannyBackx
Sat Dec 04, 2021 9:54 pm
Forum: ESP-IDF
Topic: TCP connection between nodes, should select raise exception ?
Replies: 2
Views: 2554

TCP connection between nodes, should select raise exception ?

Hey, I have pretty standard code based on BSD socket select. Shouldn't select() catch the condition that a socket is disconnected and can't be written to ? Error message changes after the first error, then keeps on going instead of getting an error condition raised. https://sourceforge.net/p/espalar...
by DannyBackx
Tue Jun 15, 2021 1:19 pm
Forum: ESP-IDF
Topic: Bug in esp_http_client_fetch_headers
Replies: 3
Views: 3084

Re: Bug in esp_http_client_fetch_headers

Over three weeks and not a single reply :-( The same bug is present in esp-idf-4.2.1 . Here's a diff for esp-idf-v4.2.1/components/esp_http_client/esp_http_client.c : hp: {16} diff esp_http_client.c.orig esp_http_client.c 1005a1006,1012 > int _header_end(const char *ptr, const int len) { > for (int ...
by DannyBackx
Mon May 31, 2021 6:07 pm
Forum: ESP-IDF
Topic: SSL Certificate Renewal
Replies: 14
Views: 26468

Re: SSL Certificate Renewal

I'm a bit late with this reply but check out my acme client.
https://sourceforge.net/projects/esp32-acme-client/
by DannyBackx
Thu May 20, 2021 4:07 pm
Forum: ESP-IDF
Topic: Bug in esp_http_client_fetch_headers
Replies: 3
Views: 3084

Bug in esp_http_client_fetch_headers

Hey, esp_http_client_fetch_headers has a bug. It calls http_parser_execute with incomplete headers, and when it does that, the latter will call the on_header_value functions with erroneous data. To make this concrete : - I'm requesting stuff from the letsencrypt.org - on some requests, the set of he...