EMDK profile Code128 length limits not working

K Kevin Debrabandere 2 years 11 months ago
1 1 0

Hello,

I'm trying to use an EMDK profile with length limitations for a Code128 barcode.

The target device is a TC56 with MX version 6.2.0.13
I created the profile through the profile manager of EMDK for Android v6.9.
The profile I'm using: see attached files
Code128 configuration:
                                                                                                             
I applied the profile through the async API as described here. Debugging the callback methods that would indicate the profile could not be applied or that they would contain an error give no indications something went wrong. I've also included the my EMDK wrapper implementation in the attached files.
While scanning works, the length limits to only allow barcodes between 16 and 25 characters is not working. For example, I'm able to scan the following barcode contents (Received in AsyncUpdateScanData.doInBackground and AsyncUpdateScanData.onPostExecute):

A12345
This is way longer than 25 characters

When using the same configuration in Datawedge, the length limitations work.

Am I doing something wrong or is there something else I need to do to enable the length limitations when using the EMDK?

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

If the same configuration works in DataWedge then it is likely some issue with the configuration.  Can you try setting decoder_code128_enable_ean128 to false or disabling all decoders other than Code 128 (I note in your EMDKConfig.xml you have many others set to true, perhaps enable_ean128 is causing the barcode to be converted to gs1_databar which IS being successfully decoded)

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