30.06.2014 Views

MC52i AT Command Set

MC52i AT Command Set

MC52i AT Command Set

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MC52i</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

<br />

10.12 Examples of how to Configure and Use Internet Service Profiles<br />

^SISR: 1, 50<br />

hardware<br />

inttest<br />

software<br />

support<br />

systemtest<br />

OK<br />

^SISR: 1, 2<br />

at^sisc=1<br />

OK<br />

50 bytes are now available.<br />

Data transfer finished. No more data available. The<br />

connection to the FTP server is closed.<br />

Close the service.<br />

10.12.7 Configuring and Using FTP Upload (URC Mode)<br />

First set up a connection profile as explained in Section 10.1.1 or Section 10.1.2. Enter at least all parameters<br />

which are mandatory for the connection profile.<br />

Configure the service profile 1 for FTP:<br />

at^siss=1,srvType,ftp<br />

Select service type FTP.<br />

OK<br />

at^siss=1,conId,0 Select connection profile 0.<br />

OK<br />

at^siss=1,address,"ftpput://<br />

myname:mypasswd@192.168.1.2/upload/example.bin;type=i"<br />

OK<br />

Make an FTP connection:<br />

Specify FTP address with individual user name and<br />

password. The file "example.bin" shall be created on<br />

the FTP server.<br />

at^siso=1<br />

Open the service.<br />

OK<br />

Bearer is established, service is getting started.<br />

^SISW: 1, 1<br />

FTP service is ready for upload.<br />

at^sisw=1,100<br />

Client requests to send 100 bytes.<br />

^SISW: 1,100,100 The write command response confirms that 100<br />

bytes must be transferred now.<br />

0123456789012345678901234567890123456789012 User data is transferred.<br />

3456789012345678901234567890123456789012345<br />

67890123456789<br />

OK<br />

^SISW: 1, 1<br />

URC indicates that the FTP service is ready to transfer<br />

more data. Data of the last <strong>AT</strong>^SISW command is<br />

transferred to the remote host.<br />

at^sisw=1,0,1<br />

OK<br />

^SISW: 1, 2<br />

at^sisc=1<br />

No more data available. The file "example.bin" shall<br />

be closed on the FTP server.<br />

Data transfer finished successfully. The connection<br />

to the FTP server is closed.<br />

Close the FTP service.<br />

10.12.8 Configuring SMPT Service Profile<br />

First set up a connection profile as explained in Section 10.1.1 or Section 10.1.2. Enter at least all parameters<br />

which are mandatory for a CSD or GPRS profile. The example uses the connection profile ID 1 and the service<br />

profile ID 9.<br />

at^siss=9,srvType,"Smtp"<br />

OK<br />

Select service type SMTP.<br />

<strong>MC52i</strong>_<strong>AT</strong>C_V01.201 Page 268 of 551 4/16/10<br />

Confidential / Released

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!