Baracoda 2 manual Get configType a, Usual Commands Type D, MSB Free

Page 27

Data Capture for Workforce in Motion

MSB

7

FREE

 

 

RSS Limited (Header "O")

 

Bit

Option

 

 

 

LSB

0

LINKAGE FLAG PRINT

 

 

 

 

1

APPLICATION ID PRINT

 

 

 

 

2

FREE

 

 

 

 

3

FREE

 

 

 

 

4

FREE

 

 

 

 

5

FREE

 

 

 

 

6

FREE

 

 

 

MSB

7

FREE

 

 

 

2.4.5.2.Get config(Type "A")

This command allows to retrieve the whole configuration of a given symbology. The response to it is made of 2 or 4 bytes:

The two first bytes are the ones described in the above section (set config).

The two following are given only if the length of the barcode is variable with the selected symbology. These bytes are the min and max length of the barcode.

For some settings (e.g. prefix/suffix…), the “special commands” type should be used (see below for details).

2.4.5.3.Usual Commands (Type "D")

The method described above (set config) allows a fast and effective setting of a whole set of configurations for a given symbology. It exclusively allows a simultaneous configuration of all the options available for a given symbology.

The usual commands are designed to palliate this effect. It is possible, with this type of commands, to modify a limited number of options in a configuration.

A command is one byte long and orders an enabling or a disabling of an option. Several commands can be sent in the same frame by simply specifying the number in the Size field.

The commands table is unique. All the symbologies will thus understand this same table. However, since certain options are not available for some symbologies, the corresponding commands will be quite simply ignored for these symbologies. This will allow the configuration of several symbologies at the time by sending only one frame.

BaracodaPencil 2 – Communication Protocol v1.3

- 27 -

Image 27
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 Frame format HeaderSelect ALL Size CommandSet Config Type B TypeLSB FreeLSB Free Code 128 / EAN 128 Header C Interleaved 2 of 5 Header G MSI Header K Get configType a Usual Commands Type DMSB 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 SPP DUNFAX