Skip to content

Inconsistent decoding/encoding of Inner Range 56-bit Wiegand format #2975

@jkramarz

Description

@jkramarz

Describe the bug
Encode or decode procedure for this format seems to be wrong, as the facility code does not decode to the same number.

To Reproduce

[offline] pm3 --> wiegand encode -w IR56 --fc 123 --cn 123 --pre
[+] Wiegand: 9E000000100007B0000007B
[offline] pm3 --> wiegand decode --raw 9E000000100007B0000007B
(...)
[+] [IR56    ] Inner Range 56-bit               FC: 16777339  CN: 123
(...)

Additional context
Tested on 7162147.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions