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 4 – Examples<br />

- At second master device perform a Master Connection over SPP to the <strong>Bluetooth</strong> slave device.<br />

Sent: ATDM, BT_Slave1_Address,1101 // SPP connection<br />

Reply: OK<br />

Reply: CONNECT,BT_Slave1_Address // Returns Slave BT address radio is in<br />

data mode<br />

- At third master device perform a Master Connection over SPP to the <strong>Bluetooth</strong> slave device.<br />

Sent: ATDM, BT_Slave1_Address,1101 // SPP connection<br />

Reply: OK<br />

Reply: CONNECT,BT_Slave1_Address // Returns Slave BT address radio is in<br />

data mode<br />

- At fourth master device perform a Master Connection over SPP to the <strong>Bluetooth</strong> slave device.<br />

Sent: ATDM, BT_Slave1_Address,1101 // SPP connection<br />

Reply: OK<br />

Reply: CONNECT,BT_Slave1_Address // Returns Slave BT address radio is in<br />

data mode<br />

Send and receive data between master and slave devices. Sending data from the slave will be sent to all four<br />

masters. Sending data from a master device will be sent only to the slave device.<br />

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

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

Saved successfully!

Ooh no, something went wrong!