miguelbalboa / rfid

Arduino RFID Library for MFRC522
The Unlicense
2.75k stars 1.43k forks source link

Update MFRC522.cpp #529

Closed lepolo2001 closed 4 years ago

lepolo2001 commented 4 years ago

Add possibility to dump tag with key B

Q A
Bug fix? no
New feature? yes
Doc update? no
BC breaks? no
Deprecations? no
Fixed tickets #...
lepolo2001 commented 4 years ago

I used this library to analyse some tag but, in contrary of dump samples, it was not keyA that I need but Key B, so I improve library to add possibility to user to choose. Compatibility is not broken, existing functions use new one with additional parameter value PICC_CMD_MF_AUTH_KEY_A.