High-Flying
Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 49 -
+ok<CR>< LF ><CR>< LF >
Parameters:
Protocol: Protocol type:
TCP: Only for TCP Client
UDP
Port: Protocol Port in decimal, less than 65535
IP: Destination IP address, domain name is support
4.2.2.29. AT+TCPDISB
Function: Open/Close TCP_B connection
Format:
Query Operation
AT+TCPDISB<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPDISB =<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
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 re-
connect TCP server right away.
4.2.2.30. AT+TCPTOB
Function: Set/Query OperationTCP_B timeout
Format:
Query Operation
AT+ TCPTOB<CR>
+ok=<time><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPTOB=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters
Time: TCP timeout
<= 600:600s
>=0:0 means no timeout
Default:300s
The module will not connect TCP_B after TCP timeout. The module will make connection
after another “TCPDIS” command.
4.2.2.31. AT+TCPLKB
Function:Query TCP_B connection status
Format:
AT+ TCPLKB<CR>
HF-SH01