BGS2T AT Command Set
10.13 Examples of how to Configure and Use Internet Service Profiles
BGS2T_ATC_V01.301
Page 287 of 554
1/31/12
c
10.13.7
Configuring and Using FTP Upload (URC Mode)
First set up a connection profile as explained in Section
. Enter at least all parameters
which are mandatory for the connection profile.
Configure the service profile 1 for FTP:
Make an FTP connection:
10.13.8
Configuring SMTP Service Profile
First set up a connection profile as explained in Section
. Enter at least all parameters
which are mandatory for a CSD or GPRS profile. The example uses the connection profile ID 1 and the service
profile ID 9.
at^siss=1,srvType,ftp
Select service type FTP.
OK
at^siss=1,conId,0
Select connection profile 0.
OK
at^siss=1,address,"ftpput://
myname:[email protected]/upload/exam-
ple.bin;type=i"
Specify FTP address with individual user name and
password. The file "example.bin" shall be created on
the FTP server.
OK
at^siso=1
Open the service.
OK
Bearer is established, service is getting started.
^SISW: 1,1
FTP service is ready for upload.
at^sisw=1,100
Client requests to send 100 bytes.
^SISW: 1,100,100
The write command response confirms that 100
bytes must be transferred now.
0123456789012345678901234567890123456789012
3456789012345678901234567890123456789012345
67890123456789
User data is transferred.
OK
^SISW: 1,1
URC indicates that the FTP service is ready to trans-
fer more data. Data of the last
command is
transferred to the remote host.
at^sisw=1,0,1
No more data available. The file "example.bin" shall
be closed on the FTP server.
OK
^SISW: 1,2
Data transfer finished successfully. The connection
to the FTP server is closed.
at^sisc=1
Close the FTP service.
at^siss=9,srvType,"Smtp"
Select service type SMTP.
OK
at^siss=9,alphabet,"1"
Choose ASCII alphabet.
OK
at^siss=9,conId,"1"
Select connection profile 1.
OK
at^siss=9,address,"192.168.1.2"
Specify SMTP server address.
OK
at^siss=9,user,"subscriber1"
Specify sender's user name required for SMTP
authentication.
OK
at^siss=9,passwd,"subscr1"
Specify password used by the sender for SMTP
authentication.
OK
at^siss=9,smFrom,"subscriber1@testdo-
main.com"
Sender's email address.
OK
Confidential / Released