AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page148of233
Note
This AT command performs a system reboot.
Multisocket AT Commands
Socket Status - #SS
#SS - Socket Status
AT#SS
Execution command reports the current status of the sockets in the format:
#SS: <connId>,<state>,<locIP>,<locPort>,<remIP>,<remPort>
[<CR><LF><connId>,<state>,<locIP>,<locPort>,<remIP>,<remPort>
[…]]
where:
<connId> - socket connection identifier
1..6
<state> - actual state of the socket:
0 - Socket Closed.
1 - Socket with an active data transfer connection.
2 - Socket suspended.
3 - Socket suspended with pending data.
4 - Socket listening.
5 - Socket with an incoming connection. Waiting for the user accept or shutdown
command.
6 – Socket in opening process. The socket is not in
Closed state but still not in Active or Suspended or Suspended with pending
data state.
<locIP> - IP address associated by the context activation to the socket.
<locPort> - 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.
<remIP> - when we are connected to a remote machine this is the remote IP
address.
<remPort> - it is the port we are connected to on the remote machine.
AT#SS=?
Test command returns the OK result code.
Socket Info - #SI
#SI - Socket Info
AT#SI[=<connId>]
Execution command is used to get information about socket data traffic.