Open vrelk opened 4 years ago
Hello,
you would have to upgrade the wiegand library that is used. Once it's upgradedd over there, than the compile will reflect and worn in esp-rfid as you expect.
Ok, that looks easy enough. For now I have passed out the older fobs which are 34-bit and am keeping the 35-bit ones in a drawer. Still, might be useful to allow it for future releases.
i have changed the WIegand Library to WiegandNG. now you can use Bits length from 24 to 58 bits. All you need to do is to set the requiered bit length in the Hardware settings.
you can find the change in cc7b24c and c66073a these are in my fork in the 2.0.0(WiengandNG) branch
Thank you @pvtex I want to get V2 out first then we'll take onboard more changes, otherwise this V2 is never going to happen :)
Surely after the V2 is out we can get the code ported here as well, thank you!
I noticed in your keypad code (src/rfid.esp line 41), you are only accepting 26 and 34 bits, otherwise it is a keypad entry. It would be nice to also add in 32, 35, and 64 bit options too. Maybe have a comma delimited entry for custom lengths?
32: another wiegand standard 35: HID Corporate 1000 64: one of the HID readers spits this out for Mifare cards
For output reference: https://pastebin.com/AcND7C5J (this was done by a HID MultiClass RP40 if I remember correctly)
http://cardinfo.barkweb.com.au/