UDPS UDP Server
UDPC UDP Client
HTPC Httpd Client
IP: When the module is set to Client, the IP address is the server IP address
Port: 0~65535,0 means random
E.g.AT+SOCKA1=TCPC,192.168.0.201,8234
2.5.20. AT+SOCKLKMN
Function
Query socket M connection status of PortN
Query
AT+ SOCKLKMN<CR>
<CR><LF>+OK=<sta><CR><LF>
Parameter
Sta
IDLE:Initialization status
LISTEN:When the module works as a TCP Server, it is listening for connection access
CONNECTING:The module is building a connection to the TCP Server
CONNECTED:The TCP connection to TCP server of the module has been established
CONNECTED(n):Number of TCP clients connected to the module
ERROR:The module is abnormally disconnected
E.g.AT+SOCKLKA1
2.5.21. AT+MAXSKN
Function
Query/set maximum sockets no. supported in TCP server mode of PortN
Format
Query
AT+MAXSKN<CR>
<CR><LF>+OK=<num><CR><LF>
Set
AT+MAXSKN<CR>
<CR><LF>+OK =<num><CR><LF>
Parameter
num: 1~16. maximum sockets supported in TCP server,default 8
E.g.AT+MAXSK1=8
2.5.22. AT+TCPSEN
Function
Query/set whether to receive new connection after exceeding maximum sockets NO.
Query
Your TrustWorthy Industrial IoT Partner
18
AT command set
www.pusr.com
Need help?
Do you have a question about the Cortex-M7 Series and is the answer not in the manual?