Rainbow Electronics GM862-QUAD-PY User Manual

Page 59

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

SRing data amount unsolicited is updated every time new data arrives on the socket.

Now we use AT#SI to see info on connection Id 2:

AT#SI=2
#SI: 2,10,0,10,0

Ten bytes sent and ten pending on the socket.

4.3.3 Open a command mode connection with Data view SRING


We configure connection Id 1 for data view in text mode:

AT#SCFGEXT = 1,2,0,0
OK

We configure connection Id 2 for data view in hex mode:

AT#SCFGEXT = 2,2,1,0
OK

Open the two echo connections in command mode:

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

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

Send some data on the first, text mode:

AT#SSEND=1
> hello
OK

SRING: 1,5,hello

Send some data on the second, hex mode:

AT#SSEND=2
> hello
OK

SRING: 2,5,68656C6C6F

Advertising