5 socket information command – Rainbow Electronics GM862-QUAD-PY User Manual
Page 57

Easy GPRS User Guide
80000ST10028 Rev. 4 - 16/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 57 of 63
Where :
•
•
Example:
We receive a SRING data amount and then we extract all the five bytes pending with SRECV.
SRING: 1,5
at#srecv=1,5
#SRECV: 1,5
hello
OK
4.2.5 Socket Information command
It is possible to have additional information on every socket with the AT#SI command.
The command syntax is:
AT#SI [=
The information shown by the command are:
• Data sent on the socket.
• Data extracted from the socket buffer.
• Data pending on the socket buffer.
• Data not acknowledged by the remote.
at#si
#SI: 1,123,400,10,50
#SI: 2,0,100,0,0
#SI: 3,589,100,10,100
#SI: 4,0,0,0,0
#SI: 5,0,0,0,0
#SI: 6,0,98,60,0
OK
Sockets 1,2,3,6 are opened with some data traffic.