Hi, I am using the RC522, nfc ring (ultralight or ultralight c) and an Uno R3 with the MCRC-Library/Example from: GitHub - ljos/MFRC522: Arduino RFID Library for MFRC522
I would like to read previously written data from the nfc-tag.
The problem is, that I can not access the data on the nfc-tag. I always get authentification errors...
I thought that the problem is the authentication key. So I changed it from
byte keyA[6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, };
to
byte keyA[16] = {0x49, 0x45, 0x4d, 0x4b, 0x41, 0x45, 0x52, 0x42, 0x21, 0x4e, 0x41, 0x43, 0x55, 0x4f, 0x59, 0x46};
which should be the right one according to several internet sites.
But I still get that error.
This script (with old key) works with other tags, that I have (Mifare Classic). So I doubt that there is a principle error.
I have also found another example which works. There, the key is read by
mfrc522.PICC_DumpToSerial(&(mfrc522.uid));
Without any visible authentication whatsoever.
Could anybody tell me which key this "DumpToSerial" uses? Or is there another function like mfrc522.PICC_DumpToArray or so?^^
Thank you very much!