WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
81
OK
AT+PPPSTATUS
*
OK
The dialing connection is opening or
closing.
Remarks
All TCP/UDP sockets are unavailable after the connection is closed. You
need to reconnect them.
This command is applicable to E8C33419 and later versions.
9.4 Setting Heartbeat Packet: + TCPKEEPALIVE
Description
To set heartbeat packet to keep TCP alive
Format
AT+TCPKEEPALIVE=<mode>[,<time>[,< interval>]]<CR>
AT+TCPKEEPALIVE?
AT+TCPKEEPALIVE=?
Parameter
<mode>: Enable/Disable
0: Disable (default)
1: Enable
<time>: Interval for which the TCP is idle before the module sends the KEEPALIVE
packet to the remote server. The value ranges from 30s to 7200s, and the default
value is 120.
<interval>: Interval for the module to resend the KEEPALIVE packet since it sends
last time and does not receive response. The value ranges from 1s to 1800s, and
the default value is 75s.
Return Value
<CR><LF>OK<CR><LF>
or
<CR><LF>ERROR<CR><LF>
or
<CR><LF>+TCPKEEPALIVE: <mode>,<time>,< interval><CR><LF>
<CR><LF>OK<CR><LF>
Example
AT+TCPKEEPALIVE=1
OK
Enable the KEEPALIVE function.