From 0137c3ff2e63ce344b8659ee237ee29385d98b95 Mon Sep 17 00:00:00 2001
From: Matt Ranostay <mranostay@gmail.com>
Date: Sun, 1 Sep 2013 20:54:20 -0700
Subject: nfc: Add MiFare classic dumps

Added three MiFare NFC dumps from a PN532 chipset device
output to FTDI UART.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
---
 uart/nfc/pn532/README                        |  46 +++++++++++++++++++++++++++
 uart/nfc/pn532/mifare_3d99c723_8n1_106000.sr | Bin 0 -> 2681 bytes
 uart/nfc/pn532/mifare_cb880bd2_8n1_106000.sr | Bin 0 -> 2682 bytes
 uart/nfc/pn532/mifare_eb95b2b1_8n1_106000.sr | Bin 0 -> 2688 bytes
 4 files changed, 46 insertions(+)
 create mode 100644 uart/nfc/pn532/README
 create mode 100644 uart/nfc/pn532/mifare_3d99c723_8n1_106000.sr
 create mode 100644 uart/nfc/pn532/mifare_cb880bd2_8n1_106000.sr
 create mode 100644 uart/nfc/pn532/mifare_eb95b2b1_8n1_106000.sr

diff --git a/uart/nfc/pn532/README b/uart/nfc/pn532/README
new file mode 100644
index 0000000..aae790f
--- /dev/null
+++ b/uart/nfc/pn532/README
@@ -0,0 +1,46 @@
+-------------------------------------------------------------------------------
+PN532 NFC UART output
+-------------------------------------------------------------------------------
+
+This is a dump of several MiFare Classic cards + tokens.
+
+For details see:
+http://www.adafruit.com/products/364
+http://www.adafruit.com/products/365
+http://www.adafruit.com/datasheets/pn532ds.pdf
+http://www.nxp.com/documents/data_sheet/MF1S503x.pdf
+
+
+Logic analyzer setup
+--------------------
+
+The logic anlyzer used was a Open Logic Sniffer at a sample rate of 1MHz for
+using a baud rate of 106000 8N1.
+
+Each item's UID is within the filename of the dump.
+
+  Probe       UART
+  ----------------
+  0           RX
+  1           TX
+
+
+Data
+----
+
+The sigrok command line used was:
+
+  sigrok-cli --driver=ols:conn=/dev/ttyACM0 --config rle=1:samplerate=<hz> \
+             --samples=1400000 -p '0=RX,1=TX' --triggers 'RX=0' -o <file>.sr
+
+The libnfc command line used was:
+
+   ./examples/nfc-poll
+   /stash/libnfc-sources/libnfc/examples/.libs/lt-nfc-poll uses libnfc libnfc-1.7.0-rc7-42-g8fe13ec
+   NFC reader: pn532_uart:/dev/ttyUSB0 opened
+   NFC device will poll during 30000 ms (20 pollings of 300 ms for 5 modulations)
+   ISO/IEC 14443A (106 kbps) target:
+       ATQA (SENS_RES): 00  04
+          UID (NFCID1): eb  95  b2  b1
+         SAK (SEL_RES): 08
+
diff --git a/uart/nfc/pn532/mifare_3d99c723_8n1_106000.sr b/uart/nfc/pn532/mifare_3d99c723_8n1_106000.sr
new file mode 100644
index 0000000..64fb3f6
Binary files /dev/null and b/uart/nfc/pn532/mifare_3d99c723_8n1_106000.sr differ
diff --git a/uart/nfc/pn532/mifare_cb880bd2_8n1_106000.sr b/uart/nfc/pn532/mifare_cb880bd2_8n1_106000.sr
new file mode 100644
index 0000000..4cf8514
Binary files /dev/null and b/uart/nfc/pn532/mifare_cb880bd2_8n1_106000.sr differ
diff --git a/uart/nfc/pn532/mifare_eb95b2b1_8n1_106000.sr b/uart/nfc/pn532/mifare_eb95b2b1_8n1_106000.sr
new file mode 100644
index 0000000..704f04a
Binary files /dev/null and b/uart/nfc/pn532/mifare_eb95b2b1_8n1_106000.sr differ
-- 
cgit v1.2.3-70-g09d2