
Advanced User Manual
www.rovingnetworks.com
rn-bluetooth-um Version 4.77 11/21/2009
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 23 ~
9
Discovery and Connection
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.
Using PIOs/ Switches for Auto-pairing and Auto-Connection
PIO3 PIO6 Function
low low default slave, no special function.
high low slave, changes COD to 0x0055aa for auto pairing.
low high auto master, uses STORED address....... does not try auto pairing.
high high auto master, auto pairing, looks for first device with 0x55aa stores it, and
connects to it.
To enable cable replacement, set PIO3 high on slave, PIO3 + PIO6 high on master.
Once paired, PIO3 = low on both devices (so re-pairing with another roving device does not
occur)
( PIO3 = DIP Switch 2, PIO6 = Dip Switch 3 on Firefly and Blueport )
Comentários a estes Manuais