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
1
vote
1 answer

NFC Android Beam

Is it possible to read and write data from and to a NFC chip that isn't implemented in an Android device? In the Android docs I can only find the Android Beam possibility but this is only for two Android devices? So I want to install an NFC chip in…
Janine Kroser
  • 444
  • 2
  • 6
  • 23
1
vote
0 answers

Samsung S3 mini NFC Service has Stopped (4.1.2)

I was working with NFC in my application and I have tested on samsung s4, nexus 4, xperia z3 and it worked perfectly. However, testing on an s3 mini the callback seems to loop and then a popup occurs saying NFC service has stopped working. I was…
DJ-DOO
  • 4,545
  • 15
  • 58
  • 98
1
vote
1 answer

Disable Android beam for certain fragments

I need to disable beam and enable on certain fragments. So I have base fragment, vendor fragment and product fragment. In base fragment onResume I call: NfcAdapter adapter =…
DJ-DOO
  • 4,545
  • 15
  • 58
  • 98
1
vote
1 answer

ID for NFC devices in NFC P2P communication

I would like to know whether NFC P2P requires something like a MAC address that needs to be configured to be used for identification while creating a link layer connection or maybe even at transport layer connection. I could see some details in…
droidsoc
  • 11
  • 1
1
vote
0 answers

How to send Text RTD Record from nfc to android?

I am trying to communicate nfc module pn532 with Android mobile. I used itead nfc module interface with rasberry pi and using libnfc(1.7.1) and libllcp for communicate with mobile. After run libllcp test program (snep-client.c) example, $…
Ratnesh69
  • 11
  • 3
1
vote
1 answer

How to send bytes[] by NFC

How can I send raw bytes by NFC P2P. I've got this on sender side: private static NdefRecord createByteRecord(final byte[] b){ final byte[] data = new byte[b.length + 1]; data[0] = (byte) 0x0; System.arraycopy(b, 0, data, 1, b.length); …
Remasky
  • 13
  • 3
1
vote
1 answer

Android Beam and SNEP to pn532

we are trying to send a big file from an android phone to a mikroprocessor via nfc-p2p, android-beam and snep. This is what we have so far. I can connect the pn532(target) with the phone(initiator). My android app uses setNdefPushMessage to send a…
1
vote
0 answers

Android Beam: mimetype between different apps

I am working with android beam to send data using NFC between two different apps, I have tested code from different answer, I have changed parameters, etc., and I always obtain the same result: The other device open or try to open the same app in…
impilar
  • 11
  • 5
1
vote
0 answers

NFC Android App acting differently on different phones

I have currently been testing some examples being found on the internet on sending NDEF messages through the NFC on my android phone. I have three phones that I tested the phone with: Samsung Galaxy Nexus (Android 4.4.4), S3 (Android 4.4.2) and S4…
BillyWaz
  • 11
  • 3
1
vote
1 answer

Android NFC: one activity to send and one to receive only

I want my ActivityNFCSender to send an integer to my ActivityNFCReceiver via NFC. The below code works. But there is a problem: when connection is established, BOTH activities display the prompt to send! But I want only the first one to be able to…
Yar
  • 4,543
  • 2
  • 35
  • 42
1
vote
2 answers

How to make an Android phone act like a contactless (NFC) terminal

In order to help debug a HCE app I would like to make an Android phone act as a contactless terminal. Is this possible without rooting the phone and using NFCProxy? (http://sourceforge.net/projects/nfcproxy/) i.e. I have two phones and want to run…
Paul Hilliar
  • 579
  • 6
  • 8
1
vote
1 answer

NFC on Android Application

I'm developing two applications that use NFC on Android 4.3 for peer-to-peer communication, I have three questions about it. Can NFC on Android exchange data between two applications with only 1 beam? If it can how to do that and if it cannot then…
Bandi Su
  • 125
  • 2
  • 12
1
vote
1 answer

How do I send NDEF message from Android to NFC USB reader

I want to reopen old question about the possibility to send one NDEF message from Android (using Android Beam) to a PC based nfc reader. Does someone know if i can achieve it? I need also to know if exist a usb nfc reader with keyboard emulation…
Osiride
  • 11
  • 4
1
vote
2 answers

S Beam takes priority over my NFC app

Hi I have two Samsung galaxy S4. I developed an NFC based android app that will beam simple text to the phone in contact (target phone) when a button is touched on the phone that runs the app(source phone). My problem is that when I run my app on…
Archit Arora
  • 2,508
  • 7
  • 43
  • 69
1
vote
1 answer

NFC card emulation

I would like to write an application where I can store NFC tag on my phone so that NFC readers can access it. For example storing a boarding card on phone so that it can be accessed by NFC reader at the airport. I guess it can be implemented beaming…
Androidme
  • 3,145
  • 3
  • 24
  • 27