
VW801, VW802, VW803, VW804 Serial-WiFi Modem User Manual
Vitalwell Electronics (Zhuhai) Pte. Ltd. www.vital-well.com
email:
27
u
sta.: if module already setup TCP link;
²
on: TCP link setup;
²
off: TCP link not setup;
4.2.2.19. AT+TCPTO
n
Function: Set/Query TCP timeout; Setting is valid after reset.
n
Format:
u
Query Operation
AT+TCPTO<CR>
+ok=<time><CR><LF><CR><LF>
u
Set Operation
AT+TCPTO=<time ><CR>
+ok<CR><LF><CR><LF>
n
Parameters:
u
time: TCP timeout time.
²
<= 600, (600s);
²
>=0, (0 means no timeout);
²
Default, 300s;
Module begin to count time when TCP channel don
’
t receive any data, clecherar time counter when
TCP channel receive any data. If the time counter reaches the TCPTO, the tcp channel will be break.
If the module work in TCP Client, it will connect the TCP server instantly and when the module work
in TCP Server, the TCP client device should make the connection itself.
4.2.2.20. AT+TCPDIS
n
Function: Open/Close TCP link;
n
Format:
u
Query Opera
AT+TCPDIS<CR>
+ok=<sta><CR><LF><CR><LF>
u
Set Operation
AT+TCPDIS =<on/off><CR>
+ok<CR><LF><CR><LF>
n
Parameters:
When query, sta.: Feedback if TCP Client can be link,
²
On, TCP link close
²
off
,
TCP link on
When setting,
“
off
”
means close TCP link. After finish this command, module disconnect TCP link and
not connect again.
“
On
”
means open TCP link. After finish this command, module reconnect TCP server