-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RDM6300 addtional output formats, XOR Checksum #1302
Conversation
… the RDM6300 Reader -Added XOR Checksum for the RDM6300 Output format (Wiegand26) -Tried to Address the dependencie Topic of MiczFlor#1105 (untested)
|
||
except ValueError as ve: | ||
logger.errror(ve) | ||
logger.error(ve) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Anyone know, what was the Intention here,
I am not sure if this still works as it was originally intended or even was functional before.
(what can threw or could throw a ValueError?)
#this will return the raw (original) card ID e.g. 070067315809 | ||
card_id = raw_card_id | ||
|
||
if card_id != self.last_card_id: #does this still makes sense here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this still makes sense here?
Means 2nd swipe will not be possible with RDM6300
Is this intentionally? Was there maybe a Good reason for this?
- improved comment
Hey @arne123,
I think the import doesn't work right. Could you have a look? |
I think I got it working with adding I can not test the Module without active i2c, I just checked for the availability of MIFARE_WAIT_FOR_ENTRY Can you do me a favor and test, if this will work in your environment?
|
Unfortunately I don’t have that reader to test it |
Fixed the import in #1312 |
I had recently some issue with the RDM6300 reader, during debugging I found I would be very nice to have matching Numbers between the entries in the Database and the ones printed on the ID-Cards itself.
On the ID-Cards I am having are two Numbers, one 10 Digit Number with leading zeros and a fractional number.
Both are based on the same card number, just with a different representation. The Format is called Wiegand26.
Also I added a XOR checksum check as it is described in the RDM6300 Manual.
Additionally I tried to Address the dependency Topic of #1105, but this is mostly untested, since I don't have this modules available. It would be very nice if someone could support here.