Question about QR code implementation #895
-
|
Hello, I'm doing a personal audit of the firmware (version v25.10.1), and while trying to reproduce its behavior in Python on my PC, I noticed something that I couldn't fully reconcile. Here's what I observed:
However, when I compare it with the QR code displayed by my Yahboom device running Krux firmware v25.10.1, they are not identical. I used the exact same input in both cases, but the QR code generated by the Python script on my PC still differs from the one produced by the firmware on the device. Because of that, I was wondering if the firmware running on the device uses a different QR code implementation than the simulator mock, or if there is some other difference in the pipeline that I may be missing. If I misunderstood something, I would really appreciate any clarification. If the hardware firmware does use a different QR code implementation, could you please send me the script that is actually used on the device? I would like to reproduce the exact same QR code generation in my Python implementation for comparison. Thank you for your time and for maintaining the project. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Can you reproduce the same steps on |
Beta Was this translation helpful? Give feedback.
-
|
This is a frequent question. |
Beta Was this translation helpful? Give feedback.
This is a frequent question.
Firmware runs on MicroPython, and QR codes are built using C code that might use a different mask from cPython modules used in a PC, resulting in different QR codes.
Despite different masks create different QR codes, the content is the same.