libnfc

libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API.

Libnfc is a free and open-source software library that provides a convenient and secure way to communicate with Near Field Communication (NFC) devices. NFC technology is widely used in various applications such as contactless payment systems, access control systems, public transportation, and electronic ticketing. Libnfc enables developers to easily build applications that interact with NFC devices without needing to understand the low-level details of NFC protocol.

Libnfc is designed to work with various NFC readers and tags, including ISO/IEC 14443 Type A/B, MIFARE, FeliCa, and NFC Forum Type 2 and 4 tags. The library supports a wide range of platforms, including Linux, Windows, and macOS, and is written in the C programming language.

One of the key features of libnfc is its support for secure communication with NFC devices. The library includes support for several cryptographic protocols, including DES, 3DES, and AES, which can be used to encrypt and decrypt data exchanged with NFC devices. This ensures that sensitive data, such as credit card numbers and personal identification information, remains secure and confidential.

In addition to security features, libnfc also provides developers with a simple and easy-to-use API for working with NFC devices. The library includes functions for reading and writing data to NFC tags, as well as for performing other common tasks such as authentication and key management.

Libnfc is also highly customizable, allowing developers to configure the library to work with specific NFC readers and tags. This enables developers to optimize their applications for specific use cases and to ensure that they work seamlessly with the NFC devices they are targeting.

One potential limitation of libnfc is that it requires a certain level of technical expertise to use effectively. Developers need to have a good understanding of the NFC protocol and cryptography to make the most of the library's features. However, there is a large and active community of developers who use and contribute to libnfc, so there are many resources available for those who need help.

Overall, libnfc is an excellent tool for developers who need to work with NFC devices. Its support for secure communication, customizable features, and easy-to-use API make it a powerful and flexible tool for building applications that interact with NFC devices.

libnfc-bin

Supports most hardware based on the NXP PN531, PN532 or PN533 controller chips.

This package contains some utils that come along with libnfc, for development or debugging purposes (including nfc-list, nfc-mfclassic, nfc-mfultralight, etc).

Installed size: 206 KB How to install: sudo apt install libnfc-bin

Dependencies:
  • libc6

  • libnfc6

nfc-barcode

NFC Barcode (Tag-Talks-First) reader

:~# nfc-barcode -h
Usage: nfc-barcode [OPTIONS]
Options:
	-h	Help. Print this message.
	-q	Verbose mode.

nfc-emulate-forum-tag4

NFC Forum tag type 4 emulation command line demonstration tool


nfc-jewel

Jewel command line tool


nfc-list

List NFC targets


nfc-mfclassic

MIFARE Classic command line tool


nfc-mfultralight

MIFARE Ultralight command line tool


nfc-read-forum-tag3

Extract NDEF Message from a NFC Forum Tag Type 3


nfc-relay-picc

Relay demonstration tool for ISO14443-4


nfc-scan-device

Scan NFC devices


libnfc-dev

libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips.

This package contains the header and development files needed to build programs and packages using libnfc.

Installed size: 361 KB How to install: sudo apt install libnfc-dev

Dependencies:
  • libnfc6

  • libusb-dev


libnfc-examples

libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips.

Some examples are provided with libnfc for debugging and/or educational purposes (nfc-anticol, nfc-emulate, etc.).

Installed size: 184 KB How to install: sudo apt install libnfc-examples

Dependencies:
  • libc6

  • libnfc6

nfc-anticol

Demonstration of NFC anti-collision command line tool based on libnfc


nfc-dep-initiator

Demonstration tool to send/received data as D.E.P. initiator


nfc-dep-target

Demonstration tool to send/received data as D.E.P. target


nfc-emulate-forum-tag2

NFC Forum tag type 2 emulation command line demonstration tool


nfc-emulate-tag

Simple tag emulation command line demonstration tool


nfc-emulate-uid

NFC target emulation command line tool based on libnfc


nfc-mfsetuid

MIFARE 1K special card UID setting and recovery tool


nfc-poll

Poll first available NFC target


nfc-relay

Relay attack command line tool based on libnfc


libnfc-pn53x-examples

libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips.

Some PN53x-only examples are provided with libnfc for debugging and/or educational purposes (pn53x-sam, pn53x-tamashell, etc.).

Installed size: 84 KB How to install: sudo apt install libnfc-pn53x-examples

Dependencies:
  • libc6

  • libnfc6

pn53x-diagnose

PN53x diagnose tool


pn53x-sam

PN53x SAM communication demonstration tool


pn53x-tamashell

PN53x TAMA communication demonstration shell


libnfc6

libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips.

This package contains the runtime library files needed to run software using libnfc.

Installed size: 201 KB How to install: sudo apt install libnfc6

Dependencies:
  • libc6

  • libusb-0.1-4


Last updated

Was this helpful?