Questions tagged [lib-nfc]

libnfc is the first libre, platform-independent, low level NFC SDK and Programmers API.

libnfc is the first libre, platform-independent, low level NFC SDK and Programmers API.

Official page: http://nfc-tools.org/index.php?title=Libnfc

83 questions
7
votes
1 answer

ACR122 NFC reader does not work with libnfc ubuntu

I just got myself a new ACR122U-A9 nfc reader that I need to set up with libnfc on ubuntu 18.10. It needs to work with libnfc because mfoc interfaces wit that (If there is a way to use mfoc without libnf, great! That solution would help me as well!)…
C. Dautermann
  • 109
  • 1
  • 10
7
votes
0 answers

libnfc with ACR122U gives no response on SELECT (by AID) APDU

See NFC reader "SELECT (by AID)" APDU is not routed to Android device on debugging and eventual results. TL;DR the reader might simply be defunct. I have ACR122U nfc reader. I try to run this example…
cliffroot
  • 1,839
  • 17
  • 27
5
votes
1 answer

Force PC/SC driver on ACR122U NFC reader

I have trouble with using my ACR122U RFID card reader form ACS. I need to connect it to my Mac using the PC/SC driver. I installed the driver from the ACS website and confirmed that it's running. However, whenever I test using the nfc-list command,…
rebellion
  • 6,628
  • 11
  • 48
  • 79
4
votes
2 answers

Why "No NFC device found" with libnfc and PN532 SHIELD

I installed the libnfc on my ArchLinux and i would use it through my Adafruit PN532 arduino SHIELD. nfc-list returns me the message "No NFC device found". I have the following file in /etc/nfc/devices.d/pn532.conf that gives me nfc-list uses libnfc…
user5329034
  • 110
  • 1
  • 1
  • 8
4
votes
1 answer

differences between pcsc-lite and libnfc

Can someone explain what is the difference/relationship between the two? Now I'm using GPShell + globalplatform + pcsclite too manipulate the NFC-enabled card. From my point of view (I don't know much about libnfc) pcsclite and libnfc do the same.
Qylin
  • 1,501
  • 1
  • 16
  • 26
4
votes
1 answer

low level access to nfc in an smartphone using libnfc

I would like to use libnfc on a smartphone (I can use both Android or Windows phones). I need low level access to the NFC device because the standard API does not allow me to perform all the actions I need. Is that possible? Is there a way to do…
Ariakan
  • 101
  • 1
  • 6
3
votes
0 answers

Libnfc is unable to set alternative usb interface

I just got an ACR122U for reading/writing on NFC cards. However, libnfc doesn't open the device properly (via nfc-scan-device command) I got the same problem with different machines (on Ubuntu 18.04). Usual errors concerning this piece of equipment…
3
votes
2 answers

libnfc: unable to open NFC device

I have a problem with libnfc on a Raspberry Pi 3B trying to read data from a PN532 card reader. I installed libnfc as the official site suggest to do and in fact it all worked this morning. I was able to detect my device using the nfc-list and…
3
votes
1 answer

Cannot send large APDU commands with libnfc using nfc_initiator_transceive_bytes()

I'm trying to build a C++ wrapper around libnfc to make a communication between my Android and the PN532 RFID module. This helped me a lot: http://nfc-tools.org/index.php/Libnfc:APDU_example This code is meant to send an APDU command where the body…
Omar Aflak
  • 2,918
  • 21
  • 39
3
votes
1 answer

Impossible to scan RFID tags using libnfc, PN532, and RPi3

I recently bought this NFC/RFID reader PN532 module V3 I want to use it with my raspberry pi 3. I have install and configured the library libnfc. The PN532 is connected with I2C. I have well enabled it on my RPi. My problem is that I cannot scan…
qcha
  • 523
  • 1
  • 5
  • 19
3
votes
0 answers

Android isoDep.getHistoricalBytes() is not working on some Mobile Phones

I am building an android app where I am want to read the historical bytes of the smart card. I am able to read the historical bytes on some mobile phones like Samsung s4(API 21),Sony Xperia E3(API 20), Famoco Fx100(API 17) etc. but not able to get…
kushal
  • 43
  • 6
3
votes
1 answer

libnfc: Write and read back custom data from NTAG

I have been trying for a long while now to write and read data from my NFC cards. The cards are NTAG216. I can use libnfc examples to read manufacturer ID and it works fine. But I need to write to each tag some custom data, e.g. the string "abcdefg"…
Stefano Mtangoo
  • 6,017
  • 6
  • 47
  • 93
3
votes
2 answers

Libnfc How to read NFC card content?

I'm trying to simply read an ISO 14443-2B ST SRx card content using ACR122 card reader. I've set up my environment with Libnfc and the proper reader driver. Right now I've managed to write a code that simply read the card UID and prints that…
d.lime
  • 393
  • 4
  • 15
2
votes
0 answers

How to configure endless polling for libnfc library?

nfc-poll command stops polling after 30000ms by default when using libnfc library. I need an endless polling when calling this command from the raspberry pi 3 b+ (raspbian stretch) command line. I´ve looked into the libnfc library source code and…
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
1
2 3 4 5 6