ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 394 of 545 2020-04-15
3.13.21. AT#SS - Socket Status
Execution command reports the current sockets status.
AT#SS
Execution command reports the current sockets status using the following message format:
#SS: <connId>,<state>,<locIP>,<locPort>,<remIP>,<remPort><CR><LF>
[<connId>,<state>,<locIP>,<locPort>,<remIP>,<remPort><CR><LF>[...]]
Additional info:
socket connection identifier
actual state of the socket
socket with an active data transfer connection
socket suspended with pending data
socket with an incoming connection. Waiting for the user
accept or shutdown command
socket in opening process. The socket is not in Closed state
but still not in Active or Suspended or Suspended with
pending data state
IP address associated by the context activation
to the socket
two meanings:
• the listening port if we put the socket
in listen mode
• the local port for the connection if we
use the socket to connect to a remote
machine
when we are connected to a remote machine
this is the remote IP address
it is the port we are connected to on the remote
machine
AT#SS=?
Test command reports the range for <connId> parameter.