In my application, we are reading large files from an SD card and transferring them over WiFi to an AP. The SPWF04 is connected to an STM32L4 using UART.
Data chunks are sent from the MCU to the WiFi module after opening a socket using the command AT+S.SOCKW and each time we wait for an AT-S.OK before sending the next data chunk. This works fine but after a while, the OK message doesn't come, resending data with AT+S.SOCKW doesn't help and the transmission gets stuck.
This happens randomly and we are not sure how to debug.
Thanks for your help!