Skip to content

Commit

Permalink
Fix ZebraOSS crash triggered by enabling symbologies via barcode (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaSpood authored Sep 20, 2022
1 parent 1c2e115 commit 9aeba6c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.enioka.scanner.sdk.zebraoss.commands;

import com.enioka.scanner.sdk.zebraoss.ssi.SsiCommand;

public class ActivateAllSymbologies extends CommandExpectingNothing {
public ActivateAllSymbologies() {
super(SsiCommand.CHANGE_ALL_CODE_TYPES.getOpCode(), new byte[]{0x01});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum SsiCommand {
SSI_MGMT_COMMAND(0x80, SsiSource.BOTH, true, new RsmResponseParser()),
SCANNER_INIT_COMMAND(0x90, SsiSource.HOST),
SCANNER_INIT(0x91, SsiSource.DECODER, new ScannerInitParser()),
TEMP_COMMAND(0x93, SsiSource.HOST),
TEMP_COMMAND(0x93, SsiSource.BOTH, true, new GenericParser()), // Not documented, source of problems
REQUEST_REVISION(0xA3, SsiSource.HOST),
REPLY_REVISION(0xA4, SsiSource.DECODER, false, new ReplyRevisionParser()),
IMAGE_DATA(0xB1, SsiSource.DECODER, true, new GenericParser()),
Expand Down

0 comments on commit 9aeba6c

Please sign in to comment.