EasyManua.ls Logo

Serialio BlueSnapXP - Example of a Master Discovery;Connection Sequence

Default Icon
27 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BlueSnap Commands Version 4.81SIO, 1/20/2016 Page 20 of
27
Cedar Park, TX, USA (512) 994-3630 sales@serialio.com www.serialio.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.