mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-06-08 10:52:18 +00:00
f9bce6e21b
As the S12906 [pack function]( https://github.com/RfidResearchGroup/proxmark3/blob/61a993de826335db2d92d1f60c3ef4ae64439b73/client/src/wiegand_formats.c#L684) suggests, the issue level takes 2 bits, thus ranging from 0 to 3. The card number takes 24 bits, ranging from 0 to 0xffffff. That shows an inconsistent with the limits defined in the format table. Reference from https://acre.my.site.com/knowledgearticles/s/article/x107 also confirms the CN should be ranging from 0 to 0xffffff. So I propose to fix the limits of S12906 format. Signed-off-by: TeCHiScy <741195+TeCHiScy@users.noreply.github.com>