Baracoda 2 manual Host to scanner messages, Communication messages

Page 7

Data Capture for Workforce in Motion

2.3.Host to scanner messages

2.3.1.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 byte:

 

{(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}

 

 

BaracodaPencil 2 – Communication Protocol v1.3

- 7 -

Image 7
Contents BaracodaPencil Communication Protocol Summary Revision History Introduction Generalities SYN Control messagesACK NackScanner 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 Header Frame formatSelect ALL Size CommandSet Config Type B TypeFree LSBLSB Free Code 128 / EAN 128 Header C Interleaved 2 of 5 Header G MSI Header K Usual Commands Type D Get configType aMSB Free 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 DUN SPPFAX