Search code examples
androidnfcnfc-p2p

Peer-to peer mode communication between multiple NFC devices


In Android,

  • Is it possible to get a list of all nearby NFC devices and choose one to connect to (in peer-to-peer mode)? Or poll through all of them one after another?

Thanks in advance, Cheers.


Solution

  • That's not how NFC works.

    1. The NFC radio interface is designed for very short distances only. Typically, two devices need to (almost) touch each other (with their NFC inductive loop antennas stacked on top of each other) to discover each other.
    2. While NFC controllers technically support handling of multiple passive targets (e.g. NFC tags and other peer-to-peer devices in passive target mode), the Android system is currently designed to enumerate and handle only one target device.