BGS2T AT Command Set
10.13 Examples of how to Configure and Use Internet Service Profiles
BGS2T_ATC_V01.301
Page 288 of 554
1/31/12
c
10.13.9
Sending Email (URC Mode)
This example uses the service profile described in Section
at^siss=9,smRcpt,"subscriber2@testdo-
main.com"
Recipient's email address.
OK
at^siss=9,smSubj,"Meeting Request Sunday
Morning"
Enter text for subject field.
OK
at^siss=9,smAuth,"1"
Sender name and password can be used for SMTP
authentication.
OK
at^siss?
To check the profile enter the
read com-
mand. The response includes the values of all 10
connection profiles. In this example, no values are
set for the profiles 0 through 8. Service profile 9 con-
tains the values specified above and the values auto-
matically assumed by default.
^SISS: 0,"srvType",""
^SISS: 1,"srvType",""
^SISS: 2,"srvType",""
^SISS: 3,"srvType",""
^SISS: 4,"srvType",""
^SISS: 6,"srvType",""
^SISS: 7,"srvType",""
^SISS: 8,"srvType",""
^SISS: 9,"srvType","Smtp"
^SISS: 9,"conId","1"
^SISS: 9,"alphabet","1"
^SISS: 9,"address","192.168.1.2"
^SISS: 9,"user","subscriber1"
^SISS: 9,"passwd","*******"
^SISS: 9,"smFrom","[email protected]"
^SISS: 9,"smRcpt","[email protected]"
^SISS: 9,"smCC",""
^SISS: 9,"smSubj","Meeting Request Sunday Morning"
^SISS: 9,"smHdr",""
^SISS: 9,"tcPort","25"
Default: TCP port number commonly used for SMTP.
^SISS: 9,"smAuth","1"
^SISS: 9,"tcpMR","10"
Default: Number of retransmission attempts for TCP
packets is 10 (= default of
).
^SISS: 9,"tcpOT","6000"
Default: Timeout before closing outstanding TCP
connection is 6000 sec (= default of
).
OK
at^siso=9
Open the service, i.e. start to send the email.
OK
^SISW: 9,1
The "
" URC indicates that email data can be
transferred.
at^sisw=9,87
The email to be sent has 87 bytes.
^SISW: 9,87,87
The write command response confirms that 87 bytes
are available for transmission.
Good Morning everyone, we are delighted to
announce our next meeting on Sunday morning.
Write the message text.
OK
at^sisw=9,0,1
to mark the end of the email
body.
^SISW: 9,0,0
The
is accepted by the service.
^SISW: 9,2
The "
" URC confirms that all data is sent suc-
cessfully.
at^sisi=9
Check the connection state of the service profile 9.
Confidential / Released