
Communication Protocol for Baracoda ScanWear/ToughRunners Scanners
Sept. 07 21/26
This Timeout is used by the Link Manager to monitor the Bluetooth Link. If there is no
answer from the other device after this timeout, the Link Manager assumes that we are
disconnected. By default, this value is set to 20 seconds. You can go down to 1s, but
then you can have disconnection even if it’s only a temporary perturbation.
This value will take effect at the next connection.
Command Header Length Payload Answer
Get link
timeout
0x18 00 00 - 0x18 00 02 [MSB of link Tmo, LSB of link
Tmo]
Command Header Length Payload Answer
Set security
mode
0x21 00
{size}
{00 non secured, 01 secured} {PIN
CODE
(default 01)
0x21 00 01 01 if
done,
0x21 00 01 00 if not
Size=PINCODE size + 1
For example : 0x21 00 05 00 30 30 30 30 to disable security
Command Header Length Payload Answer
Get security
mode
0x20 00 00 - 0x20 00 01 01 if secured
0x20 00 01 00 if non
secured
Command Header Length Payload Answer
Get Bluetooth
class of device
0x30 00 00 - 0x30 00 04 [Class of Device]
See the Bluetooth spec. for more details.
Typical Bluetooth class of device:
Peripheral 0x000500
(default)
Undefined 0x001F00
Phone 0x502204
Computer 0x120104
PDA 0x100114
Access
Point
0x120320
Command Header Length Payload Answer
Set BT class of
device
0x31 00 04 [Class of Device (4 bytes, MSB-
>LSB)] (default 0x500)
0x31 00 01 01 if
done
0x31 00 01 00 if
not
Command Header Length Payload Answer
Get BT class of
device
0x30 00 00 - 0x30 00 04 [CoD (4 bytes, MSB->LSB)]
Command Header Length Payload Answer
Get local BT
address
0x43 00 00 - 0x43 00 06 {6 Bytes (BD_address MSB,
..., LSB)}
Kommentare zu diesen Handbüchern