Roving Networks Bluetooth Serial Adapter Uživatelská příručka Strana 21

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 25
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 20
RN Commands Version 4.25, 11/1/2007 Page 21 of 25
809 University Avenue Los Gatos, CA 95032 1-(408) 395-6539 [email protected]
www.rovingnetworks.com
8 Example of a Master Discovery/Connection Sequence
From power up and no connection:
1) Perform an Inquiry to obtain BT_Address (unless it is already known).
Sent : $$$ // Places Radio in Command Mode
Reply:CMD<cr>
Sent : I,30<cr> // Looks forBluetooth devices
Reply:00A096112233,1F00<cr>Inquiry Done<cr
2) Store the remote address just found.
Sent : SR,00A096112233 <cr> (or just SR,I if this was the only device found ).
Reply:AOK<cr>
3) Connect.
Sent : C <cr> // Places Radio in Connect
Reply:AOK<cr>
Device will attempt connection to remote slave. “TRYING” will be displayed.
Reply:<text>CONNECT<cr> // this will be displayed once connection is made, if <text>
string is defined in the stored parameters.
4) Send /Receive data.
Zobrazit stránku 20
1 2 ... 16 17 18 19 20 21 22 23 24 25

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

Žádné komentáře