Closed aalistarh closed 1 year ago
Did you get it working?
Hi @JohnMaree , no I did not manage to get it up and running.
Hi aalistarh . Did you get something? Is there good news?
Hi Maitone,
At the moment I have stopped working on the project and I have not managed to clone with PN532.
Hope you find a solution.
Best, Cristian.
On 12 Mar 2017 7:53 p.m., "Maitone" notifications@github.com wrote:
Hi aalistarh . Did you get something? Is there good news?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adafruit/Adafruit-PN532/issues/28#issuecomment-285970944, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFrq3vUWIiML5tehPgHLJCKtOWbDOdrks5rlE1SgaJpZM4KD1O8 .
sorry to necro this issue, but i managed unlock the backdoor adding some functions from @AxisRay mifarecloner repo into Adafruit's library perhaps its in a bit dirty way to do it but it works, i managed to write to an UID changeable block 0 and also read the whole card without authenticating after unlocking the backdoor
@SigmaDolphin how did you manage to do this?
@aejb you can check on my fork of the PN532 library, and check for the differences or use mine altogether, i just included those functions and you can unlock your card with just calling the "UnlockBackdoor();" function i haven't done a pull request because i believe its very sloppily implemented, also, it doesn't gives feedback if the unlock was successful or not, to make sure it works you could try reading all blocks of the card, or try writing to it right after you try to unlock it, without calling the "mifareclassic_AuthenticateBlock", if the action is successful it means your MiFare does have the backdoor
Closing. Looks like not an issue but a request for help implementing a feature.
Hi there,
I am working on a project which uses changeable UID cards and I would need to have a library on Arduino which could do that, but not using a different hardware like the RC522. The library from miguel balboa is very good in this respect, but it does not apply to the PN532. I know that you could change the UID of the card using libnfc, but that could not work on Arduino because it needs a full OS to be installed. I would therefore like to ask your help on writing such an example as we would find for the RC522.
I have inspected the PN532 code for mf-setuid and I have found that it would be possible to adapt the code for Arduino, so please see what I have managed to write so far:
The code work up until the first transmit_bits command. I get the reponse 0x93 and 0x20 but I afterwards get and error with 0x81 which means there is a problem at the high level. I am thinking I must be missing a command of some sort.
If there are any volunteers for this, your help is much appreciated.
Thanks, Cristian