Multitech MTS2BTA-R Manual de usuario Pagina 52

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 88
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 51
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 52
FTP Server
Setting the Connection Mode in ATSW25 to 8 will cause the device to behave as an FTP Server. As the server,
the device will not initiate any connections but will accept one connection at a time from a client. The FTP
server functionality of the module is limited: the client can push files to the device, but it cannot browse for or
download files.
FTP Server Push Example Using Broadcomm Stack
Enable FTP Server Mode:
Sent: ATSW25,8,1,0,0<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATURST<cr>
On a PC, open “Bluetooth Places” and search for devices. After the device is found, double click
it and verify its service to be “OBEX FTP on <Friendly Name>”. Copy the file. Then go back to
the Bluetooth places window and paste the file on the FTP Service Icon. The PC will then make
a connection to the device, push the data, and then disconnect.
Reply: <cr_lf> FTP CONNECT,123456789012<cr_lf>
<cr_lf>PUSH START,New Text File.txt,00000039<cr_lf> //Length is in HEX
This is a test file for FTP server. <cr_lf>
Have a nice day. <cr_lf>
<cr_lf>PUSH COMPLETE<cr_lf>
<cr_lf>FTP DISCONNECT<cr_lf>
Vista de pagina 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 87 88

Comentarios a estos manuales

Sin comentarios