Example: Sending Email Over Gprs - Siemens TC63 Command Set

Cellular engine
Table of Contents

Advertisement

TC63 AT Command Set
10.2 AT^SISS
^SISW: 1, 1
at^sisw=1,100
^SISW: 1, 100
0123456789012345678901234567890123456789012
3456789012345678901234567890123456789012345
67890123456789
OK
^SISW: 1, 1
at^sisc=1,0
OK
^SISW: 1, 2
10.2.5

Example: Sending Email over GPRS

First set up a connection profile as explained in Section 10.1.2. Enter at least all parameters which are mandatory
for a GPRS profile. The example uses the connection profile ID 0 and the service profile ID 9.
at^siss=9,srvType,"SMTP"
OK
at^siss=9,alphabet,"1"
OK
at^siss=9,conId,"1"
OK
at^siss=9,address,"192.168.1.2"
OK
at^siss=9,user,"subscriber1"
OK
at^siss=9,passwd,"subscr1"
OK
at^siss=9,smFrom,"subscriber1@testdo-
main.com"
OK
at^siss=9,smRcpt,"subscriber2@testdo-
main.com"
OK
at^siss=9,smSubj,"Meeting Request Sunday
Morning"
OK
at^siss=9,smAuth,"1"
OK
at^siss?
^SISS: 0, "svrType", ""
^SISS: 1, "svrType", ""
^SISS: 2, "svrType", ""
^SISS: 3, "svrType", ""
^SISS: 4, "svrType", ""
^SISS: 6, "svrType", ""
^SISS: 7, "svrType", ""
^SISS: 8, "svrType", ""
^SISS: 9, "svrType", "Smtp"
^SISS: 9, "conId", "0"
^SISS: 9, "alphabet", "1"
^SISS: 9, "address", "192.168.1.2"
TC63_ATC_V00.490
Confidential / Draft - Do not copy
FTP service is ready for upload.
Client requests to send 100 bytes.
The write command response confirms that 100
bytes must be transferred now.
User data are transferred.
URC indicates that the FTP service is ready to trans-
fer more data. Data of the last at^sisw command are
transferred to the remote host.
No more data available. The file "example.txt" shall
be closed on the FTP server.
Data transfer finished. The connection to the FTP
server is closed.
Select service type SMTP.
Choose ASCII alphabet.
Select connection profile 1.
Specify SMTP server address.
Specify sender's user name required for SMTP
authentication.
Specify password used by the sender for SMTP
authentication.
Sender's email address.
Recipient's email address.
Enter text for subject field.
Sender name and password can be used for SMTP
authentication.
To check the profile enter the
mand. The response includes the values of all 10
connection profiles. In this example, no values are
set for the profiles 0 through 8.
Page 252 of 501
s
read com-
AT^SISS
5/24/05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents