Skip to content

Commit

Permalink
Added scanner_input_enabled & scanner_selection_by_identifier to swit…
Browse files Browse the repository at this point in the history
…chbarcodeparams settings
  • Loading branch information
ltrudu committed Sep 19, 2022
1 parent b3ca03c commit 3f17758
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.zebra.datawedgeprofileenums;

public enum SC_E_AIM_MODE {
ON("1"),
OFF("0");
ON("on"),
OFF("off");

private String enumString;
private SC_E_AIM_MODE(String confName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,17 @@ public Bundle getBarcodePluginBundleForSwitchParams() throws Exception {
// Pass everything to the bundle
Bundle barcodeProps = new Bundle();

barcodeProps.putString("scanner_input_enabled", scanner_input_enabled ? "true" : "false");

// Use this for Datawedge < 6.7
//barcodeProps.putString("scanner_selection", scanner_selection);

// Use this for Datawedge < 6.7
//barcodeProps.putString("scanner_selection", "AUTO");
// Use this for Datawedge >= 6.7
barcodeProps.putString("scanner_selection_by_identifier",scanner_selection_by_identifier.toString());


// Setup decoders
setupDecoders(barcodeProps);

Expand Down

0 comments on commit 3f17758

Please sign in to comment.