Baracoda 2 manual Data Capture for Workforce in Motion

Page 33

Data Capture for Workforce in Motion

2.4.6.4.Special command

Example 4.1 ￿ Sending a special command to Code39 symbology.

We now want set a larger frame of Min-Max length for Code39 symbology.

Frame to be sent to the decoder:

‘E’

‘E’

3

‘C’ , 2 , 40

Header

Type

Size

Command

Reading this frame, the decoder understands:

The user wants to send a special command (Type "E") to Code39 symbology (Header "E").

The size must be at least 2 and the first byte of the command field must contain a code (ACSII) that will tell (indirectly) the number of parameters following.

The command "C" will first read, it means “setting a Min. length and a Max. length”. Then the usual commands ‘D’ and ‘e’ will be sent to enable Min length and Max. length for Code 39 symbology. Then the Min length will be set to 2 and the Max. length will be set to 40.

BaracodaPencil 2 – Communication Protocol v1.3

- 33 -

Image 33
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 Frame format HeaderSelect ALL Set Config Type B CommandType SizeLSB 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