Baracoda 2 manual Nd byte $01

Page 31

Data Capture for Workforce in Motion

2.4.6.2.Set Config

Example 2.1 ￿ Setting a configuration of Codabar symbology.

Frame to be sent to the decoder:

‘F’

‘B’

2

$03 , $01

Header

Type

Size

Command

Reading this frame, the decoder understands:

The user wants to set a configuration (Type "B") for Codabar (Header "F"). the configuration will contain general options and others specific to cadabar (Size = 2). Then, the Command field contains the configuration itself:

1st byte : $03

Bit

Option

1

0

Symbology Enabled

 

 

 

1

1

Min. length Enabled (set to 6 as default)

 

 

 

0

2

Checksum calculation Disabled

 

 

 

0

3

Checksum transmission Disabled

 

 

 

0

4

Max. length Disabled

 

 

 

0

5

-

 

 

 

0

6

-

 

 

 

0

7

-

 

 

 

 

 

 

2nd byte : $01

Bit

Option

1

0

start-stop transmission Enabled

 

 

 

0

1

-

 

 

 

0

2

-

 

 

 

0

3

-

 

 

 

0

4

-

 

 

 

0

5

-

 

 

 

0

6

-

 

 

 

0

7

-

 

 

 

BaracodaPencil 2 – Communication Protocol v1.3

- 31 -

Image 31
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