Telit Wireless Solutions Easy GPRS User Manual
Page 3

Easy GPRS User Guide
80000ST10028 Rev. 1 - 14/03/07
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 3 of 37
Contents
1
GPRS Operations ............................................................................................................................ 5
1.1
Introduction ............................................................................................................................................5
1.1.1
CSD application example ....................................................................................................................................7
1.1.2
GPRS application example ..................................................................................................................................8
1.2
Preliminary GPRS context parameters setting....................................................................................9
1.2.1
Context parameter setting ....................................................................................................................................9
1.2.2
Minimum Quality of the Service Requested......................................................................................................10
1.2.3
Requested Quality of the Service.......................................................................................................................12
1.3
GPRS context activation and data state entering ..............................................................................14
1.4
GPRS data state exit.............................................................................................................................16
2
Enhanced Easy GPRS Extension ................................................................................................. 17
2.1
Overview................................................................................................................................................17
2.1.1
Easy GPRS Outgoing connection ......................................................................................................................18
2.1.1.1
Configuring the GPRS access ...................................................................................................................18
2.1.1.2
Configuring the embedded TCP/IP stack ..................................................................................................18
2.1.1.3
Saving settings for the Internet peer to be contacted.................................................................................18
2.1.1.4
Request the GPRS context to be activated ................................................................................................19
2.1.1.5
Open the connection with the internet host ...............................................................................................19
2.1.1.6
Close the Socket without deactivating the context....................................................................................19
2.1.2
Easy GPRS Incoming Connection .....................................................................................................................20
2.1.2.1
Defining the Internet Peer that can contact this device (firewall settings) ................................................20
2.1.2.2
Request the socket connection to be opened in listen ...............................................................................21
2.1.2.3
Receiving connection requests ..................................................................................................................21
2.1.3
FTP Client..........................................................................................................................................................22
2.1.4
Email Client .......................................................................................................................................................22
2.1.5
Known limitations..............................................................................................................................................22
2.2
FTP OPERATIONS .............................................................................................................................23
2.2.1
Opening and Closing an FTP Connection..........................................................................................................23
2.2.2
Setting the FTP Transfer Type...........................................................................................................................24
2.2.3
FTP File transfer to the server ...........................................................................................................................24
2.2.4
FTP File download from the server ...................................................................................................................25
2.3
Examples ...............................................................................................................................................27
2.3.1
Easy GPRS - HTTP client application ...............................................................................................................27
2.3.2
Easy GPRS - EMAIL sending application.........................................................................................................29
2.3.3
Easy GPRS -EMAIL receiving application .......................................................................................................33
2.3.4
Remote connection between two modules.........................................................................................................35
3
List of acronyms............................................................................................................................. 36
4
Document Change Log .................................................................................................................. 37