01.02.2014 Views

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 2 – AT <strong>Commands</strong><br />

FTP Push/Pull <strong>Commands</strong><br />

FTPPUSH FTP Push<br />

This command transfers a file to the current FTP directory.<br />

Format:<br />

ATFTPPUSH,,,,<br />

Parameters:<br />

File Name: 64 characters MAX<br />

File Extension: 4 characters MAX (Ex: .txt,.jpg,.html)<br />

File Size: Size of file in bytes, 4294967295 MAX<br />

Trace:<br />

0 = Do not output transfer progress trace<br />

1 = Output transfer progress trace<br />

Return Parameters: <br />

EXAMPLE WITHOUT TRACE ENABLED:<br />

TYPE: ATFTPPUSH,Test,txt,100,0<br />

REPLY: OK<br />

TYPE: <br />

REPLY: PUSH COMPLETE<br />

OR<br />

ERROR<br />

EXAMPLE WITH TRACE ENABLED:<br />

TYPE: ATFTPPUSH,Test,txt,100,1<br />

REPLY: OK<br />

TYPE: <br />

REPLY: SENT,00000001/00000064<br />

SENT,00000051/00000064<br />

PUSH COMPLETE<br />

OR<br />

ERROR<br />

Notes:<br />

If the name of the file matches an existing file in the current FTP<br />

directory it will be overwritten without warning.<br />

FTPPULL FTP Pull<br />

This command reads a file from the current FTP directory.<br />

Format:<br />

ATFTPPULL,,<br />

Parameters:<br />

File Name: 64 characters MAX<br />

File Extension: 4 characters MAX (Ex: .txt,.jpg,.html)<br />

Return Parameters: ,<br />

EXAMPLE:<br />

TYPE: ATFTPPULL,Test,txt<br />

REPLY: OK<br />

cr_lf>File,001E,012345678901234567890123456789<br />

PULL COMPLETE<br />

OR<br />

ERROR<br />

Multi-Tech Systems, Inc. SocketWireless <strong>Bluetooth</strong> AT <strong>Commands</strong> (S000360G) 53

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

Saved successfully!

Ooh no, something went wrong!