
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 | |
|
|
|
0 | 1 | - |
|
|
|
0 | 2 | - |
|
|
|
0 | 3 | - |
|
|
|
0 | 4 | - |
|
|
|
0 | 5 | - |
|
|
|
0 | 6 | - |
|
|
|
0 | 7 | - |
|
|
|
BaracodaPencil 2 – Communication Protocol v1.3 | - 31 - |