
Data Capture for Workforce in Motion
Example 2.2 Setting a configuration of all symbologies.
Frame to be sent to the decoder:
‘A’
‘B’
1
$13
Header | Type | Size | Command |
Reading this frame, the decoder understands:
The user wants to set a configuration (Type "B") for all the symbologies (Header "A"). The configuration can only contain general options and the Size field must be equal to 1. Then, the Command field contains the configuration itself:
$013 | 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 |
|
|
|
1 | 4 | Max. length Enabled (set to 32 as default) |
|
|
|
0 | 5 | - |
|
|
|
0 | 6 | - |
|
|
|
0 | 7 | - |
|
|
|
2.4.6.3.Usual command
Example 3.1 Modifying a configuration of all symbologies.
We now want disable Min length and Enable start/stop characters (for the symbologies having those), regardless of the other options’ settings.
Frame to be sent to the decoder:
‘A’
‘D’
2
‘C’ , ‘I’
Header | Type | Size | Command |
Reading this frame, the decoder understands:
The user wants to send a command (Type "D") to all the symbologies (Header "A"). Any command can be sent but not all may be effective on all symbologies.
The command "C" will first be sent to all symbologies, and applied to all of them since they all have this option available.
Then the command "I" will also be sent to all symbologies but only some of them will apply it (Code39, Codabar).
BaracodaPencil 2 – Communication Protocol v1.3 | - 32 - |