5 using ftp and ip easy together, 6 using cmux and multisocket – Rainbow Electronics GM862-QUAD-PY User Manual
Page 29
Easy GPRS User Guide
80000ST10028 Rev. 4 - 16/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 29 of 63
#SS:
For every Connection Id with have the information about our local IP address, local port, remote IP
and port if we are connected.
The Status field represents the socket status:
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.
Example:
AT#SS
#SS: 1,4,217.201.131.110,21
#SS: 2,2,217.201.131.110,1033,194.185.15.73,10510
#SS: 3,3,217.201.131.110,1034,194.185.15.73,10510
#SS: 4,1,217.201.131.110,1035,194.185.15.73,10510
#SS: 5,0
#SS: 6,0
OK
In this case we can see Connection Id 1 in listen mode on port 21, number 2 suspended with no data
pending, number 3 suspended with pending data and number 1 is online. The last two connections are
closed
2.1.2.5 Using FTP and IP Easy together
Another new functionality of multisocket is the simultaneous FTP client service with socket
connections. We can use socket suspension mode to give FTP commands as in the old IP Easy,
keeping socket alive and eventually resuming socket connections when we need to.
Note: It is recommended to leave Connection Id 1 associated to context 1 for using this functionality. (
for more explanation see also paragraph 2.1.1.2)
2.1.2.6 Using CMUX and Multisocket
Using CMUX we can have up to three virtual port to execute normal AT commands; if we join CMUX
with multisocket we can share the six connections on the three ports (six is the total number in any
case) and we can have up to three sockets active (online) at the same time.