From 73561c5c1afd12ff1173cc39b3d3cbcfb924c2e6 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 7 Jan 2011 12:32:25 +0000 Subject: [PATCH] nfc-emulate-tag.c: add notes on UID emulation --- examples/nfc-emulate-tag.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/nfc-emulate-tag.c b/examples/nfc-emulate-tag.c index d2676a5..6627ee5 100644 --- a/examples/nfc-emulate-tag.c +++ b/examples/nfc-emulate-tag.c @@ -181,6 +181,14 @@ main (int argc, char *argv[]) printf ("Connected to NFC device: %s\n", pnd->acName); + // Notes for ISO14443-A emulated tags: + // * Only short UIDs are supported + // If your UID is longer it will be truncated + // Therefore e.g. an UltraLight can only have short UID, which is + // typically badly handled by readers who still try to send their "0x95" + // * First byte of UID will be masked by 0x08 by the PN53x firmware + // as security countermeasure against real UID emulation + // Example of a Mifare Classic Mini // Note that crypto1 is not implemented in this example nfc_target_t nt = {