5 resuming a suspended connection with #so – Rainbow Electronics GM862-QUAD-PY User Manual

Page 24

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 24 of 63

(send, receive data….)

(+++)
OK

OK is returned after the escape sequence, it means that the socket has been suspended correctly.
Now the connection number 3 is suspended and the module is in command mode so we can give
another #SD command.

AT#SD = 2 , 0 , 80 , “www.google.com”
CONNECT
(send, receive data….)

(+++)
OK

If we try to open a connection while the ConnId is in suspended state or online an error will be occur.

If a suspended connection receives some data the user will receive an unsolicited SRING indication
from the module. In case we receive some data from the suspended connection with Telit server we’ll
receive this unsolicited message:

SRING: 3

where 3 is the number of the ConnId with data pending.
NOTE: The unsolicited SRING indication appears only in command mode.

2.1.1.5 Resuming a suspended connection with #SO


This is the new command to resume a suspended connection, the command syntax is:

AT#SO = <Conn Id>

Example:

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

(+++)

OK

SRING: 2

Advertising