summaryrefslogtreecommitdiff
path: root/include/rfid
diff options
context:
space:
mode:
Diffstat (limited to 'include/rfid')
-rw-r--r--include/rfid/rfid_protocol_mifare_ul.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rfid/rfid_protocol_mifare_ul.h b/include/rfid/rfid_protocol_mifare_ul.h
index 6cdec22..74972ee 100644
--- a/include/rfid/rfid_protocol_mifare_ul.h
+++ b/include/rfid/rfid_protocol_mifare_ul.h
@@ -9,7 +9,13 @@
#define MIFARE_UL_RESP_NAK 0x00
#define MIFARE_UL_PAGE_MAX 15
+#define MIFARE_UL_PAGE_LOCK 2
+#define MIFARE_UL_PAGE_OTP 3
struct rfid_protocol rfid_protocol_mful;
+
+extern int rfid_mful_lock_page(struct rfid_protocol_handle *ph, unsigned int page);
+extern int rfid_mful_lock_otp(struct rfid_protocol_handle *ph);
+
#endif
personal git repositories of Harald Welte. Your mileage may vary