01.02.2014 Views

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

DL Dial Last<br />

This command connects to last successful Slave <strong>Bluetooth</strong> address connection over SPP unless ATDM<br />

command was executed then the UUID from the ATDM command will be used.<br />

Format: ATDL<br />

Return Parameters: or <br />

Point-to-Point Example:<br />

TYPE:<br />

REPLY:<br />

ATDL<br />

OK<br />

CONNECT,123456789012<br />

OR<br />

OK<br />

PAIRED,123456789012<br />

CONNECT,123456789012<br />

OR<br />

OK<br />

NO ANSWER<br />

OR<br />

ERROR<br />

// if security is enabled<br />

// if device not present<br />

Multi-Point Example:<br />

TYPE:<br />

ATDL<br />

REPLY:<br />

OK<br />

CONNECT,00,123456789012<br />

OR<br />

OK<br />

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

CONNECT,123456789012<br />

OR<br />

OK<br />

NO ANSWER // if device not present<br />

OR<br />

ERROR<br />

Notes:<br />

• To verify the stored address use the ATLAST command below.<br />

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

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 PC that has not yet been paired<br />

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

CONNECT.<br />

LAST Read Last Address<br />

Gets the last connected <strong>Bluetooth</strong> device address.<br />

Format: ATLAST<br />

Return Parameters: <br />

EXAMPLE:<br />

TYPE:<br />

ATLAST<br />

REPLY:<br />

OK<br />

000000000000 // Nothing stored<br />

OR<br />

OK<br />

123456789012<br />

// Last connected BT address<br />

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

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

Saved successfully!

Ooh no, something went wrong!