Search found 56 matches

by dizcza
Sat Nov 02, 2024 6:23 pm
Forum: ESP-IDF
Topic: Help in Decoding Wifi W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0
Replies: 3
Views: 3347

Re: Help in Decoding Wifi W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0

This is the A-MPDU related feature introduced into Wi-Fi since Wi-Fi4. W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0 Can you give a link to all A-MPDU related codes? I'm getting W (12755) wifi:[ADDBA]rx delba, code:1, delete tid:0 for the first time I connect esp_http_client_handle_t to my...
by dizcza
Sun Jan 21, 2024 9:05 am
Forum: Hardware
Topic: ADS1256 with ESP32 idf
Replies: 3
Views: 8901

Re: ADS1256 with ESP32 idf

Hi e2738729, can you please share your final code?
I'm also searching for ADS1256 ESP-IDF and found no solutions.
Thanks.
by dizcza
Tue Jun 06, 2023 7:19 pm
Forum: ESP-IDF
Topic: Example of a TCP socket with SSL?
Replies: 1
Views: 1970

Example of a TCP socket with SSL?

I already have a TCP client running on an ESP32 but I'd like to make it secure with SSL. I found something similar for Arduino: https://github.com/khoih-prog/AsyncTCP_SSL. But, firstly, it's on Arduino and, secondly, the project is no longer maintained. On the documentation page of ESP-IDF, I found ...
by dizcza
Fri May 26, 2023 7:57 am
Forum: ESP-IDF
Topic: WiFi APSTA keeps disconnecting clients
Replies: 2
Views: 1622

Re: WiFi APSTA keeps disconnecting clients

I don't see your code starting the timer anywhere. Also, could this be part of the issue: if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { wifi_apsta_reconnect(NULL); ? WRONG: The timer is obsolete, sorry, I should have removed it. And yes, this function block in the `wifi...
by dizcza
Thu May 25, 2023 6:31 pm
Forum: ESP-IDF
Topic: WiFi APSTA keeps disconnecting clients
Replies: 2
Views: 1622

WiFi APSTA keeps disconnecting clients

If a wifi STA connection fails, I start WIFI_APSTA wifi to provision clients that changed their home wifi SSID and therefore the ESP board is unable to connect. #define WIFI_RECONNECT_TIMEOUT_S 30 static const char *TAG = "wifi_apsta"; static esp_timer_handle_t m_timer_reconnect; static bool m_ap_co...
by dizcza
Tue Apr 25, 2023 11:24 am
Forum: ESP-IDF
Topic: [SOLVED] Save core dump to flash and read it after reboot as file.
Replies: 4
Views: 9715

Re: [SOLVED] Save core dump to flash and read it after reboot as file.

Thank you @leschge for providing the snippet code, it works for me. I'd like to go further: I want to print the traceback directly from the hardware. Most of the time I'm interested only in the current thread stack: ==================== CURRENT THREAD STACK ===================== #0 0x40082720 in pan...
by dizcza
Sat Mar 18, 2023 7:42 pm
Forum: ESP-IDF
Topic: SD SPI CS pin inverted logic possible?
Replies: 1
Views: 1603

SD SPI CS pin inverted logic possible?

I'm kinda running out of pins with my WT32-SC01. The SPI bus is shared between the SD card and the LCD. I'd like to share the CS pin as well. Is it possible to setup esp_vfs_fat_sdspi_mount with the CS inverted logic? I'll probably need to add an external logic inverter before the SD card CS pin to ...
by dizcza
Thu Mar 09, 2023 7:43 am
Forum: ESP-IDF
Topic: How to disable mbedtls on ESP-IDF
Replies: 5
Views: 3405

Re: How to disable mbedtls on ESP-IDF

Yeah I do use WPA connections, I didn't think of that. Well, at least I found the minimal working configuration of mbedtls that doesn't require tinkering with ESP-IDF components code.
by dizcza
Wed Mar 08, 2023 11:29 am
Forum: General Discussion
Topic: Super slow sdcard on Wrover kit
Replies: 4
Views: 7983

Re: Super slow sdcard on Wrover kit

To increase the write speed, allocate a large (16kB or 32kB) buffer. Fill it with incoming data. Then write to the file, bypassing stdio buffering (using write(fileno(f), buffer, size);, instead of fprintf). I'm trying to find the fastest way to dump a JPEG image from ESP32-CAM to my SD card mounte...
by dizcza
Wed Mar 08, 2023 9:18 am
Forum: ESP-IDF
Topic: How to disable mbedtls on ESP-IDF
Replies: 5
Views: 3405

Re: How to disable mbedtls on ESP-IDF

In some projects I need WiFi but the communication is within the local network only, so I don't need encryption. The way I'm currently doing this is disabling each and every feature in mbedtls menuconfig: # CONFIG_MBEDTLS_SSL_RENEGOTIATION is not set # CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS is no...