RoadRunners – Communication Protocol
TF -
Protocol of communication
18/46
January 2007
3.5. Barcode messages
Code ID
0xE0-0xE1
Description
Get Barcode Version
Payload
None
Response
“Barcode Version String” or {0} if not applicable
Code ID
0xE2-0xE3
Description
Get Mode
Payload
None
Response
1 byte:
{0 = trigger, 1 = autoscan, 2 = disabled, 3 = true
autoscan, 4 = aiming trigger scan}
Code ID
0xE4-0xE5
Description
Set Mode
Payload
1 byte if In trigger, autoscan, disabled or true autoscan
mode.
Or 2 bytes if In aiming trigger scan mode
{0 = trigger, 1 = autoscan, 2 = disabled, 3 = true
autoscan, 4 = aiming trigger scan}
{aiming trigger scan mode timeout value in second}
Response
1 byte:
{(Bit 0: Success)}
Code ID
0xE6-0xE7
Description
Get Data Format
Payload
None
Response
1 byte:
{(Bit 2:Timestamp)
(Bit 1:Prefix)
(Bit 0:Suffix)}
Code ID
0xE8-0xE9
Description
Set Data Format
Payload
1 byte:
{(Bit 7 = 0: Timestamp config select, =1: Timestamp
config deselect)
(Bit 6 = 0: Prefix config select, =1: Prefix config
deselect)
(Bit 5 = 0: Suffix config select, =1: Suffix config deselect)
(Bit 2:Timestamp)
(Bit 1:Prefix)
(Bit 0:Suffix) }
Response
1 byte:
{(Bit 0:Success)}
Code ID
0xEA-0xEB
Description
Get Prefix
Payload
None
Response
1-33 bytes:
{Prefix length}
“Prefix String”