After much time I have completed a little program that will read 36 AND 26 bit Wiegand format cards. The system itself has a few flaws in it that I am unable to find a better way of doing. One of which is knowing which format should be read into the system.
Wiegand 26bit Format is:
P SSSSSSSS NNNNNNNNNNNNNNNN P
Wiegand 36bit Format SEEMS to be:
P UUUUUUUUUU SSSSSSSS NNNNNNNNNNNNNNNN P
Where the U is unknown bits at this time. All of the 36bit cards I have contain 0111 or 1111 in the first 4 bits so that is how I am working with them. I would like to put something in there to attempt to read an unknown amount of bits until it times out but up until now I do not know how to put a timeout large enough in code to actually work correctly.
I am getting 40 bits of data off an HID card using a ProxPoint reader. Is there a 40 bit protocol? If so can someone point me to the documentation? I can post the hex values off the card if it helps.
Comments
Wiegand 26bit Format is:
P SSSSSSSS NNNNNNNNNNNNNNNN P
Wiegand 36bit Format SEEMS to be:
P UUUUUUUUUU SSSSSSSS NNNNNNNNNNNNNNNN P
Where the U is unknown bits at this time. All of the 36bit cards I have contain 0111 or 1111 in the first 4 bits so that is how I am working with them. I would like to put something in there to attempt to read an unknown amount of bits until it times out but up until now I do not know how to put a timeout large enough in code to actually work correctly.
Regards.
Thanks.