summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-02-07 16:17:18 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-02-07 16:17:18 +0000
commit621d27cc64f984e435d3ee66846d29ac5f052ba6 (patch)
treef46ed219710047a6a552064ead20b88eab0f5531 /include
parent9a7ba1f0d886fba6fff5da3e3340a986df23db0a (diff)
add (preliminary?) SAK based detection of mifare mini.
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2073 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'include')
-rw-r--r--include/librfid/rfid_layer2_iso14443a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/librfid/rfid_layer2_iso14443a.h b/include/librfid/rfid_layer2_iso14443a.h
index a4af557..d38fb2e 100644
--- a/include/librfid/rfid_layer2_iso14443a.h
+++ b/include/librfid/rfid_layer2_iso14443a.h
@@ -6,6 +6,7 @@ enum rfid_14443a_opt {
RFID_OPT_14443A_SPEED_TX = 0x00010002,
RFID_OPT_14443A_ATQA = 0x00010003,
RFID_OPT_14443A_WUPA = 0x00010004,
+ RFID_OPT_14443A_SAK = 0x00010005,
};
enum rfid_14443_opt_speed {
@@ -67,6 +68,7 @@ struct iso14443a_handle {
unsigned int level;
unsigned int tcl_capable;
struct iso14443a_atqa atqa;
+ u_int8_t sak;
};
enum iso14443a_level {
personal git repositories of Harald Welte. Your mileage may vary