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
3
votes
1 answer

NFC Programming in Android and ACR122U reader

I need to write some data into an NFC tag, the tag I need is not a physical NFC tag but I need to make a tag programatically and write my data into it (card emlation or peer-to-peer mode). This tag which I make in the phone has to be readable by the…
Binoy S Kumar
  • 289
  • 4
  • 9
3
votes
1 answer

Capture the Beaming progress and show on a progress bar

I am developping an application that uses Android Beam. What I would like to know is if there is a way to capture the current receiving Beam and to visualize the progress in a progress bar so that the user gets a visual feedback of the transferring…
3
votes
2 answers

How get Android Phone UID in NFC

I need to know how to get the phone UID when read by an NFC reader. The reader has to uniquely identify my phone so that it can be used to open a door. Do you know if this is possible? I've been looking and have not found how. In the event that it…
3
votes
1 answer

NFC C# Application

Hi I don't know if this is possible because I have been searching for hours with no leads. I want to make a C# program on desktop that is connected to the ACR122u reader. I want to be able to read and store the NDEF message value as a string for…
Vesprawn
  • 59
  • 1
  • 2
  • 6
3
votes
1 answer

Communicate two Android phones with NFC without Android Beam

I am working with NFC in Android. I have done things with NFC tags and Android Beam, but I am wondering if is possible to communicate two Android phones with NFC without Android Beam. I mean, I want to transfer some information, like a text or a URL…
Alexrs95
  • 392
  • 1
  • 3
  • 13
3
votes
1 answer

Problems with BluetoothServerSocket.accept() returning unconnected BluetoothSocket

I'm working on making an Android application (EDIT1: developing on 4.0.3 on Nexsus S's) that shares data P2P over Bluetooth and have run into a nasty snag on making the two devices connect. Our app uses NFC to pass the MAC address of one device to…
Mr. Robot
  • 65
  • 1
  • 5
2
votes
1 answer

Send long NDEF message from acr1252u to iOS/Android device

I'm developing an application in Java, where I want to send a URL in an NDEF message, which then gets opened on a mobile device. I was able to do this through the acr1252u's Card Emulation Mode with Mifare Ultralight for a URL for example…
2
votes
1 answer

P2P NFC Communication Between Android Phone(Nexus S) and NFC Reader?

I need to establish a P2P connection between my Nexus S and a NFC Reader which is attached to my desktop. Can anybody tell me how to do that. I do not even know how to start. Please Reply Soon. Thanks & Regards, Rahul
Rahul
  • 739
  • 4
  • 15
  • 31
2
votes
0 answers

Can we write NDEF message to Android HCE?

I have read the Android HCE document on google developer site. However, the whole document only told us how a NFC reader can read the HCE. So, I want to ask whether android HCE supports 'WRITE' action i.e. writing a NDEF message to HCE by an iPhone…
CodeMonkey
  • 94
  • 2
2
votes
1 answer

Android HCE with NDEF format and use iOS CoreNFC reader app to read it

I have developed an android app with HCE function and want to send the string to iPhone by CoreNFC. So I have used NFCReaderiOS, this example to verify whether success or not. The following code is the android part that I used to return data to the…
CodeMonkey
  • 94
  • 2
2
votes
1 answer

How to use NFC (HCE/Tag/Peer-Peer) or any other way to communicate between ios 11+ and android API 23+, its 2018 hasn't there been any upgrades?

First things first, I am writing this question after researching quite a bit. Broader View of the issue In this day and age, we require a more reliable way to perform peer-to-peer communication, preferably using technologies like NFC. I mean we are…
k007sam
  • 41
  • 1
  • 11
2
votes
1 answer

Get started on NFC P2P communication between Android and Linux (libnfc)

Eventually, I need to implement a cryptographic protocol between an Android device and a Linux host that has a NFC adapter using libfc. I have never used NFC before with Android. At the moment my idea is to use NFC in Peer-to-Peer mode in the…
user2690527
  • 1,729
  • 1
  • 22
  • 38
2
votes
1 answer

NFC card emulation with closed reader application

I have two apps on two Android devices, similar to CardEmulation and CardReader from the samples for NFC. I want to send data from the host card emulation app running on one Android device to the reader application running on the second Android…
Vitaliy L
  • 572
  • 4
  • 20
2
votes
1 answer

How do I activate NFC without a readable/writable device nearby?

For an engineering project I need to basically trick my phone to come out of NFC searching mode and into a mode where the phone is continuously putting out energy. Obviously I have activated NFC in the settings, but the only way I can trick it into…
Marko
  • 21
  • 1
2
votes
1 answer

Receive NFC/NDEF message from Android phone to Raspberry Pi

I have an Android app which sends an NDEF message only containing a few words. I can receive that message on another Android device but I would like to be able to receive the message on a Raspberry Pi. Or is NDEF message exchange only an Android to…
Scott Hollas
  • 57
  • 1
  • 2
  • 9