aacengineering / epcpy-tools Goto Github PK
View Code? Open in Web Editor NEWLibrary for encoding/decoding and representing GS1 Electronic Product Codes
License: Other
Library for encoding/decoding and representing GS1 Electronic Product Codes
License: Other
Hi,
at first thanks for your great effort to write this library! I just installed it and it works like a charm. However I noticed a minor missmatch to a website I found.
For the GRAI-170 Tag from your tests I found that
decode_epc("0x37012a05f20000188000000000000000000000000000").barcode == '8003032000000000011' decode_epc("0x37012a05f20000188000000000000000000000000000").values['serial_number'] == '1'
With a serial number of '1' the second last digit is the check digit which is '1'.
When inserting this to http://convert.erfideo.com/Home
all values but the check digit (which is 9 on this website) does match.
May you explain weather the website yields wrong values or this a bug in the code?
Many Regards
Dennis
Edit1: Additionally the convert.erfideo.com truncates the epc_hex by one trailing '0'. Why are there different lenghts?
Edit2: Updated link.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.