
WIFI-LPT100-B User Manual
18
/
60
the two Socket automatically; As well as the data receive through Socket will be send
to UART port and transmit
The working type of Socket A: TCP Server, TCP Client, UDP Server and UDP
Client. The setting method please refer to the AT Instruction, use command AT_NETP
The working type of Socket B: TCP Client, UDP Server, UDP Client. Setting
method please refer to the AT Instruction, using AT+SOCKB command.
For the stability of connection, in TCP mode, module append these function:
(1) Keepalive function auto-enable, this function is used to detect dead
connection. Keepalive will be send every 60s. If have no response, it will be sent
tripe, interval 2s. After three sending, if there still is not any response, module will
close this connection.
(2) Receive timeout function. If the module has build TCP connection and
there are not transparent transmissions for some time, module will close this
connection.
a. TCP Server Mode
If Socket is set as TCP Server, it can support up to 5 TCP Client connection. If
there is multi TCP Client connected, the data transmit through TCP will be forwarded
to UART port one by one. And the data send from the serial port will be copied and
be forwarded to every TCP Client.
b. TCP Client Mode
In TCP Client Mode, module will connect to the server which have been pre-
configured. If the server is unavailable or connecting failed, module will re-connect
every 1s.
c. UDP Server Mode
In TCP Server Mode, module will only send data to those IP or Port which
have pre-configured and only receive data transmitted by the pre-configure IP or
Port. Otherwise, data will not be forwarded to UART port.
4.1.2 Command Mode
In this mode, the module no longer transparent transmit data. Now the serial
port is used to receive AT commands. User can send AT commands to the module
through the serial port, to query and set the module's parameters about serial port,
network, etc. The method to enter Command Mode from throughput mode and the
explanation of AT commands, are in 5th Chapter