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

Identify P2P hardware available in device

Is there any way to identify whether NFC p2p hardware available or not in device?
raghu
  • 30
  • 5
0
votes
0 answers

NFC send large file to another devices

How do I send files to and from devices using NFC beam. I tried the Google tutorials to send a file and receive a file I searched around the internet and didn't find any good tutorials.
androidAhmed
  • 227
  • 1
  • 4
  • 16
0
votes
1 answer

NFC Beam from phone to desktop

I need to send .doc file from my Nexus 5 phone to a Windows 8 desktop (with an ACR122U-A9 NFC reader connected to it). Similar projects I have found use LLCP/SNEP protocol (such as Android Beam that can be found in this link:…
sulyakas
  • 35
  • 4
0
votes
2 answers

Why does Android NFC not work with my Activity?

Once I modified an Android app and added NFC capabilities. But it just didn't work. The "Tap to Beam" just would not appear. Long story short. The app had: getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE);
Harald Hoyer
  • 1,303
  • 1
  • 8
  • 8
0
votes
1 answer

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.
LonelyDeveloper
  • 424
  • 8
  • 15
0
votes
1 answer

Using setNdefPushMessage in loop in Android

Can I send multiple NDEF messages using setNdefPushMessageCallback or setNdefPushMessage like in a loop from one activity in Android?
Sathiya
  • 53
  • 10
0
votes
1 answer

PN532 Normal Frame limitation and How to Use Extended Frame

I am using PN532 with Raspberry Pi OS. I am able to communicate with Nexus 4. But PN532 reader is able to read max 134 bytes from the Nexus 4 phone. I am expecting to read more than 10k bytes. Please help me how to read so much bytes in one shot.…
0
votes
2 answers

Tranferring huge data through NFC reader/writer to NFC enabled android phone

As far as I know, what android did with NFC enabled transferring is that, when both phone recognized each other through NFC, they called up wifi in p2p/ad-hoc mode to do the transfer of music, pictures and etc. Correct me if I'm wrong here. So I'm…
0
votes
1 answer

Peer-to-peer between PN532 on RPi and Nexus phone

I am trying to create a simple message exchange between a Nexus 3 phone and a raspberry Pi with an adafruit NFC breakboard (PN532 chip). I have compiled the latest libnfc1.71 library and ran the examples: pi@raspberrypi…
AlexandruC
  • 3,527
  • 6
  • 51
  • 80
0
votes
1 answer

Raspberry NXP EXPLORE-NFC cannot detect Android Phone

I have installed a NXP NFC-ExploreNFC in Raspberry, when I run the sample card_polling program, it can detect my JIS X 6319-4 compatible card, however, it cannot detect my Samsung Note II (NFC is enabled). Is there any extra setup required in…
0
votes
2 answers

Getting phone information by NFC pairing

I'm working on an application for a kiosk where I want to add NFC pairing capabilities with smartphones for 'quick identification'. The kiosk has an NFC reader attached. Here's what I want to do: As soon as an NFC enabled smartphone is touching the…
Uri Abramson
  • 6,005
  • 6
  • 40
  • 62
0
votes
1 answer

Android: Converting NDEF record payload from bytes to int

Curious as to how to convert the payload in my NdefRecord from the string it goes into, into an integer that can be used in the rest of my application. The parseint and valueof methods cause my application to crash. Somehow managed to narrow the…
XJohnnyyyx
  • 15
  • 5
0
votes
1 answer

Is it possible to perform multiple read and write operations on an NFC Tag from an Android device

I have been researching on whether it is possible to perform multiple read and write operations on an NFC device using an Android application. I have found that Android Beam is used for a peer-to-peer (P2P) type exchange of data between two devices,…
James Meade
  • 1,147
  • 5
  • 22
  • 46
0
votes
1 answer

Nokia lumia 620 WP8 having issues to recognize NFC event

I developed an application that consist of data exchanging over NFC from a phone to a NFC reader (pn532). The whole project works fine with android however on WP8 I am having problems to read from the Arduino. I checked the LLCP protocol and seems…
Pablo Valdes
  • 734
  • 8
  • 19
0
votes
1 answer

onNewIntent is not being called for android nfc implementation without enabling android beam

I have been working on nfc samples for Peer-To-Peer mode. I have implemented onResume method in two different way, for initiator mode and target mode as below: For Initiator Mode: mAdapter.setNdefPushMessage(getTestNdefMessage(), this); and For…
sam18
  • 631
  • 1
  • 10
  • 24