Closed dan-p3rry closed 8 months ago
I can reproduce both issues (not scanning with Q and wrong chars with H). Looking at which characters got changed, it seems in both cases the least significant bit must have gotten flipped, either due to an error in the data, or the error correction ('3' = 00110011 -> '2' = 00110010; ',' = 00101100 -> '-' = 00101101).
After a lot of debugging, it turns out I messed up some of the error correction math. It should have now been fixed in 53090f1 :)
Excellent, I hope you'll update your regression testing as well 😀. Dan
On Mon, Feb 26, 2024 at 6:58 PM xypwn @.***> wrote:
After a lot of debugging, it turns out I messed up some of the error correction math. It should have now been fixed in 53090f1 https://github.com/xypwn/scadqr/commit/53090f1fd7a67a31824f25b185d1b66676c66f9a :)
— Reply to this email directly, view it on GitHub https://github.com/xypwn/scadqr/issues/5#issuecomment-1964868681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVJPTT26L2PY4BMP7XJCY7LYVTLMXAVCNFSM6AAAAABD2GGBEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUHA3DQNRYGE . You are receiving this because you authored the thread.Message ID: @.***>
In the following example, the '3' in the phone number becomes a 2 in QR code, and the ',' after Bardolph becomes -. It works OK with Medium error correction. One more observation -- Quartile error correction seems broken, at least my android phone cannot read it at all.
Thanks & regards, Dan