First you will need to ensure you have PySerial installed by trying to "import PySerial" while running Python's IDLE. If you receive an error:
- Install python's setuptools: apt-get install python-setuptools
- Install PySerial: pip install pyserial
Why didn't ser.read(12) return the same unique identifier as what is written on the fob?:
- If the key on the card says 30788590 and the reader returns 3501D5CBEE. The "1D5CBEE" part is the card number. Try going from the card number in DEC to HEX it in the windows calculator while it's in scientific mode if you don't believe me.