Telit Wireless Solutions Easy GPRS User Manual

Page 32

Advertising
background image





Easy GPRS User Guide

80000ST10028 Rev. 1 - 14/03/07

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

page 32 of 37

2) Using only AT commands is with the following sequence of commands issued to the Telit
module:


AT+CGDCONT=1,"IP","internet.gprs","0.0.0.0",0,0<cr>

(1-GPRS context setting)

AT#USERID = "EASY GPRS"<cr>

(2-Authentication setting)

AT#PASSW

=

"EASY

GPRS"<cr>

(3-Authentication setting)

AT#ESMTP

=

"smtp.domain.com"<cr>

(4-SMTP server setting)

AT#EUSER = "[email protected]"<cr>

(5-Authentication

setting)

AT#EPASSW = "telit"<cr>

(6-Authentication

setting)

AT#EADDR=

"[email protected]"<cr>

(7-Sender address setting)

AT#ESAV

(8-save

settings)


NOTE: Authentication settings could be different between GPRS and SMTP. This is due to the
fact that in the GPRS authentication it is requested user and password of your internet
provider, instead of the SMTP authentication where user and password is used to connect to
the SMTP server.



Now we need to activate the GPRS context

2

:

AT#EMAILACT=1

This AT command gives as response the IP address of the module assigned by the network.

After receiving the OK indication, we can finally send an EMAIL:

AT#EMAILD="[email protected]","Email test",0

this message is sent in order to test the Easy GPRS feature. Hello World!

CTRL-Z


3) Using AT command that activates and deactivates automatically GPRS contest. This is the best
solution in case you need to send only one email. The sequence of AT commands to be issued to
the Telit module is the following:


AT+CGDCONT=1,"IP","internet.gprs","0.0.0.0",0,0<cr>

(1-GPRS context setting)

AT#USERID = "EASY GPRS"<cr>

(2-Authentication setting)

AT#PASSW

=

"EASY

GPRS"<cr>

(3-Authentication setting)

AT#ESMTP

=

"smtp.domain.com"<cr>

(4-SMTP server setting)

AT#EUSER = "[email protected]"<cr>

(5-Authentication

setting)

AT#EPASSW = "telit"<cr>

(6-Authentication

setting)

AT#EADDR=

"[email protected]"<cr>

(7-Sender address setting)

AT#ESAV

(8-save

settings)

2

NOTE: In case you choose this method to send an email you can note that GPRS context will be activated with

AT command different from the first method so please make sure that AT#GPRS=0

Advertising