Datawedge 6.7 activation of decoder_i2of5

Hi,

I'm programming an Android application that communicates with the DataWedge API.

I want to create new DataWedge profile using SET_CONFIG method (http://techdocs.zebra.com/datawedge/6-7/guide/api/setconfig/) and I'm unable to tick decoder_i2of5 in scan profile. all others parameters are correctly activate as expected.

sample of my code

...

bBarcodeParams.putString("decoder_i2of5", "true");

...

bBarcodeConfig.putBundle("PARAM_LIST", bBarcodeParams);

...

bMain.putBundle("PLUGIN_CONFIG", bBarcodeConfig);

...

What am I doing wrong ?

Thank you for your reply.

Regards,

Anonymous (not verified)
Hi, so you have tried other

Hi, so you have tried other decoders in your line 02, above but the only decoder that does not get reflected in the DataWedge profile is i2of5?  Others work without issue?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Frederic TURBELIN
Hi Darryn,Thank for your

Hi Darryn,

Thank for your reply.

I need to activate Interleaved decoders 2 of 5 and Code128.


Code128 is enabled as expected, but I'm sure it's a default setting.
Other settings such as PROFILE_NAME and PARAM_LIST (for example, KEYSTROKE, INTENT) work fine.

I just have a problem with PLUGIN_NAME: "BARCODE" for decoder attributes

Regards,

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi, I suggest you take a look

Hi, I suggest you take a look at a known, working example: samples-datawedge/MainActivity.java at master · Zebra/samples-datawedge · GitHub .  It does not enable i2of5 but enables several other decoders.

Alternatively, if you are just looking to configure Datawedge once (rather than at runtime) you might want to have a look at DataWedge's mass deployment options:

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments