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

qrcode commands seem to be wrong #427

Open
yelhouti opened this issue Jul 31, 2023 · 0 comments
Open

qrcode commands seem to be wrong #427

yelhouti opened this issue Jul 31, 2023 · 0 comments

Comments

@yelhouti
Copy link

CODE2D_FORMAT: {
PIXEL_SIZE: {
CMD: '\x1b\x23\x23\x51\x50\x49\x58',
MIN: 1,
MAX: 24,
DEFAULT: 12,
},
VERSION: {
CMD: '\x1d\x28\x6b\x03\x00\x31\x43',
MIN: 1,
MAX: 16,
DEFAULT: 3,
},
LEVEL: {
CMD: '\x1d\x28\x6b\x03\x00\x31\x45',
OPTIONS: {
L: 48,
M: 49,
Q: 50,
H: 51,
}
},
LEN_OFFSET: 3,

As can be shown here:
\x1d\x28\x6b\x03\x00\x31\x43 is used for version but as it can be seen [here]: x43 is for size of module
on the other hand x41 is for the model which is I guess what you mean by version.

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

1 participant