1nfc-emulate-tag(1) libnfc's examples nfc-emulate-tag(1)
2
3
4
6 nfc-emulate-tag - Simple tag emulation command line demonstration tool
7
9 nfc-emulate-tag
10
12 nfc-emulate-tag is a simple tag emulation tool that demonstrates how
13 emulation can be done using libnfc.
14
15 Currently, this tool partially emulates a Mifare Mini: it is detected
16 as Mifare Mini but internal MIFARE proprietary commands are not yet im‐
17 plemented.
18
19 To be able to emulate a target, there are two main parts:
20 - communication: handle modulation, anticollision, etc.
21 - computation: process commands (input) and produce results (output).
22
23 This demonstration tool proposes a logical structure to handle communi‐
24 cation and a simple function to deal with computation.
25
26 To improve the target capabilities, we can now implement more allowed
27 commands in a single function: target_io()
28
29 Please note that, due to timing issues, it is very difficult to imple‐
30 ment an ISO14443-4 tag this way: RATS request expects a quick ATS an‐
31 swer. By the way, even if you implement another kind of tag, timing is‐
32 sues are often the source of problems like CRC or parity errors. The
33 OmniKey CardMan 5321 is known to be very large on timings and is a good
34 choice if you want to experiment with this emulator with a tolerant
35 reader.
36
37
39 ACR122 devices (like touchatag, etc.) can be used by this example (with
40 probably timing issue), but if something goes wrong, you will have to
41 unplug/replug your device. This is not a libnfc's bug, this problem is
42 due to ACR122's internal MCU in front of NFC chip (PN532).
43
45 Please report any bugs on the libnfc issue tracker at:
46 https://github.com/nfc-tools/libnfc/issues
47
49 libnfc is licensed under the GNU Lesser General Public License (LGPL),
50 version 3.
51 libnfc-utils and libnfc-examples are covered by the the BSD 2-Clause
52 license.
53
55 Romuald Conty <romuald@libnfc.org>
56
57 This manual page was written by Romuald Conty <romuald@libnfc.org>. It
58 is licensed under the terms of the GNU GPL (version 2 or later).
59
60
61
62libnfc October 8, 2010 nfc-emulate-tag(1)