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 />

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

The following OPP (Object Push Profile) commands allow the radio to be used as an OPP client, enabling it<br />

to manipulate files on an OPP server. As the client, the device will initiate the connection with the server;<br />

e.g., a PC, PDA, or cell phone. After making a connection, the device can push and pull objects.<br />

Note: To achieve the maximum data throughput of 30kbps in OPP client mode, execute an ATUCL<br />

command prior to making an OPP connection to put the radio in idle mode. If the radio is not in idle mode,<br />

the data throughput will be approximately 15kbps.<br />

OPP Connect/Disconnect <strong>Commands</strong><br />

DOPP Dial OPP<br />

This command creates a connection to the OPP service on a remote device. Once this command<br />

has been sent, the device cannot make any other connection until the OPP connection is<br />

disconnected.<br />

Format:<br />

ATDOPP,<br />

Parameters: BT Address: <strong>Bluetooth</strong> Address, 12 hex characters MAX<br />

Return Parameters: <br />

EXAMPLE:<br />

TYPE:<br />

REPLY:<br />

ATDOPP,123456789012<br />

OK<br />

OPP CONNECT,123456789012<br />

OR<br />

OK<br />

PAIRED,123456789012 // if security is<br />

enabled<br />

OPP CONNECT,123456789012<br />

OR<br />

OK<br />

OPP NO ANSWER<br />

// if device not present<br />

Notes:<br />

• If the remote slave device is not present or the service is not available, OPP NO<br />

ANSWER will reply after the master connect timeout and you will have to try again.<br />

• If security is enabled and the radio is connecting to a laptop that has not yet been<br />

paired with it, the PAIRED,12345678912 message may return twice prior<br />

to the OPP CONNECT.<br />

• By default you will be located in the <strong>Bluetooth</strong> Exchange Folder of the remote device,<br />

this will be the root directory.<br />

• After making an OPP connection the radio will still be in command mode, not data<br />

mode.<br />

DHOPP Dial Hang Up OPP<br />

This command will disconnect the current OPP connection.<br />

Format:<br />

ATDHOPP<br />

EXAMPLE:<br />

TYPE: ATDHOPP<br />

REPLY: OK<br />

OPP DISCONNECT<br />

OR<br />

ERROR<br />

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

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

Saved successfully!

Ooh no, something went wrong!