Baracoda RoadRunners Laser Supplementary Manual page 22

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

Advertisement

RoadRunners – Communication Protocol
Get Mode
Command
Header
Get mode
0x04
Set Remote BDA
(Used by Master Mode of the SM)
Command
Header
Set Remote BDA
0x05
If The SM is set to Master (using Set MODE command), the SM use this Address to connect to.
Get Remote BDA
Command
Header
Get Remote BDA
0x06
Get Firmware Version (0x76)
Command
Header
Get Version
0x76
Answer:
Header
Version
0x76
Restore Factory Settings
(Bluetooth only)
Command
Restore Factory Settings
Set Sniff
Command
Header
Length
Set sniff
0x09
00 04
Command
Header
Length
Set sniff
0x09
00 08
Get Sniff
Command
Header
Length
Get sniff
0x10
00 08
TF -
January 2007
(0x04)
Length
Payload
Answer
00 00
-
0x04 00 02 {Mode (1byte) | Switch role (1byte)}
0x01 if MASTER, 0x00 if SLAVE
0x01 if want automatic switch role, 0x00 otherwise
(0x05)
Length
Payload
00 06
BDA(ex:0x00,0x02,0xC3,0x21,
0xDE,0xFA)
(0x06)
Length
Payload
00 00
-
Length
Payload
00 00
-
Length
Payload
Version length
Version (string)
(2Bytes)
('R', 's', 't')
'R', 's', 't'
(0x09)
Payload
[MSB of MinSniff interval, LSB of MinSniff interval,
MSB of MaxSniff interval, LSB of MaxSnif interval]
Payload
[MSB of MinSniff interval, LSB of MinSniff interval,
MSB of MaxSniff interval, LSB of MaxSnif interval,
Sniff Attempts MSB, Sniff attempts LSB,
Sniff timeout MSB, Sniff timeout LSB]
(0x10)
Payload
Answer
0x10 00 04 [MSB of MinSniff interval, LSB of MinSniff interval,
MSB of MaxSniff interval, LSB of MaxSnif interval, Sniff
Attempts MSB, Sniff attempts LSB, Sniff timeout MSB, Sniff
timeout LSB]
Protocol of communication
Answer
0x06 00 06 {6 bytes of BDA}
Answer
0x76, 0, 18, {string of 18 characters}
Answer
-
Answer
0x05 00 01 01 if done
0x05 00 01 00 if not
Answer
0x09 00 01 01 if done
0x09 00 01 00 if not
Answer
0x09 00 01 01 if done
0x09 00 01 00 if not
22/46

Advertisement

Table of Contents
loading

Table of Contents