caffrey Posted July 25, 2017 Posted July 25, 2017 (edited) Trying to wrap my head around this, (not easy when a joiner is fitting a new door to my office) I've a cheap USB mifare reader (M301) It reads the code like so into notepad :- (example) 2981728827 But the Paxton reader reads it as :- 999471537 I've worked out that Paxton is taking the hex of 2981728827 (which is B1 B9 92 3B) "reversing" it to 3B 92 B9 B1 then converting this to decimal (which comes out as 999471537) Any clues as to why it does this ? I suspect it's down to the cheap USB reader as the PAXton reader matches up with the card ID Edited July 25, 2017 by caffrey
mavhc Posted July 25, 2017 Posted July 25, 2017 That's how numbers are stored in little endian format. The USB reader is assuming big endian format https://en.wikipedia.org/wiki/Endianness 1
Edu-IT Posted July 25, 2017 Posted July 25, 2017 You need a reader you can configure to set it to read the cards in a particular way, I believe. 1
localzuk Posted July 25, 2017 Posted July 25, 2017 If you need a decent reader that you can configure etc... Look at the Inepro SCR708. That's what we've used on our copiers. We got them here. 1
caffrey Posted July 25, 2017 Author Posted July 25, 2017 Thanks all, just had me baffled - I'm sure that this reader has read the cards right in the past too, as I had the correct number in for the one I was testing and I can't remember doing anything different
IrritableTech Posted July 25, 2017 Posted July 25, 2017 I made a reader using an arduino and a PN532 module. I keep meaning to make it self contained with a LCD screen to display the number - one of these days.
caffrey Posted July 25, 2017 Author Posted July 25, 2017 I'll write something when I batch import into Paxton, I was just curious as to what was going on when I was manually adding them Shame the Paxton reader itself only works for the net2 software @IrritableTech - sounds interesting - I'm always up for DIY
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now