Page 1 of 1

ESPEasy 2.0.0: Wiegand/PN532 give different results

Posted: 30 Jun 2017, 19:06
by Shardan
Hello all,

I've compiled the sources from today (June 30th, '17) to check the new wiegand 34bit protocoll.
In parallel a PN532 reader is connected.

PN 532 gives:....3004897467 (10110011000110110001100010111011)
Wiegand gives:..3138919347 (10111011000110000001101110110011)

I've checked the tag i used for testing with a commercial USB-Mifare reader.
The value shown from the PN532 is shown by the reader so i assume it's correct.

I've tested to swap the Wiegand D0 and D1, which gives invertet bits as expected, even "more wrong".
Testing several times gives same value so the bits are not randomly flipped.

What's wrong here?

It makes parallel use of Wiegand readers and PN532 very difficult as two different codes have to be used and maintained.

Regards
Shardan