Rainbow Electronics GM862-QUAD-PY User Manual

Page 25

Advertising
background image





Easy GPRS User Guide

80000ST10028 Rev. 4 - 16/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 25 of 63

AT#SO = 2
CONNECT
data sending

(+++)

In case there is data pending on this socket (you can know this the unsolicited message SRING has
appeared before), issuing command AT#SO these pending data will be displayed after the CONNECT
string.
It is possible to resume a suspended socket without waiting for SRING message or data pending on
that connection.
Using AT#SO on a Connection Id in idle state (no socket open or suspended) we obtain a NO
CARRIER message.

2.1.1.6 Close the Socket without deactivating the context


The connection can be closed for the following reasons:

• remote host TCP connection close

• socket inactivity timeout

• Terminal Equipment by issuing the escape sequence "+++" and AT#SH that specifies the

Connection Id

• Network

deactivation



With the new management of the escape sequence we need a command to close the socket
connection. The AT command syntax to use is:

AT#SH = <conn Id>

Example:

AT#SD = 2 , 0 , 80 , “www.google.com”
CONNECT
data sending

(+++)

OK

AT#SH = 2
OK

Now the connection is closed. If we send this command with an idle Connection Id we obtain in any
case an OK message.

Advertising