adafruit / Adafruit_CircuitPython_PN532

CircuitPython driver for the PN532 NFC/RFID Breakout and PN532 NFC/RFID Shield
MIT License
91 stars 47 forks source link

Reading Encrypted card error #60

Open cookie196 opened 1 year ago

cookie196 commented 1 year ago

Hi,

Having a bit of a problem reading the encrypted data on a MiFare card, wondering if anyone can help. Using a Raspberry Pi with the PN532 Breakout, and the Adafruit 359 Classic 1K card that came with it.

I'm just attempting to use the sample pn532_readwrite_mifare.py. It's able to read the UID of the card just fine, but returns a error with a "Received Unexpected Command Response!" error every time it runs once it gets to the mifare_classic_authenticate_block() function. Tried a few different blocks, but still no luck.

I've attached a screenshot with the error, and would be grateful for any help with it. Thanks!

2023-01-23-160509