Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding PN532 ISO14443A Emulation Support #64

Merged
merged 3 commits into from Feb 5, 2019
Merged

Conversation

@salmg
Copy link
Contributor

@salmg salmg commented Feb 5, 2019

These changes will add PN532 emulation support; the PN532 will be able
to act as smart card. I tested in different Arduino versions: Nano, Uno & clones.
Also I tested it in an ESP32 and LoRa boards. So we are going to have fun.

There is no limitation with these changes.

@ladyada ladyada merged commit 3a33092 into adafruit:master Feb 5, 2019
@ladyada
Copy link
Member

@ladyada ladyada commented Feb 5, 2019

thanks - we didn't test this code but it doesnt conflict with existing library

@salmg
Copy link
Contributor Author

@salmg salmg commented Feb 5, 2019

A pleasure & thanks for your hard work

@Amitom
Copy link

@Amitom Amitom commented May 2, 2019

Hi, @salmg , I'm a newbie in this technology, but while I read the subject of this PR, I though the PN532 would be able to be read by a cellphone as a dumb Card (like a Adafruit 13.56Mhz RFID/NFC Card). Not only by PoS devices.

Did I totally misunderstand the functionality you added ? ^^

Thanks per advance :)

@salmg
Copy link
Contributor Author

@salmg salmg commented May 30, 2019

Hello @Amitom

It is more complex than that. You have to create a communication to a terminal, PoS or mobile application which could mimic the terminal role or PCD technology. This communication has to be implemented following the APDU protocol, and the example follows the payment system communication just to start a process and to show an example.

The functionality that I added is to start the communication from the PN532 as "smart card" or emulation mode instead of reader mode which could be useful to emulate different technologies, not just payment systems.

Because the APDU protocol could be useful for many different technologies, that is why I just added how to read data and how to respond to the device; the users that want to have a complete communication may use this as example to follow the set up process, but they need to develop the communication process following the APDU communication depending of their goals.

@Avinash3462

This comment has been minimized.

Copy link

@Avinash3462 Avinash3462 commented on abb4eed Jan 3, 2020

Getting timeout error at "nfc.AsTarget".
I am using the setup with Arduino uno.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants