Skip to main content
mehrdad mir shafiei
Associate
June 17, 2018
Question

SPWF04 writing to socket client fails

  • June 17, 2018
  • 1 reply
  • 548 views
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!

    This topic has been closed for replies.

    1 reply

    Elio Cometti
    Visitor II
    June 18, 2018
    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