cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF04 writing to socket client fails

mehrdad mir shafiei
Associate II
Posted on June 17, 2018 at 03:24

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!

1 REPLY 1
Elio Cometti
Senior II
Posted on June 18, 2018 at 09:23

Dear,

please attach the SPWF04 configuration and status (AT+S.GCFG, AT+S.STS) and possibly the console log to this post.

Please also try disabling all unused indications by setting the respective bits in console_wind_off_low/medium/high config variables and verify if you still face the problem.

Regards,

Elio