Baracoda 2 manual Special Commands Type E

Page 29

 

 

 

Data Capture

 

 

 

for Workforce

 

 

 

in Motion

 

 

 

 

 

 

 

 

 

 

 

o

Enable AIM symbology identifier transmission

C

 

 

 

 

 

 

 

p

Dissable AIM symbology identifier transmission

C

 

 

 

 

 

 

 

q

Enable Price Code transmission for ISSN

D

 

 

 

 

 

 

 

r

Disable Price Code transmission for ISSN

D

 

 

 

 

 

 

 

s

Add-on Digits not required but transmitted if read

D

 

 

 

 

 

 

 

t

Add-on Digits required and transmitted

D

 

 

 

 

 

 

 

u

Enable 2-digit Add-on

D

 

 

 

 

 

 

 

v

Disable 2-digit Add-on

D

 

 

 

 

 

 

 

w

Enable 5-digit Add-on

D

 

 

 

 

 

 

 

x

disable 5-digit Add-on

D

 

 

 

 

 

 

(1): The default minimal length is 6 characters for all symbologies.

(2): This option will not have any effect on symbologies requiring a checksum calculation (EAN/UPC, Code128). Concerning the symbologies that allow two check digits (code93, code11), the first check digit is obligatory. Thus, this option will affect the calculation/non calculation of the second check digit.

(3): The default maximal length is 32 characters for all symbologies.

2.4.5.4.Special Commands (Type "E")

Some commands require more than a Boolean digit and require one or more arguments.

Special commands will be used in this case (defined code "E" in type field). It is made of one byte corresponding to the type of command. Then, depending on the type of command, a certain number of parameters will be expected. Each of these will be 1 byte long.

This type of command allows the sending of multiple commands in one frame. The Size field must then specify the total length, in bytes, of the command field.

SPECIAL COMMANDS

ASCII

 

 

 

CODE

DESCRIPTION

PARAMTER(S)

RESPONSE

 

 

 

 

A

DEFINE AND ENABLE MIN. LENGTH

[MIN LENGTH]

-

 

 

 

 

B

DEFINE AND ENABLE MAX. LENGTH

[MAX LENGTH]

-

 

 

 

 

C

DEFINE AND ENABLE LENGTH FRAME

[MIN][MAX]

-

 

 

 

 

D

DEFINE VOTING VALUE (*)

[VOTING]

-

 

 

 

 

E

GET VOTING VALUE

-

[VOTING]

 

 

 

 

F

DEFINE GS REPLACEMENT CHARACTER

[CHAR]

-

 

 

 

 

G

GET GS REPLACEMENT CHARACTER

-

[CHAR]

 

 

 

 

H

DEFINE AND ENABLE PREFIX

[length] « prefix »

-

 

 

 

 

I

DEFINE AND ENABLE SUFFIX

[length] «suffix»

-

 

 

 

 

J

GET PREFIX

-

[length] « prefix »

 

 

 

 

K

GET SUFFIX

-

[length] «suffix»

 

 

 

 

L

FREE

-

-

 

 

 

 

 

 

 

 

(*): this command will only de effective with ‘A’ header. Otherwise, it will be ignored. Values

accepted for voting are: 2, 3, 4. this command is also unavailable with Pencil2 scanner.

BaracodaPencil 2 – Communication Protocol v1.3

- 29 -

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