Data Sheet
Air602_AT Instruction User Manual
2.2.3.13 Get the specified socket state :AT+SKSTT
• Function:
Gets the specified socket state. The first line of the return value indicates the status information of the socket
specified by the user. If the socket type is a TCP server, each line from the next line indicates the socket state
of an accessed client.
• Format(ASCII):
AT+SKSTT=<socket><CR>
+OK=<socket>,<status>,[host],[HostPort],[LocalPort],[rx_data]<CR><LF>
[socket],[status],[host],[HostPort],[ LocalPort],[rx_data]<CR><LF>
...
<CR><LF>
• Parameter:
socket:socket number
Value Dscription
0
disconnect
1
monitor
2
connect
host:对端ip 地址
HostPort: counterpart port number
LocalPort:Local port number
rx_data:Data length in the receive buffer
• e.g.:
Luat 54 /73 page
status:socket status