Baracoda RoadRunners Laser Supplementary Manual page 23

Communication-protocol
Hide thumbs Also See for RoadRunners Laser:
Table of Contents

Advertisement

RoadRunners – Communication Protocol
When setting only MinSniff and MaxSniff values, the default value 0x08 will be used for Sniff attempts
and Sniff timeout.
Typically values:
Full speed (full power)
MinSniff = 0
MaxSniff = 0
Low Power: (sniff of 500ms Only) (low speed)
MinSniff = 0x0320
MaxSniff = 0x0320
Low Power: (sniff between 250ms to 500ms are acepted) (low speed)
MinSniff = 0x0160
MaxSniff = 0x0320
MaxSniff and MinSniff are only used for sniff negociation. If both sides allow sniff value MaxSniff, then
MaxSniff will be used. If the other side does not accept Sniff values MinSniff to MaxSniff, no sniff will
be used.
Values are in number of Bluetooth slots (1 slot = 625µs)
Set MinSniff and MaxSniff to 0 to disable Sniff.
MinSniff must be inferior to MaxSniff.
Possible values for MinSniff and MaxSniff are 0x12 to 0xFF.
Sniff attempts of 0 is not allowed.
Warning: Setting MaxSniff to 0xFF means a sniff period of 40s! You will have very very low data rate.
Also, setting MinSniff to 0x12 means that you will have 0x12 Bluetooth slots to transmit data.
Note: This setting takes effect immediately.
Attempts
For further details on Sniff values, see the Bluetooth spec 1.1, chapter 10.8.2
Set Security Mode
Command
Header
Set
secure
0x21
mode
Size=PINCODE size + 1
For example : 0x21 00 05 00 30 30 30 30 to disable security
Get Secure Mode
Command
Header
Get secure mode
0x20
Set Encryption Mode
Command
Header
Set
Encryption
0x41
TF -
January 2007
Negociated
(0x21)
Length
Payload
00 {size}
{00 non secured, 01 secured} {PIN CODE}
(0x20)
Length
Payload
00 00
-
(0x41) ( flash only)
Length
Payload
00 01
[Encryption
Protocol of communication
Answer
0x20 00 01 01 if secured
0x20 00 01 00 if non secured
Answer
0x41 00 01 01 if done
Answer
0x21 00 01 01 if done,
0x21 00 01 00 if not
23/46

Advertisement

Table of Contents
loading

Table of Contents