Alex Motyjenkov

SPWF04 socket timeout

Discussion created by Alex Motyjenkov on Nov 11, 2017
Latest reply on Nov 24, 2017 by manuele lupo

Hello everyone!

Is able to change connection timeout in SPWF04 module? When I try to establish a TCP connection with temporary unavailable node, SPWF04 hang up for a long time. In this case I send AT+S.SOCKON=192.168.0.2,2222,,t. Since, SPWF04 no accept any command over UART interface and I can cancel or reestablish a connection. After few minutes SPWF04 responses with AT-S.ERROR:74:Failed to open socket.

How I can reduce connection timeout for this case?

Outcomes