-
Notifications
You must be signed in to change notification settings - Fork 15
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
Generating QR codes with length > 15 #3
Comments
This could partially be due to the limitations of the QR code being generated. The program generates a Level 1 QR code with and ECC level of Q. In Alphanumeric mode 16 characters is the maximum (which is what the program defaults to) and in Numeric mode the max integers is 27. Here is a link that visually represents the maximums of each QR code type: http://www.qrcode.com/en/about/version.html (scroll to bottom of page) When I was using this code I was only displaying the time followed by am/pm, so I never tested any mode other than Alphanumeric. I have since gone back and tried to modify the program to switch into Numeric mode with limited success. I say limited success because the data read by the qr scanner was not what was encoded; but I was fit 26bits of data. More time would be needed to get things working correctly; which unfortunately is in short supply this time of year. This code isn't very good and there are a few places where things get hard-coded, i.e. handling of punctuation. More rules would need to be added to handle things like dash(-) or period(.). It might be worth looking over the tutorial I used and use this program as a reference only. Good luck with your project and let me know if I can be of any further help. I will try my best to get back with you shortly. Have a happy new year. |
Thanks for the response David. I'll let you know for sure. Have a great
|
Hello.
I'm using this code to an university project. We want to generate the qr code from a GPS coordinate.
We did some tests using 'hello world' strings and till this point there were no problems.
The problems started when we needed to generate QR codes from string that have the size greater than 15 characters.
We've been trying to edit the code to match our needs with no success.
Could you, please, help us or maybe point us to a direction to follow? We need to generate a QR code with length of 22 characters.
Thank's in advance.
The text was updated successfully, but these errors were encountered: