HF-LPC100 Wi-Fi/Bluetooth Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 38
-
3.2.2.30.
AT+TCPTOB
Function: set/query SOCKB timeout, setting is valid after reset
Format
Query operation
AT+TCPTOB<CR>
+ok=<time><CR><LF><CR><LF>
Set operation
AT+TCPTOB=<time ><CR>
+ok<CR><LF><CR><LF>
Parameter:
Time
:
TCP timeout time
<= 600
:
600s
>=0
:
0 means no timeout setting
Default
:
300s
When timeout module will close SOCKB connection automatically, and will not reconnect ; need
to send TCPDISB command to reconnect.
3.2.2.31.
AT+TCPLKB
Function :set/query SOCKB connection status
Format
AT+TCPLKB<CR>
+ok=<sta><CR><LF><CR><LF>
Parameter
sta.: SOCKB connection status
on: TCP connected
off: TCP disconnect
3.2.2.32.
AT+UDPLCPT
Function: set/query local port of Socket A, Socket B when work as UDP
communication
Format
:
Query operation
AT+UDPLCPT<CR>
+ok=<porta,portb><CR><LF><CR><LF>
Set operation
AT+UDPLCPT=<porta,portb><CR>
+ok<CR><LF><CR><LF>
Parameter
porta
:
the local port when Socket A work as UDP protocol, 0 means not fixed
portb
:
the local port when Socket B work as UDP protocol, 0 means not fixed
3.2.2.33.
AT+SNDB
Function send data to SOCKB at command mode
Format
High-Flying