Rainbow Electronics GM862-QUAD-PY User Manual

Page 3

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

Contents

1 GPRS Operations ............................................................................................................................ 6

1.1

Introduction ............................................................................................................................................6

1.1.1

CSD application example ....................................................................................................................................8

1.1.2

GPRS application example ..................................................................................................................................9

1.2

Preliminary GPRS context parameters setting..................................................................................10

1.2.1

Context parameter setting ..................................................................................................................................10

1.2.2

Minimum Quality of the Service Requested......................................................................................................11

1.2.3

Requested Quality of the Service.......................................................................................................................13

1.3

GPRS context activation and data state entering ..............................................................................15

1.4

GPRS data state exit.............................................................................................................................17

2 Enhanced Easy GPRS Extension ................................................................................................. 18

2.1

Overview................................................................................................................................................18

2.1

Commands Overview ...........................................................................................................................20

2.1.1

Easy GPRS Outgoing Connection .....................................................................................................................20

2.1.1.1

Configuring the GPRS access ...................................................................................................................21

2.1.1.2

Configuring the embedded TCP/IP stack..................................................................................................21

2.1.1.3

Request the GPRS context to be activated ................................................................................................22

2.1.1.4

Open the connection with the internet host ...............................................................................................23

2.1.1.5

Resuming a suspended connection with #SO............................................................................................24

2.1.1.6

Close the Socket without deactivating the context....................................................................................25

2.1.2

Easy GPRS Incoming Connection .....................................................................................................................26

2.1.2.1

Defining the Internet Peer that can contact this device (firewall settings) ................................................26

2.1.2.2

Request the socket connection to be opened in listen ...............................................................................27

2.1.2.3

Accept an incoming connection with #SA ................................................................................................28

2.1.2.4

Checking the socket status with #SS.........................................................................................................28

2.1.2.5

Using FTP and IP Easy together ...............................................................................................................29

2.1.2.6

Using CMUX and Multisocket .................................................................................................................29

2.1.2.7

4.1 Using old interface command on Multisocket.....................................................................................30

2.1.2.8

5.1 Dial Up with Multisocket....................................................................................................................30

2.1.3

Known limitations..............................................................................................................................................30

2.2

FTP OPERATIONS .............................................................................................................................31

2.2.1

Opening and Closing an FTP Connection..........................................................................................................31

2.2.2

Setting the FTP Transfer Type...........................................................................................................................32

2.2.3

FTP File transfer to the server ...........................................................................................................................32

2.2.4

FTP File download from the server ...................................................................................................................33

2.3

AT Commands Compatibility Table...................................................................................................35

2.4

Examples ...............................................................................................................................................36

2.4.1

Easy GPRS - HTTP client application...............................................................................................................36

2.4.2

Easy GPRS - EMAIL sending application.........................................................................................................38

2.4.3

Easy GPRS -EMAIL receiving application .......................................................................................................42

2.4.4

Remote connection between two modules.........................................................................................................44

Advertising