luis901101 / honeywell_scanner

BSD 3-Clause "New" or "Revised" License
22 stars 9 forks source link

UPC-A code is not reading properly #22

Closed go2hyder closed 1 month ago

go2hyder commented 1 month ago

The plugin not reading UPC-A code as the last digit is missing from the scanned result.

barcode (1)

The above image the barcode value is 725272730706. But the plugin reading it as 72527273070. The last digit 6 is missing.

In the device scan setting, the Send Check digit is already checked. But still having same issue

go2hyder commented 1 month ago

Fixed by adding "DEC_UPCA_CHECK_DIGIT_TRANSMIT": true in the properties

luis901101 commented 1 month ago

Hi sorry for the late answer, exactly by setting the property you get the expected behavior, whatever extra conf you need to do should be done by specifying properties, here a similar issue with EAN: https://github.com/luis901101/honeywell_scanner/issues/1