ondryaso / pi-rc522

Raspberry Pi Python library for SPI RFID RC522 module
MIT License
417 stars 149 forks source link

Doubts #39

Open italootavio opened 7 years ago

italootavio commented 7 years ago

1 - What are authentication methods A and B? 2 - Why does the read_out () method always display the message "Not calling card_auth - already authed"?

DBX12 commented 6 years ago

The auth methods A and B are two methods to authenticate to the chip on the Smart card. Most times you can set permissions on data blocks which can differ depending on the used key. (e.g. key A allows read-write to the data block, key B only allows reading) This is defined in ISO/IEC 14443 if I'm not mistaken.

For your second question, I guess you set util.debug to true at the beginning of your code