Baracoda 2 manual Control messages, Ack, Nack, Syn

Page 5

Data Capture for Workforce in Motion

2.Communication protocol

2.1.Bidirectional packets

2.1.1.Control messages

2.1.1.1.Specific packets

Code ID

Description

Frame

 

 

 

0x01

Legacy

0x01 0x01 0x01

 

 

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

Description

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.

BaracodaPencil 2 – Communication Protocol v1.3

- 5 -

Image 5
Contents BaracodaPencil Communication Protocol Summary Revision History Introduction Generalities ACK Control messagesNack SYNScanner to host messages Communication messages Host to scanner messagesRemarks Scanner messages 0x6A-0x6B User Interface messages Payload Response Byte Bit 0 Success BaracodaPencil 2 Communication Protocol Miscellaneous messages 0xC8-0xC9 Reserved = upload data after retrieving Capture messages Remark Stored barcodes count Select ALL Frame formatHeader Set Config Type B CommandType SizeLSB Free LSBFree Code 128 / EAN 128 Header C Interleaved 2 of 5 Header G MSI Header K MSB Free Get configType aUsual Commands Type D Code Commands TableSpecial Commands Special Commands Type EExamples Nd byte $01 Example 2.2 Setting a configuration of all symbologies Data Capture for Workforce in Motion Appendix 1 Bluetooth Protocol 0x01 if MASTER, 0x00 if SLAVE, Role switch Header Length Payload Response Command Set page scan timeout Set sniff Data Capture for Workforce in Motion Get Security Mode PDA FAX SPPDUN