Problems setting remote_scanner_audio_feedback_mode in DataWedge Scanner Profile by Set Config API

S Sascha Buescher 2 years 3 months ago
11 0 0

Hello.
i have problems setting the Audio Feedback Mode in Datawedge by Set Config API.
When i use the following Code the display_bt_address_barcode works but the remote _scanner_audio_feedback_mode didn't work, but both under the BARCODE Plugin listed in teh API description. Does anyone have an idrear why it didn't work? The Datawedge Version is 11.1.31 on the Device. The Device is a TC21 with attached RS507 Bluetooth Scanner. If i set the option manual in DataWedge Profile it works.

<code>
Bundle profileConfig = new Bundle();
profileConfig.PutString("PROFILE_NAME", EXTRA_PROFILE_NAME);
profileConfig.PutString("CONFIG_MODE", "UPDATE");

Bundle bConfig = new Bundle();
bConfig.PutString("PLUGIN_NAME", "BARCODE");
bConfig.PutString("RESET_CONFIG", "false");
Bundle bParams = new Bundle();
bParams.PutString("scanner_selection_by_identifier", "BLUETOOTH_SSI");
bParams.PutString("display_bt_address_barcode", "true");
bParams.PutString("remote_scanner_audio_feedback_mode", "2");

bConfig.PutBundle("PARAM_LIST", bParams);

profileConfig.PutBundle("PLUGIN_CONFIG", bConfig);
SendDataWedgeIntentWithExtra(ACTION_DATAWEDGE_FROM_6_2, EXTRA_SET_CONFIG, profileConfig);
</code>

Thx and Regards

Sascha

CONTACT
Can’t find what you’re looking for?