01.02.2014 Views

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

OPPPUSH Object Push<br />

This command pushes an object to the OPP server.<br />

Format:<br />

ATOPPPUSH,,,,<br />

Parameters: File Name: 64 characters MAX<br />

File Extension: 3 characters MAX (Ex: .rtf .vcf)<br />

Type: 64 characters MAX<br />

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

EXAMPLE:<br />

TYPE: ATPIMPUSH,file,vcs,text/x-vcalendar,453<br />

REPLY: OK<br />

TYPE: <br />

REPLY: PUSH COMPLETE<br />

OR<br />

ERROR<br />

OPP Server <strong>Commands</strong> Introduction<br />

Setting the Connection Mode in ATSW25 to 7 will cause the radio to behave as an OPP Server. As the server<br />

the radio will not initiate any connections, but will accept one connection at a time from a client. The OPP<br />

server functionality of the module is limited: a client can push all objects to the server, but only business cards<br />

can be pulled.<br />

Handling OPP Server Business Card Requests<br />

<strong>Commands</strong><br />

BCARDR Handle Business Card Request<br />

This command transfers a business card file to an OPP client that has requested a business card.<br />

This command can only be used after receiving a PULL REQUEST from the client.<br />

Format:<br />

ATBCARDR,,,<br />

Parameters: File Name: 64 characters MAX<br />

File Extension: 3 characters MAX (Ex: .rtf .vcf)<br />

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

EXAMPLE:<br />

REPLY: OPP CONNECT,123456789012<br />

PULL REQUEST<br />

TYPE: ATBCARDR,John Smith,vcf,227<br />

<br />

REPLY: PULL COMPLETE<br />

OPP DISCONNECT<br />

OR<br />

ERROR<br />

Note:<br />

Most devices such as PC’s and phones will rename the business card<br />

file to . once it has been<br />

received.<br />

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

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

Saved successfully!

Ooh no, something went wrong!