Examples using libnfc
The libnfc-examples package contains examples demonstrating the functionality
nfc-anticol nfc-anticol is an anti-collision demonstration tool for ISO/IEC 14443-A tags, performed by custom constructed frames. The first frame must be a short frame... nfc-dep-initiator nfc-dep-initiator is a demonstration tool for putting NFC device in D.E.P. initiator mode. This example will attempt to select a passive D.E.P. target and... nfc-dep-target nfc-dep-target is a demonstration tool for putting NFC device in D.E.P. target mode. This example will listen for a D.E.P. initiator and exchange a simple... nfc-emulate-forum-tag2 nfc-emulate-forum-tag2 is a demonstration tool that emulates a NFC-Forum Tag Type 2 with NDEF content. Some devices compliant with NFC-Forum Tag Type 2 can be... nfc-emulate-forum-tag4 nfc-emulate-forum-tag4 is a demonstration tool that emulates a NFC Forum tag type 4 v2.0 (or v1.0) with NDEF content. -1 can be provided to force old Tag Type 4... nfc-emulate-tag nfc-emulate-tag is a simple tag emulation tool that demonstrates how emulation can be done using libnfc. Currently, this tool partially emulates a Mifare Mini... nfc-emulate-uid nfc-emulate-uid is a tag emulation tool that allows one to choose any tag UID. Tag emulation is one of the main added features in NFC. But to avoid abuse of... nfc-jewel nfc-jewel is a Jewel tool that allows one to read or write a tag data to/from a DUMP file. Jewel tag by Broadcom, previously Innovision, uses a binary Dump file... nfc-list nfc-list is a utility for listing any available tags like ISO14443-A, FeliCa, Jewel or ISO14443-B (according to the device capabilities). It may detect several... nfc-mfclassic nfc-mfclassic is a MIFARE Classic tool that allow to read or write DUMP file using MIFARE keys provided in KEYS file. MIFARE Classic tag is one of the most... nfc-mfsetuid nfc-mfsetuid is a MIFARE tool that allows setting of UID on special versions (Chinese clones) of Mifare 1K cards. It will also recover damaged cards that have... nfc-mfultralight nfc-mfultralight is a MIFARE Ultralight tool that allows one to read or write a tag data to/from a DUMP file. MIFARE Ultralight tag is one of the most widely... nfc-poll nfc-poll is a utility for polling any available target (tags but also NFCIP targets) using ISO14443-A, FeliCa, Jewel and ISO14443-B modulations. This tool uses... nfc-read-forum-tag3 nfc-read-forum-tag3 This utility extracts (if available) NDEF Messages contained in a NFC Forum Tag Type 3 to FILE nfc-relay nfc-relay is a utility that demonstrates a relay attack. This tool requires two NFC devices. One device (configured as target) will emulate an ISO/IEC 14443... nfc-relay-picc nfc-relay-picc This tool requires two NFC devices. One device (configured as target) will emulate an ISO/IEC 14443-4 type A tag, while the second device... nfc-scan-device nfc-scan-device is a utility for listing any available device compliant with libnfc. It can optionnally display device's capabilities. pn53x-diagnose pn53x-diagnose is a utility to diagnose PN531, PN532 and PN533 chips. It runs communication, RAM and ROM tests. pn53x-sam pn53x-sam is a utility attempt to test a simple connection with a SAM (Secure Access Module) in several modes. To run this utility you must have a SAM (like the... pn53x-tamashell pn53x-tamashell is a simple interactive tool to send so called TAMA commands and receive the answers. TAMA refers to the command set supported by the PN53x...