
WIFI-LPT100-B User Manual
44
/
60
Port: Protocol Port in decimal, less than 65535;
IP: Destination IP address, domain name is support;
If set as UDP SERVER, the module will save the IP address and port of the latest UDP
packet received. The data will be sent to the saved
IP address and port. If the module hasn’t
saved any IP address and port when power up. The data will be sent to the IP address and
port which is set by this command.
If set as UDP CLIENT, the data will always be sent to the IP address and port set by
this command.
18) AT+TCPTOB
➢
Function:
Set/Query Operation SOCKB timeout time;
➢
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 time. (<= 600s; >=0; Default: 300s)
SOCKB begin to count time when TCP channel don’t receive any data, clear time
counter when TCP channel receive any data. If the time counter reaches the TCPTO time, the
TCP channel will be break. If SOCKB work in TCP Client, it will connect the TCP server
instantly.
19) AT+TCPDISB
➢
Function:
Open/Close SOCKB TCP link;
➢
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 query Operation, sta: Feedback if SOCKB TCP Client is link.