3 accept an incoming connection with #sa, 4 checking the socket status with #ss, R.2.1.2.3) – Rainbow Electronics GM862-QUAD-PY User Manual
Page 28

Easy GPRS User Guide
80000ST10028 Rev. 4 - 16/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 28 of 63
2.1.2.3 Accept an incoming connection with #SA
After receiving the SRING indication for an incoming connection we can decide to refuse the remote
host connection with #SH command or accept the connection with #SA command.
The command syntax is:
AT#SA =
Example:
AT#SL = 3, 1, 6543
OK
A remote host is trying to connect, we receive the unsolicited indication.
SRING: 3
Now we accept the connection
AT#SA = 3
CONNECT
We pass in online mode and the connection is established. With the escape sequence we suspend
the socket and the module is back to command mode. To resume the suspended connection we can
use the #SO command described above.
2.1.2.4 Checking the socket status with #SS
With the old IP Easy socket connection the possible states were: online state or closed, while with
multisocket suspension we have other socket states. With the new command AT#SS we can see the
status of all the six sockets.
The command syntax is:
AT#SS
Suppose that we have suspended some sockets and we are in command mode, in order to verify
which Connection Id has been opened, we can use AT#SS command to have a snapshot of sockets
status.
The command result is
: