22.01.2015 Views

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

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>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

<br />

The error code of FTP operation.<br />

Examples<br />

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

OK<br />

+CFTPGET: D<strong>AT</strong>A, 1020,<br />

…<br />

+CFTPGET: D<strong>AT</strong>A, 1058,<br />

…<br />

…<br />

+CFTPGET: 0<br />

<strong>AT</strong>+CFTPGET={non-ascii}”/2F74657374646972/B2E2CAD42E747874”<br />

OK<br />

+CFTPGET: D<strong>AT</strong>A, 1020,<br />

…<br />

+CFTPGET: 0<br />

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

+CFTPGET: [{non-ascii}]“FILEP<strong>AT</strong>H” [,(0-2147483647)]<br />

OK<br />

21.3.10 <strong>AT</strong>+CFTPPUT Put a file to FTP server<br />

Description<br />

The <strong>command</strong> is used to put a file to FTP server using the data got from serial port. Each <br />

character present in the data flow of serial port when downloading FTP data will be coded as<br />

. Each character will be coded as . Single means<br />

end of the FTP data.<br />

is 0x03, and is 0x1A.<br />

SIM PIN References<br />

YES Vendor<br />

Syntax<br />

Test Command<br />

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

Execution Command<br />

<strong>AT</strong>+CFTPPUT=“”<br />

[,]<br />

Responses<br />

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

s)]<br />

OK<br />

Responses<br />

+CFTPPUT: BEGIN<br />

OK<br />

<strong>SIM5218</strong>_Serial _<strong>AT</strong>C_V1.36 436<br />

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!