3 examples – Rainbow Electronics GM862-QUAD-PY User Manual

Page 58

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

For example socket 1 has 123 bytes sent, 400 bytes received, 10 byte waiting to be read and
50 bytes waiting to be acknowledged from the remote side.

4.3 Examples

4.3.1 Open a command mode connection with Classic SRING


Open a connection on an Echo port:

AT#SD=2,0,10510,"88.37.127.146",0,0,1
OK

AT#SSEND=2
>hello
OK


SRING: 2

AT#SSEND=2
>hello
OK



Only one SRING unsolicited also if we have other data pending, the user is informed only once.

4.3.2 Open a command mode connection with Data amount SRING


Open a connection on an Echo port:

AT#SD=2,0,10510,"88.37.127.146",0,0,1
OK
AT#SSEND=2
> hello
OK

SRING: 2,5
AT#SSEND=2
> hello
OK

SRING: 2,10

Advertising