
Chapter 4 – Examples
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 65
- At second master device perform a Master Connection over SPP to the Bluetooth slave device.
Sent: ATDM, BT_Slave1_Address,1101<cr> // SPP connection
Reply: OK<cr_lf>
Reply: <cr_lf>CONNECT,BT_Slave1_Address <cr_lf> // Returns Slave BT address radio is in
data mode
- At third master device perform a Master Connection over SPP to the Bluetooth slave device.
Sent: ATDM, BT_Slave1_Address,1101<cr> // SPP connection
Reply: OK<cr_lf>
Reply: <cr_lf>CONNECT,BT_Slave1_Address <cr_lf> // Returns Slave BT address radio is in
data mode
- At fourth master device perform a Master Connection over SPP to the Bluetooth slave device.
Sent: ATDM, BT_Slave1_Address,1101<cr> // SPP connection
Reply: OK<cr_lf>
Reply: <cr_lf>CONNECT,BT_Slave1_Address <cr_lf> // Returns Slave BT address radio is in
data mode
Send and receive data between master and slave devices. Sending data from the slave will be sent to all four
masters. Sending data from a master device will be sent only to the slave device.
Commentaires sur ces manuels