Download User Guide Bluetooth Intelligent Serial Module ATMP Command Set
Transcript
Page 69 of 94 BlueRadios, Inc. Copyright © 2002-2006 BR-AT_COMMANDS-100 Rev. 3.5.2.1.4.0 FTPROOT MOVE TO FTP ROOT DIRECTORY Function: This command will navigate you to the FTP root directory. Format: ATFTPROOT EXAMPLE: TYPE : ATFTPROOT<cr> REPLY: <cr_lf>OK<cr_lf> OR <cr_lf>ERROR<cr_lf> Note: The root directory is the Bluetooth Exchange Folder of the remote device. 4.1.3 FTP Push/Pull FTPPUSH FTP PUSH Function: This command transfers a file to the current FTP directory. Format: ATFTPPUSH,<File Name>,<File Extension>,<File Size>,<Trace> Parameters: File Name: 64 characters MAX File Extension: 4 characters MAX (Ex: .txt,.jpg,.html) File Size: Size of file in bytes, 4294967295 MAX Trace: 0 = Do not output transfer progress trace 1 = Output transfer progress trace Return Parameters: <Bytes Sent> EXAMPLE WITHOUT TRACE ENABLED: TYPE : ATFTPPUSH,Test,txt,100,0<cr> REPLY: <cr_lf>OK<cr_lf> TYPE : <100 Bytes of Data> REPLY: <cr_lf>PUSH COMPLETE<cr_lf> OR <cr_lf>ERROR<cr_lf> EXAMPLE WITH TRACE ENABLED: TYPE : ATFTPPUSH,Test,txt,100,1<cr> REPLY: <cr_lf>OK<cr_lf> TYPE : <100 Bytes of Data> REPLY: <cr_lf>SENT,00000001/00000064<cr_lf> <cr_lf>SENT,00000051/00000064<cr_lf> <cr_lf>PUSH COMPLETE<cr_lf> 7173 S. Havana Street, Suite 600 • Englewood, CO 80112 • Tel (303) 957-1003 • www.BlueRadios.com sales@BlueRadios.com