Questions tagged [nfc-p2p]

Peer-to-peer mode (P2P) for Near Field Communication (NFC) is a mode where two NFC devices can directly communicate with each other.

Peer-to-peer mode (P2P) for Near Field Communication (NFC) is a mode where two NFC devices can directly communicate with each other. Peer-to-peer mode is one of NFC's three operating modes (besides reader/writer mode and card emulation mode) and is standardized in ISO/IEC 18092 (NFCIP-1) and adopted by the NFC Forum's Analog and Digital protocol specifications.

NFC peer-to-peer mode supports different communication modes between two devices:

  • Active mode, where both devices alternately generate their own HF field.
  • Passive mode, where one device generates the HF field (similar to a contactless smartcard reader) and the other device operates as a passive target (similar to a contactless smartcard).
212 questions
5
votes
1 answer

How can I send a text string to another device via NFC?

I want to create a mini app just to read an NFC tag and later send to another device on Android. That part is done already and I can read the tag and I can print the string on a EditText. But I also want to send the text that I have read from that…
5
votes
1 answer

Android responds to PN532 InListPassiveTarget

I have a weird situation where I'm trying to toggle my PN532 between tag emulation and tag reader mode. The reader goes for ~70ms and the tag emulation runs for ~600ms. What I want to happen is that when I put my Android device near the antenna,…
John Kalberer
  • 5,690
  • 1
  • 23
  • 27
5
votes
2 answers

Is it possible to with one touch two Android devices exchange data via NFC?

I want to create an application to exchange information between 2 devices via NFC. I know how to make one mobile send information to the other using Android Beam. What I don't know is how two phones could send data to each other with just one…
diego.goncalves
  • 189
  • 3
  • 8
5
votes
2 answers

getting an android phone detected by an NFC reader/writer (Basic NFC)

If I have an NFC reader/writer device, can I get it to detect my NFC enabled android phone, so that I may be able to transfer data from my phone to the device? I have found some links on Stackoverflow related to card emulation but they all say that…
user13267
  • 6,871
  • 28
  • 80
  • 138
5
votes
0 answers

ACS ACR122 SDK Android Peer-to-Peer support?

I am looking to connect the ACS ACR122 to an Android tablet via USB using their SDK. This part works and I am able to read Mifare NFC cards. The problem: I am unable to read NFC smartphones like the Galaxy S3 or Nexus S when I tap against the…
5
votes
1 answer

NFC Peer2Peer Mode - Android Beam - ISO 18092

I need to find out how in Android Beam the P2P mode is managed. I found some general information about P2P: There is an active P2P mode (not recommended by NFC Forum) and a passive one (recommended by NFC Forum) where the passive device works like a…
ms88-aut
  • 375
  • 4
  • 13
5
votes
2 answers

Making NFC/Beam more automatic

I am adding NFC/Beam capabilities to my app and I would like it to work as automatically as possible. I would like to get rid of the "Touch To Beam" screen from the sender and the "New tag scanned" screen from the receiver. Basically, I want it to…
user306517
  • 523
  • 8
  • 21
4
votes
4 answers

Progress Dialog not show on screen

I edited my code according dear Mayank'answer but It does not show any message that is sended as input in displayMsg() method before method begines..I should say MethodTest() is started with nfc and in method onNewIntent(Intent…
Fatemeh
  • 177
  • 15
4
votes
2 answers

Android NFC: can I do bi-directional message exchange?

The Android NDEF Push Protocol Specification from Feb 2011 says: This allows for bi-directional NDEF exchange between NPP devices. Today is 2015, and I want a simple message exchange between two devices: Device 1 Device 2 "Hello" ---> …
18446744073709551615
  • 16,368
  • 4
  • 94
  • 127
4
votes
1 answer

Android NFC with USB-NFC-Reader

I have an Android tablet with Android 4.2. This tablet does not have NFC hardware. However I have an external USB reader: ACR 1252U, that came with an Android library. This library unfortunately only gives me basic functionality - read and write…
Michael B
  • 1,660
  • 3
  • 28
  • 59
4
votes
1 answer

How to only allow NFC interaction with devices that have the same application/activity running

I have an application that uses NFC. I want to limit the NFC interactions to other devices that are on the same activity of my application. Problem At the moment if I use a device A that has Chrome opened and my device B running my application,…
J_Strauton
  • 2,270
  • 3
  • 28
  • 70
4
votes
1 answer

NFC - Communication between devices in read/write

I know NFC Read/Write mode was designed for communication between an NFC reader or active device and an NFC tag or passive device. But there is a way for two NFC active devices to talk to each other being both in the NFC Read/Write mode?
davide.web
  • 95
  • 7
4
votes
4 answers

is there android mobile phones/devices which have NFC reader in front part of

I need first of all to know if there is Android mobile devices supporting NFC and which have its NFC reader on the front part of the mobile/on the screen. Goal: such device is planned to use in restaurant/museum for visitors with NFC cards which…
Kiryl Ivanou
  • 1,015
  • 2
  • 12
  • 22
4
votes
3 answers

P2P NFC Communication Between Galaxy S3 and ACR122

I'm working on a project which requires an NFC communication between an android phone and a PC. I am using Galaxy S3 as android phone and ACR122 as NFC reader. I have tried the applications at here and here. I used the sample application which found…
4
votes
2 answers

How to install Open NFC Simulator for Android?

I'm following these instructions to install and use Open NFC Simulator for Android. I can't find the Open NFC image they talk about in step 2. Any advice?
ask
  • 2,160
  • 7
  • 31
  • 42
1
2
3
14 15