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

How to configure libnfc to use a specific device?

I have a Raspberry PI with two NFC readers attached. Problem is that the readers get different device numbers each time the system reboots or a reader is detached and attached again. I therefore created udev rules that create a fixed device name…
1
vote
0 answers

Disable pn53x_check_communication: Input / Output Error message

I'm using libnfc 1.7.1 compiled with c to read from a PN532 reader on a Raspberry Pi. The goal is to make a node for Node-RED that injects the UID of the scanned card or pass errors along about library or reader. I modified the example to give me…
Adam
  • 11
  • 1
1
vote
1 answer

Does libNFC only support READ, WRITE and COMP_WRITE

A Week ago I bought a NFC Reader (PN532 I2C) and 5 NFC Tags (NTAG216), the goal was to create an interface for Java, so I can use Java for my project. The interface is working as expected, but when I tried all the commands that the NTAG216 supports…
1
vote
1 answer

RFIDIOt with libNFC on Windows 7 x64

I'm trying to use RFIDIOt with libnfc-1.7.0-rc7 on Windows 7 64 bit. I compiled dll from sources and it works perfect with programs like nfc-poll.exe and so on. But now I want to write a program on python 2.7 with libNFC. I want to use RFIDIOt to…
User0307
  • 19
  • 5
1
vote
0 answers

can I use the libnfc for any (different manufacturers) NFC reader module?

I want to use the NFC reader with i-MX6 based custom board which is running on linux kernel.The module I have is AMS AS39111B .I want to access this module using C programming thats why I was searching the API ? I found libnfc.Now, my question is…
shree97
  • 41
  • 4
1
vote
0 answers

NDEF format for WiFI Pairing Data

I have derived the WiFI Authentication and Encryption data format by writing it and then reading it from an application running on microcontroller. Can some one please tell me the macros or values for the Authentication type…
Raulp
  • 7,758
  • 20
  • 93
  • 155
1
vote
1 answer

Problems reading and writing MIFARE cards

When I'm triying to read or write a MIFARE Classic card I get the following output: nfc-mfclassic r a mfoc_output.mfd mfoc_output.mfd NFC reader: ACS / ACR122U PICC Interface opened Expected MIFARE Classic card with UID starting as: 00000000 Got…
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

Format/Read/Write NDEF Mifare 1K Card using libnfc

I am new to NFC and I want to learn more about this, so I bought a PN532 NFC shield from Adafruit and a couple of Mifare 1K Card. Now I have installed successfully Libnfc on Windows 8 and it works fine, I can use nfc-list. I have tried to install…
wald
  • 93
  • 1
  • 2
  • 9
1
vote
1 answer

ACR122U Sending Direct commands returning -2 and Segmentation fault

I am trying to send a direct command to the ACR122U reader. The simplest one I have is: FF 00 48 00 00 This command is suppose to return the Firmware version. Using the ACR122U tool I can see that it works fine. I am trying to use…
AntonioCS
  • 8,335
  • 18
  • 63
  • 92
1
vote
1 answer

Reading correct data from NFC wrist band with NXP Mifare Ultralight in C

I am very new to NFC devices reading but I have managed to implement in my own project using the code from nfc-mfultralight.c (libnfc). What I don't understand is that when I read the data from a MIFARE Ultralight band, I get lots of garbage. For…
AntonioCS
  • 8,335
  • 18
  • 63
  • 92
1
vote
0 answers

Connecting to ACR122 on centos

I have an ACR122 and I am trying to connect to it using lib-nfc. (is this the correct step?) I don't have much knowledge regarding NFC (any links for beginners in C for linux are appreciated) I have lib-nfc on my machine (centos 6.5 64bit) and if I…
AntonioCS
  • 8,335
  • 18
  • 63
  • 92
0
votes
0 answers

how link with -lnfc in CLion?

I found my problem in issues, but I don't know how link in CLion you need to link with -lnfc I using gcc -o readerpnv main.c -lnfc, but honestly I don't like this way. I try add -lnfc to build options, he wrote Unknown argument -lnfc versions P.S.…
0
votes
0 answers

Libnfc installation on Rhel 8 for ACR122U nfc reader

this is my first time asking a technical question in a community, so please excuse my clumsiness I'm working on a Rhel 8 and I have to read nfc data with an nfc reader ACR122U, for configuring it, I need several libraries as pcsc-lite,libnfc. I'm…
0
votes
0 answers

NFC pendingIntent

Just to ask what is this issue that is appearing with android studio when i entered with NFC onCreate() method where the flag i input is 0 but is stated to insert pendingIntent, im not sure what does it means? NfcAdapter mAdapter; …
Joel Tan
  • 11
  • 2