Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS1 DataMatrix not working properly #109

Open
kbednk opened this issue Nov 12, 2024 · 1 comment
Open

GS1 DataMatrix not working properly #109

kbednk opened this issue Nov 12, 2024 · 1 comment

Comments

@kbednk
Copy link

kbednk commented Nov 12, 2024

Hello. I am impressed with the speed of BarcodeScanning.Native.Maui.

I have noticed a problem reading GS1 DataMatrix.
From the beginning. GS1-128 (1D) barcodes from the GS1 System read correctly. FNC1 ( ]C1 ) is visible in RAW data.
However, in the GS1 DataMatrix barcode there is an empty character at the beginning of the data. An additional problem occurs when FNC1 is to appear in the middle of the data - for example, to show the end of the serial number, manufacturer's batch or quantity.
According to the manual "GS1 DataMatrix Guideline - Overview and technical introduction to the use of GS1 DataMatrix", FNC1 should be visible. I checked using the XZing component and it is visible.

Can I kindly ask you to compare GS1-128 and GS1 DataMatrix, so that you can see the difference? Maybe you will find a way to solve the problem? Both codes are common in the European Union and it is difficult to use the component with this error. Or maybe the MLKit update has already solved this problem?

With respect for your work.
Best regards. Kris B.

@afriscic
Copy link
Owner

afriscic commented Nov 21, 2024

I have an app that is used extensively to scan GS1 DataMatrix codes and haven't experienced this. But, to be honest, I trim the beginning of the string until I get a number as first character.
As for FNC1 character, from my experience, it is always encoded as , ASCII 29 which usually isn't visible. And this confirms to GS1 guidelines:

When either FNC1 or GS is used as a separator character, the scanner must
transfer the character value as control character GS.

https://www.gs1.org/docs/barcodes/GS1_DataMatrix_Guideline.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants