background image

 
 
 
 

 

 

Easy GPRS User Guide 

80000ST10028 Rev. 0 - 02/01/07  

  

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved 

 

page 13 of 35 

 

1.3  GPRS context activation and data state entering 

 
This operation corresponds to the dial and connect of a CSD GSM data call issued to an internet 
service provider. 
 

• 

send command 

 

 

ATD*99***<cid>#<cr>

 

 

where:  
 

<cid> 

- is the index number of the desired context to be used (up to 5 different context)

 

 

• 

wait for response: 

 

Response 

Reason 

Action 

CONNECT 

 GPRS connection is being 

processed 

proceed ahead with the 

authentication & Packed data 

protocol 

ERROR 

some error occurred 

check context parameters and 

retry. See par. 1.2.1, 1.2.2, 

1.2.3 

check also Network registration 

status. 

 

+CME ERROR: <error code> 

 

some error occurred 

check context parameters and 

retry. See par. 1.2.1, 1.2.2, 

1.2.3 

check also Network registration 

status. 

 

 

For example: 

 
1- Let's assume you want to activate and enter the GPRS state with context number 1(cid) written 
before with your GPRS requested QoS parameters: 

 
command: 

ATD*99***1# <cr> 

response 

CONNECT 
 
At this point, your application should start the PPP protocol with the LCP Exchange phase: 
 

Î

 LCP Configure Request 

Summary of Contents for GE864-PY

Page 1: ...Easy GPRS User Guide 80000ST10028 Rev 0 02 01 07...

Page 2: ...863 GPS 3 990 250 660 GT863 PY 3 990 250 466 GM862 QUAD 3 990 250 655 GM862 QUAD PY 3 990 250 656 GM862 QUAD 3 990 250 659 GM862 QUAD PY 3 990 250 658 GE864 QUAD 3 990 250 675 GE864 PY 3 990 250 676 G...

Page 3: ...the Internet peer to be contacted 17 2 1 1 4 Request the GPRS context to be activated 18 2 1 1 5 Open the connection with the internet host 18 2 1 1 6 Close the Socket without deactivating the context...

Page 4: ...s In CSD operations the modem establishes a connection with the other party another modem in such a way that all the Network devices in between are transparent to the data exchanged simulating a real...

Page 5: ...ad an internet tunneling must be done to achieve a point to point connection between two peers This approach as the immediate advantage of projecting the controlling application of the GPRS modem dire...

Page 6: ...ress the internet address is assigned by the ISP dynamically then when the GPRS context of the device is not activated it has no address and therefore it cannot be reached by internet requests The sam...

Page 7: ...e unit is always connected to the internet taking advance of the features of the GPRS system when it needs to send data to the server application it simply fills the TCP IP packets for the server with...

Page 8: ...tocol type a string parameter which specifies the type of packet data protocol IP Internet Protocol PPP Point to Point Protocol APN Access Point Name a string parameter that represents logical name us...

Page 9: ...NT 1 IP ibox tim it 0 0 0 0 0 0 cr response OK 1 2 2 Minimum Quality of the Service Requested The minimum quality of service requested parameters represent the boundary under which the connection qual...

Page 10: ...lass 3 unacknowledged GTP and LLC acknowledged RLC protected data 4 reliability class 4 unacknowledged GTP LLC and RLC protected data 5 reliability class 5 unacknowledged GTP LLC and RLC unprotected d...

Page 11: ...l try reducing your minimum quality requirements For example 1 Let s assume you want to set up the GPRS context number 1 cid written before with your GPRS min QoS parameters Precedence class Normal pr...

Page 12: ...e the same values as in the previous section wait for response Response Reason Action OK context parameters have been successfully stored proceed ahead ERROR some error occurred check parameters and r...

Page 13: ...Action CONNECT GPRS connection is being processed proceed ahead with the authentication Packed data protocol ERROR some error occurred check context parameters and retry See par 1 2 1 1 2 2 1 2 3 che...

Page 14: ...P IP PPP protocol stack is up and data packets can be exchanged NOTE Explanation of TCP IP and PPP protocol stack is beyond the scope of this document Further information on the LCP protocol and PPP p...

Page 15: ...IER response or in alternative send escape sequence wait for 2s default silence time wait for response Response Reason Action OK Telit module is in command mode now proceed ahead ERROR some error occu...

Page 16: ......

Page 17: ...CM some AT commands are provided to configure the Data Module Internet stack and to start up the data traffic In data traffic mode Socket Mode SKTM the client can send receive a raw data stream which...

Page 18: ...to the device 2 1 1 5 Open the connection with the internet host With the AT command SKTD socket Dial the TCP UDP request to connect with the internet host starts DNS query is done to resolve the IP...

Page 19: ...hat can contact this device firewall settings see par 2 1 2 1 request the GPRS context to be activated see par 2 1 1 4 request the socket connection to be opened in listen see par 2 1 2 2 receive conn...

Page 20: ...ernet hosts The parameters that shall be specified are the local port where packets shall be received the type of socket and the closing behaviour 2 1 2 3 Receiving connection requests Once the connec...

Page 21: ...his permits sending and receiving Emails on your embedded device To get more information on system settings and AT commands available for email client please consult the examples in the section 2 2 an...

Page 22: ...hundreds of ms factory default is 100 NOTE The parameter is not saved in NVM NOTE if parameter tout is omitted the behaviour of Set command is the same as Read command Example AT FTPTO 1000 cr set th...

Page 23: ...ver With the command AT FTPPUT filename to issued during an FTP connection is possible to open a data connection and starts sending filename file to the FTP server If the data connection succeeds a CO...

Page 24: ...t AT FTPPUT file txt cr CONNECT send the file escape sequence to close the data connection NOCARRIER AT FTPCLOSE cr closing FTP connection OK Deactivation of GPRS context if required AT GPRS 0 cr OK 2...

Page 25: ...this case port of FTP server is not specified which means that it has the default value 21 AT FTPTYPE 0 cr FTP settings of file type OK AT FTPCWD incoming change working directory if requiered OK In o...

Page 26: ...the port 80 is dedicated for HTTP service therefore our HTTP server will be waiting for incoming connections on that port and we will fix the EASY GPRS port to be contacted on the remote server exactl...

Page 27: ...lit com 0 0 When we receive the CONNECT indication then we are exchanging data with the HTTP server program on the remote host machine Now following the HTTP protocol we ask for the homepage by sendin...

Page 28: ...ed by the network USERID EASY GPRS PASSWORD EASY GPRS Checking on the RFC990 the SMTP service we can found that the port 25 is dedicated for SMTP service therefore our SMTP server will be waiting for...

Page 29: ...dication then we are exchanging data with the SMTP server program on the remote host machine Following the SMTP protocol we proceed with the HELLO presentation and mail delivery directly over the seri...

Page 30: ...1000 1 0 1111 0 cr lf Importance Normal cr lf X MimeOLE Produced By GM862 TEST SW cr lf cr lf Content Type text plain cr lf charset iso 8859 1 cr lf Content Transfer Encoding 7bit cr lf cr lf This me...

Page 31: ...have all the information needed to configure our system With our microcontroller we can now issue to the Telit module the following AT commands AT CGDCONT 1 IP internet gprs 0 0 0 0 0 0 cr 1 GPRS cont...

Page 32: ...e connection between two modules Configuration for the module that receives data server Define PDP Context AT CGDCONT 1 IP ibox tim it 0 0 0 0 GPRS Context Activation AT GPRS 1 Firewall Setup if requi...

Page 33: ...S 1 Socket Dial AT SKTD 0 1024 217 201 142 223 First you have to define PDP context filling in the information of APN in this example ibox tim it Next step is activation of GPRS context which gives as...

Page 34: ...munication GTP GPRS Tunneling Protocol HTML Hyper Text Markup Language HTTP Hypertext Transfer Protocol HSCSD High Speed Circuit Switched Data IP Internet Protocol ISDN Integrated Services Digital Net...

Page 35: ...80000ST10028 Rev 0 02 01 07 Reproduction forbidden without Telit Communications S p A written authorization All Rights Reserved page 35 of 35 4 Document Change Log Revision Date Changes ISSUE 0 02 01...

Reviews: