Acr122:
Using an ACR122 device with libnfc and without tag (e.g. to use NFCIP modes or
card emulation) needs yet another PCSC-lite tweak: You need to allow usage of
CCID Exchange command. To do this, edit libccid_Info.plist configuration file
(usually /etc/libccid_Info.plist) and locate <key>
ifdDriverOptions</key>,
turn <string>0x0000</string> value into 0x0001 to allow CCID exchange or
0x0005 to allow CCID exchange and bogus devices (cf previous remark) and
restart pcscd daemon.
Warning: if you use ACS CCID drivers (acsccid), configuration file is located
in something like: /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist
Building
Note: If working directly from a git clone of the repository, some of the files need to be generated first. To do this run
autoreconf -vis
Configuration
In order to change the default behavior of the library, the libnfc uses a
configuration file located in sysconfdir (as provided to ./configure).
A sample commented file is available in sources: libnfc.conf.sample
If you have compiled using:
./configure --prefix=/usr --sysconfdir=/etcyou can make configuration directory and copy the sample file:
sudo mkdir /etc/nfc
sudo cp libnfc.conf.sample /etc/nfc/libnfc.confTo configure multiple devices, you can either modify libnfc.conf or create a
file per device in a nfc/devices.d directory:
sudo mkdir -p /etc/nfc/devices.d
printf 'name = "My first device"nconnstring = "pn532_uart:/dev/ttyACM0"n' | sudo tee /etc/nfc/devices.d/first.conf
printf 'name = "My second device"nconnstring = "pn532_uart:/dev/ttyACM1"n' | sudo tee /etc/nfc/devices.d/second.confFeitian br500 and r502:
Libnfc can work with PCSC proprietary driver of bR500 and R502, which is already available on most Linux setups.
To activate the PCSC support: ./configure —with-drivers=pcsc.
Readers known to work:
- Feitian bR500
- Feitian R502 Dual interface reader
- Feitian R502 CL(Contactless) reader
These readers are support by CCID since v1.4.25, make sure your CCID driver version higher or equal to 1.4.25.
Nfc rfid reader/writer with sdk — products
D-Logic RFID NFC Reader/Writer tools are primarily designed for software developers and system integrators. Our RFID NFC devices and RFID NFC Reader SDK are fully featured tool for a new system’s development, such as:
- Digital Signing (RSA, ECDSA), used for document signing, transactions signing, cryptocurrencies, etc
- Cashless payment. e-kiosks, vending machines, cafeterias
- Industry automation
- High-security access control (DES, 3DES and AES encryption, PKI infrastructure)
- Bus ticketing. Bus fare collection, monthly tickets
- Hotel systems. Room management, room access, room power supply management
- Parking systems
- Time attendance
- Customer loyalty
- NFC tag programming (NDEF, URL, vCard, SMS, Call, WiFi connect)
§
DL533N USB Dongle is a USB NFC RFID reader writer for NFC RFID cards and tags reading and writing as well as NFC P2P communication.
It’s been developed on the basis of the NXP PN533 chip, following the manufacturers’ recommendations and guidelines. NXP PN533 supports the full range of the NFC Forum specifications and standards.
This RFID product is fully supported by the open-source library LibNFC. Therefore, it is a good starting point for NFC application development projects on various platforms.
Using LibNFC libraries and examples are well explained at the LibNFC community and forums.
LibNFC is an open-source project with a large community that is in constant development. OEM card size reader corresponds to the IP54 standard and it is dust and water splash resistant.
Pn533 usb device on linux >= 3.1:
Since Linux kernel version 3.1, a few kernel-modules must not be loaded in order
to use libnfc : «nfc», «pn533» and «pn533_usb».
To prevent kernel from loading automatically these modules, you can blacklist
them in a modprobe conf file. This file is provided within libnfc archive:
sudo cp contrib/linux/blacklist-libnfc.conf /etc/modprobe.d/blacklist-libnfc.confProprietary notes
FeliCa is a registered trademark of the Sony Corporation.
MIFARE is a trademark of NXP Semiconductors.
Jewel Topaz is a trademark of Innovision Research & Technology.
All other trademarks are the property of their respective owners.
Requirements
Some NFC drivers depend on third party software:
pcsc:
- Support build with pcsc driver, which can be using all compatible readers, Feitian R502 and bR500 already passed the test.
Scl3711:
Libnfc cannot be used concurrently with the PCSC proprietary driver of SCL3711.
Two possible solutions:
- Either you don’t install SCL3711 driver at all
- Or you stop the PCSC daemon when you want to use libnfc-based tools
Touchatag/acr122:
If your Touchatag or ACR122 device fails being detected by libnfc, make sure
that PCSC-lite daemon (pcscd) is installed and is running.
If your Touchatag or ACR122 device fails being detected by PCSC-lite daemon
(pcsc_scan doesn’t see anything) then try removing the bogus firmware detection
of libccid: edit libccid_Info.plist configuration file (usually
/etc/libccid_Info.plist) and locate <key>





