What I am trying to achieve is changing the UID of a 7 byte MIFARE Classis 4k tag
In the example file "ChangeUID" in the MFRC522 library the MIFARE_SetUid() function takes the following arguments: newUid, (byte)4, true.
I tried changing the newUid variable to 7 hexadecimals instead of 4 and also changed the "4" in (byte)4 to a 7, but so far no luck.
Is there any way to modify the function so that it can change the UID of a 7 byte UID tag?
If you look at the source code, it should support 4,7 and 10 byte UIDs already. If you set logErrors to true (the last argument), what comes out on the Serial Monitor?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.