Specifications

Chapter 10 – Internet Service Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 132
10.2.4 Example: Configuring and Using FTP Upload
First set up a connection profile as explained in Section 10.1.1 or Section 10.1.2. Enter at least all parameters that
are mandatory for the connection profile.
Configure the service profile 1 for FTP:
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:mypasswd@192.168.1.2/upload/example.txt”
Specify FTP address with individual user name and
password. The file “example.txt” shall be created on the FTP
server.
OK
Make an FTP connection:
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 The write command response confirms: 100 bytes must be
transferred now.
0123456789012345678901234567890123456789012 User data are transferred.
3456789012345678901234567890123456789012345
67890123456789
OK
^SISW: 1, 1 URC indicates that the FTP service is ready to transfer more data.
Data of the last at^sisw command are transferred to the remote host.
at^sisc=1,0 No more data available. The file “example.txt” shall be closed on the
FTP server. OK
^SISW: 1, 2 Data transfer finished. The connection to the FTP server is closed.
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 that 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” 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@testdomain.com Sender’s email address.
OK
at^siss=9,smRcpt,”subscriber2@testdomain.com Recipient’s email address.
OK
at^siss=9,smSubj,”Meeting Request SundayMorning” 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 AT^SISS read command. The
response includes the values of all 10 connection profiles. In this
example, no values are set for the profiles 0 through 8.
^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”
^SISS: 9, “user”, “subscriber1”