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

Connect As Slave Command<br />

Note: If either the slave or the master of the connection issues a disconnect, the module will output<br />

“DISCONNECT.” If a connection is lost unexpectedly, then “LINKLOSS” will be output.<br />

DS Dial as Slave<br />

This command places the Radio in Slave mode where it waits for a connection to occur from a Master.<br />

Format:<br />

ATDS<br />

Return Parameter: OK<br />

EXAMPLE SLAVE:<br />

TYPE:<br />

ATDS<br />

REPLY:<br />

OK<br />

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

DH Dial Hang Up<br />

This command will disconnect the current connection on channel 0.<br />

Format:<br />

ATDH<br />

EXAMPLE:<br />

TYPE:<br />

ATDH<br />

REPLY:<br />

OK<br />

DISCONNECT<br />

OR<br />

ERROR<br />

Notes:<br />

• If you send this command over the RF link to a remote Multi-Tech Slave, the Slave will<br />

disconnect and go into Idle mode not Slave mode by design.<br />

• If a connection should unexpectedly be lost, the response will be<br />

LINKLOSS instead of DISCONNECT.<br />

DHC Dial Hang Up by Channel<br />

This command will issue disconnect to the specified channel.<br />

Format:<br />

ATDHC,<br />

EXAMPLE:<br />

TYPE:<br />

ATDHC,00<br />

REPLY:<br />

OK<br />

DISCONNECT,00<br />

OR<br />

ERROR<br />

Notes:<br />

• If you send this command over the RF link to a remote Multi-Tech Slave, the Slave will<br />

disconnect and go into Idle mode not Slave mode by design.<br />

• If a connection should unexpectedly be lost, the response will be<br />

LINKLOSS,00 instead of DISCONNECT,00.<br />

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

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

Saved successfully!

Ooh no, something went wrong!