Data lost on ESP32 with AT command 'AT+CIPSENDEX' with V2.2 and V2.4
Posted: Wed Jun 01, 2022 7:43 am
Hello,
I am using the ESP32-WROOM in combination with an STM32 microcontroller. I use UART port for AT command communication.
When I send data to a server via UDP (AT+CIPSENDEX) and at the same time the server sends data too, then the esp32 lost some byte of the data the STM32 sent and I do not get the response ‘Recv xxx bytes’. I tested the original firmware for the ESP32 and the esp-at source code. This issue is reproducible with firmware V2.2 and V2.4. It works fine with V2.1. I can not use V2.1 for my project because I need IPV6 support.
I added a debug message in function at_port_read_data in source at_uart_task.c. The function uart_read_bytes reads all the time all data the STM32 sent. But I do not get the response ‘Recv xxx bytes’ and ‘SEND OK’.
Does anybody knows this issue?
Thanks for any hint in advance!!
I am using the ESP32-WROOM in combination with an STM32 microcontroller. I use UART port for AT command communication.
When I send data to a server via UDP (AT+CIPSENDEX) and at the same time the server sends data too, then the esp32 lost some byte of the data the STM32 sent and I do not get the response ‘Recv xxx bytes’. I tested the original firmware for the ESP32 and the esp-at source code. This issue is reproducible with firmware V2.2 and V2.4. It works fine with V2.1. I can not use V2.1 for my project because I need IPV6 support.
I added a debug message in function at_port_read_data in source at_uart_task.c. The function uart_read_bytes reads all the time all data the STM32 sent. But I do not get the response ‘Recv xxx bytes’ and ‘SEND OK’.
Does anybody knows this issue?
Thanks for any hint in advance!!