Skip to content

Wiegand 32 wrong output #58

@pasleto

Description

@pasleto

Hello,

i have Mifare card with UID A4DCCC1D.

When reading with Wiegand reader using Wiegand 32 Type with this code i get this:
HEX = 126E660E, DECIMAL = 309224974, Wiegand Type = W32

The code is not the same as expected, it seems this library shift binary data off somehow:

A4DCCC1D To Binary Converted 10100100110111001100110000011101
126E660E To Binary Converted 00010010011011100110011000001110

-10100100110111001100110000011101 <- Mifare UID (HEX = A4DCCC1D | DECIMAL = 2765933597)
00010010011011100110011000001110- <- Wiegand 32 (HEX = 126E660E | DECIMAL = 309224974)

How to solve this issue?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions