nfc-emulate-forum-tag4(1)

nfc-emulate-forum-tag41

Nfc forum tag type 4 emulation command line demonstration tool

Usage

nfc-emulate-forum-tag4 [-1] [infile [outfile]]

Overview

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 version 1.0 behavior.

infile is the file which contains NDEF message you want to share with the NFC-Forum compliant initiator device (e.g. Nokia 6212 Classic for a v1.0 tag)

If you want to save a shared content by the initiator device, we have to give outfile argument to point where the NDEF message will be saved.

This example uses the hardware capability of PN532 to handle ISO/IEC 14443-4 low-level frames like RATS/ATS, WTX, etc.

All devices compliant with NFC-Forum Tag Type 4 (Version 2.0 or 1.0) can be used with this example in read-write mode.

If no argument is given, a default NDEF file is available.

Implementation notes

You can specify the same infile and outfile

Important

Only PN532 equipped devices can use this example. (e.g. PN532 breakout board)

ACR122 devices (like touchatag, etc.) can be used by this example, but if something goes wrong, you will have to unplug/replug your device. This is not a libnfc's bug, this problem is due to ACR122's internal MCU in front of NFC chip (PN532).

Licence

libnfc is licensed under the GNU Lesser General Public License (LGPL), version 3. libnfc-utils and libnfc-examples are covered by the BSD 2-Clause license.

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–10
  2. 11–Arch

Bugs

Please report any bugs on the libnfc issue tracker at: https://github.com/nfc-tools/libnfc/issues

Authors

Roel Verdult ⟨[email protected]⟩ Romain Tartière ⟨[email protected]⟩ Romuald Conty ⟨[email protected]⟩

This manual page was written by Romuald Conty. It is licensed under the terms of the GNU GPL (version 2 or later).

From libnfc 1.8.0-4 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.