13.02.2014 Views

AT Commands Set

AT Commands Set

AT Commands 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.

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

Syntax<br />

Test Command<br />

<strong>AT</strong>+CFTPPUTFILE=?<br />

Write Command<br />

<strong>AT</strong>+CFTPPUTFILE=<br />

“”,[,]<br />

Responses<br />

+CFTPPPUTFILE: [{non-ascii}] “FILEP<strong>AT</strong>H”, (list of supported<br />

s)[, (list of supported s)]<br />

OK<br />

Responses<br />

OK<br />

+CFTPPUTFILE: 0<br />

+CME ERROR<br />

OK<br />

+CFTPPUTFILE: <br />

Defined values<br />

<br />

The remote file path. When the file path doesn’t contain “/”, this command transfers file to the<br />

current remote FTP directory. If the file path contains non-ASCII characters, the file path parameter<br />

should contain a prefix of {non-ascii}.<br />

<br />

The directory that contains the file to be uploaded (For SIM5320, Only 0 is valid):<br />

0 – current directory [refer to <strong>AT</strong>+FSCD]<br />

1 – “C:/Picture” directory<br />

2 – “C:/Video” directory<br />

3 – “C:/VideoCall” directory<br />

4 – “D:/Picture” directory<br />

5 – “D:/Video” directory<br />

6 – “D:/VideoCall” directory<br />

7 – “C:/Audio” directory<br />

8 – “D:/Audio” directory<br />

<br />

The value for FTP “REST” command which is used for broken transfer when transferring failed last<br />

time. It’s range is 0 to 2147483647.<br />

<br />

The error code of FTP operation.<br />

Examples<br />

<strong>AT</strong>+CFTPPUTFILE=”/pub/mydir/test1.txt”,0, 10<br />

OK<br />

<strong>AT</strong>+CFTPPUTFILE=” test2.txt”,0<br />

OK<br />

…<br />

+CFTPPUTFILE: 0<br />

SIM5320_<strong>AT</strong>C_V1.24 392<br />

8/14/2012

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

Saved successfully!

Ooh no, something went wrong!