BaracodaPencil 2 – Communication Protocol v1.3 - 7 -
Data Capture
for Workforce
in Motion
2.3.
2.3.2.3.
2.3. Host to scanner
Host to scannerHost to scanner
Host to scanner
messages
messagesmessages
messages
2.3.1.
2.3.1.2.3.1.
2.3.1. Communication messages
Communication messagesCommunication messages
Communication messages
Code ID
0x40
-
0x41
Description
Get Communication Descriptor
Payload
None
Response
2 bytes:
{Wireless link: (Bit 0: Bluetooth)}
{Wired link: (Bit 0: Serial Dock)}
Code ID
0x42
-
0x43
Description
Get Retransmission Parameters
Payload
None
Response
2 bytes:
{Max number of retransmission, 1 to 0xFE, 0xFF = infinity}
{Delay between transmission, 1 to 0xFF, in tenth of seconds}
Code ID
0x44
-
0x45
Description
Set Retransmission Parameters
Payload
2 bytes:
{Max number of retransmissions, 1 to 0xFE, 0xFF = infinity}
{Delay between transmissions, 1 to 0xFF, in tenth of seconds}
Response
1 b
yte:
{(Bit 0: Success)}
Code ID
0x46
-
0x47
Description
Get Capture Frame Format
Payload
None
Response
1 byte
{0 = Baracoda, 1 = Baracoda + ACK, 2 = Raw}
Code ID
0x48
-
0x49
Description
Set Capture Frame Format
Payload
1 byte
{0 = Baracoda, 1 = Baracoda + ACK, 2 = Raw}
Response
1 byte:
{Bit0: Success}