
BGS2T AT Command Set
10.13 Examples of how to Configure and Use Internet Service Profiles
BGS2T_ATC_V01.301
Page 289 of 554
1/31/12
c
10.13.10 Sending Email (Polling Mode)
This example uses the service profile described in Section
10.13.11 Configuring POP3 Service Profile
First set up a connection profile as explained in Section
. Enter at least all parameters
which are mandatory for a GPRS profile. The example uses the connection profile ID 1 and the service profile
ID 1. The service profile is set up to retrieve a specific email (email number 2).
^SISI: 9,6,0,87,0,0
The command response confirms that the SMTP
service is in state "6" (Down) and that 87 bytes have
been transferred.
at^sisc=9
Close the service.
OK
at^siso=9
Open the service, i.e. start to send the email.
OK
at^sisw=9,10
Try to write 10 bytes.
^SISW: 9,10,0
The service response indicates that 10 bytes can be
written.
Hallo Tom!
Write 10 bytes.
OK
at^sisw=9,10
Try to write 10 bytes.
^SISW: 9,0,0
The service response indicates that the service
refuses to accept any data at the moment.
OK
at^sisw0=9,12
Try to write 12 bytes.
^SISW: 9,12,0
The service response indicates that 12 bytes can be
written.
Bye Bye Tom!
Write 12 bytes.
OK
at^sisw=9,0,1
to mark the end of the email
body.
^SISW: 9,0,0
The
is accepted by the service.
OK
at^sisi=9
Check the connection state of service profile 9.
^SISI: 9,5,0,22,0,0
The command response confirms that the SMTP
service is in state "5" (Closing) and that 22 bytes
have been written.
OK
at^sisi=9
Check the connection state of service profile 9.
^SISI: 9,6,0,22,0,0
The command response confirms that the SMTP
service is in state "6" (Down) and that 22 bytes have
been written.
OK
at^sise=9
Check error status of service profile 9.
^SISE: 9,0
The command response confirms that no error
occurred.
OK
at^sisc=9
Close the service.
OK
at^siss=1,srvType,"Pop3"
Select service type POP3.
OK
at^siss=1,conId,"1"
Select connection profile 1.
OK
at^siss=1,address,"192.168.1.2"
Specify POP3 server address.
Confidential / Released