Multitech MTS2BTA-R Manual de usuario Pagina 55

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 88
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 54
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 55
OPPPUSH Object Push
This command pushes an object to the OPP server.
Format: ATOPPPUSH,<File Name>,<File Extension>,<Type>,<File Size>
Parameters: File Name: 64 characters MAX
File Extension: 3 characters MAX (Ex: .rtf .vcf)
Type: 64 characters MAX
File Size: Size of file in bytes, 65535 MAX
EXAMPLE:
TYPE: ATPIMPUSH,file,vcs,text/x-vcalendar,453<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>
OPP Server Commands Introduction
Setting the Connection Mode in ATSW25 to 7 will cause the radio to behave as an OPP Server. As the server
the radio will not initiate any connections, but will accept one connection at a time from a client. The OPP
server functionality of the module is limited: a client can push all objects to the server, but only business cards
can be pulled.
Handling OPP Server Business Card Requests
Commands
BCARDR Handle Business Card Request
This command transfers a business card file to an OPP client that has requested a business card.
This command can only be used after receiving a PULL REQUEST from the client.
Format: ATBCARDR,<File Name>,<File Extension>,<File Size>
Parameters: File Name: 64 characters MAX
File Extension: 3 characters MAX (Ex: .rtf .vcf)
File Size: Size of file in bytes, 65535 MAX
EXAMPLE:
REPLY: <cr_lf>OPP CONNECT,123456789012<cr_lf>
<cr_lf>PULL REQUEST<cr_lf>
TYPE: ATBCARDR,John Smith,vcf,227<cr>
<100 Bytes of Business Card Data>
REPLY: <cr_lf>PULL COMPLETE<cr_lf>
<cr_lf>OPP DISCONNECT<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
Note: Most devices such as PC’s and phones will rename the business card
file to <Contact’s Full Name>.<File Extension> once it has been
received.
Vista de pagina 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 87 88

Comentarios a estos manuales

Sin comentarios