How to have PN532 switch between initiator and target mode in response to a phone or a card?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to have PN532 switch between initiator and target mode in response to a phone or a card?

317 Views
inkwelljoe
Contributor I

Good day everybody,

I am working on an application where the PN532 chip must work as a target (when user approaches the chip with their phone, it must emulate a tag) and also an initiator (when user approaches the chip with a Mifare card, read the card)

I read the PN532 user manual but wasn't able to find any command to automatically switch between this two. I found a "InListPassiveTarget" function to poll for passive cards nearby, and a "TgInitAsTarget" to set the chip as target and wait for an RF field, but no function to wait for an RF field and help the program decide which mode (initiator/target) it should be set to.

Is there a way to achieve my intended application with the PN532 chip? Thanks a lot

0 Kudos
0 Replies