BaracodaPencil 2 – Communication Protocol v1.3 - 5 -
Data Capture
for Workforce
in Motion
2.
2.2.
2.
Communication protocol
Communication protocolCommunication protocol
Communication protocol
2.1.
2.1.2.1.
2.1. Bidirectional packets
Bidirectional packetsBidirectional packets
Bidirectional packets
2.1.1.
2.1.1.2.1.1.
2.1.1. Control messages
Control messagesControl messages
Control messages
2.1.1.1. Specific packets
Code ID
Description
Frame
0x01
Legacy
0x01 0x01 0
x01
Or
0x01 0x02 0x01
These two (2) sequences will be recognized and purged for backward compatibility with older
Baracoda products.
2.1.1.2. Acknowledgment packets
Code ID
Description
Frame
0x06
ACK
0x06 0x01 0xYY
0x15
NACK
0x15 0x01 0xYY
These messages acknowledge the reception of a valid message with the expected sequence number
0xYY, before processing it.
For captured data from the scanner, ACK and NAK have the same meaning but will trigger a different
event on the scanner.
2.1.1.3. Synchronization packet
Code ID
D
escription
Frame
0x16
SYN
0x16 0x01 0xYY
This message acknowledges the reception of a message to acknowledge with an unexpected
sequence number. 0xYY is the expected sequence number.
The device will resynchronize its remote sequence number when receiving this message.