Baracoda 2 Barcode Reader User Manual


 
BaracodaPencil 2 – Communication Protocol v1.3 - 40 -
Data Capture
for Workforce
in Motion
Command
Get Security Mode
Header
0x20
Length
00 00
Payload
Response
0x20 00 01 01 if
secured
0x20 00 01 00 if non secured
Remark
Command
Set Security Mode
Header
0x21
Length
00 {size}
Payload
{00 non secured, 01 secured} {PIN CODE
(default 01)
Response
0x21 00 01 01 if done,
0x21 00 01 00 if not
Remark
Size=PINCODE size + 1
For example : 0x21 00 05 00 30 30 30 30 to disable security
Command
Get Bluetooth class device
Header
0x30
Length
00 00
Payload
Response
0x30 00 04 [Class of device]
Remark
See the Bluetooth specification for more details
Command
Set Bluetooth class
device
Header
0x31
Length
00 04
Payload
[Class of Device (4 bytes, MSB
-
>LSB)] (default 0x500)
Response
0x31 00 01 01 if done
0x31 00 01 00 if not