
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 49
• If the remote slave device is not present or the service is not available, FTP NO
ANSWER will reply after the master connect timeout and you will have to try again.
• If security is enabled and the device is connecting to a laptop that has not yet been
paired with it, the <cr_lf>PAIRED,12345678912<cr_lf> message may return twice prior to
the FTPC CONNECT.
• By default, you will be located in the Bluetooth Exchange Folder of the remote device;
this will be the root directory.
• After making an FTP connection, the device will still be in command mode, not data
mode.
DHFTP Dial Hang Up FTP
This command will disconnect the current FTP connection.
Format: ATDHFTP
EXAMPLE:
TYPE: ATDHFTP
REPLY: <cr_lf>OK<cr_lf>
<cr_lf>FTP DISCONNECT<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
FTP Directory Navigation Commands
FTPB FTP Browse
This command returns an XML file displaying the contents of the current FTP directory.
Format: ATFTPB
Return Parameters: <XML Directory Information>
EXAMPLE:
TYPE: ATFTPB
REPLY: <cr_lf>OK<cr_lf>
<?xml version="1.0"?><lf>
<!DOCTYPE folder-listing SYSTEM "obex-folder-
listing.dtd"><lf>
<folder-listing version="1.0"><lf>
<folder name="Test Folder" size="0" user-perm="RWD"
modified="20060828T203109Z"
created="20060828T203018Z"
accessed="20060828T203110Z"/><lf>
<file name="TestFile0.txt" size="1" user-perm="RWD"
modified="20060828T203058Z"
created="20060828T203040Z"
accessed="20060828T203058Z"/><lf>
</folder-listing><lf><NULL><NULL>
<cr_lf>BROWSE COMPLETE<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
Note: There are two NULL characters at the end of the XML file after the
</folder-listing> element.
Comentarios a estos manuales