Multitech MTS2BTA-R Uživatelský manuál Strana 63

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 88
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 62
Chapter 4 – Examples
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 63
- Perform a Master Connection over SPP to the first Bluetooth slave device.
Sent: ATDM, BT_Slave1_Address,1101<cr> // SPP connection
Reply: OK<cr_lf>
Reply: <cr_lf>CONNECT,00,BT_Slave1_Address <cr_lf> // Returns Slave BT address radio is in
data mode
- Place radio back into Data Mode.
Sent: +++ <cr> // Places Radio in Command Mode
Reply: <cr_lf>OK<cr_lf>
- Perform a Master Connection over SPP to the second Bluetooth slave device.
Sent: ATDM, BT_Slave2_Address,1101<cr> // SPP connection
Reply: OK<cr_lf>
Reply: <cr_lf>CONNECT,01,BT_Slave2_Address <cr_lf> // Returns Slave BT address radio is in
data mode
- Place radio back into Data Mode.
Sent: +++ <cr> // Places Radio in Command Mode
Reply: <cr_lf>OK<cr_lf>
- Perform a Master Connection over SPP to the third Bluetooth slave device.
Sent: ATDM, BT_Slave3_Address,1101<cr> // SPP connection
Reply: OK<cr_lf>
Reply: <cr_lf>CONNECT,02,BT_Slave3_Address <cr_lf> // Returns Slave BT address radio is in
data mode
- Place radio back into Data Mode.
Sent : +++ <cr> // Places Radio in Command Mode
Reply: <cr_lf>OK<cr_lf>
- Perform a Master Connection over SPP to the fourth Bluetooth slave device.
Sent: ATDM, BT_Slave4_Address,1101<cr> // SPP connection
Reply: OK<cr_lf>
Reply: <cr_lf>CONNECT,03,BT_Slave4_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 master will be sent to all four
slaves. Sending data from a slave will be sent only to the master.
Zobrazit stránku 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 87 88

Komentáře k této Příručce

Žádné komentáře