From 76b36dd1befefd84ca19d5b952422b38343ea2ac Mon Sep 17 00:00:00 2001 From: turbocool3r Date: Fri, 5 Jul 2024 01:52:40 +0300 Subject: [PATCH] Document MF0/NTAG UID magic mode commands. --- docs/protocol.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/protocol.md b/docs/protocol.md index 2eef2a6..413e0b9 100644 --- a/docs/protocol.md +++ b/docs/protocol.md @@ -388,6 +388,14 @@ Notes: * Command: no data * Response: no data or N bytes: `uidlen|uid[uidlen]|atqa[2]|sak|atslen|ats[atslen]`. UID, ATQA, SAK and ATS as bytes. * CLI: cf `hw slot list`/`hf mf econfig`/`hf mfu econfig` +### 4019: MF0_NTAG_GET_UID_MAGIC_MODE +* Command: no data +* Response: 1 byte where a non-zero value indicates that UID magic mode is enabled for the current slot. +* CLI: cf `hf mfu econfig` +### 4020: MF0_NTAG_SET_UID_MAGIC_MODE +* Command: 1 byte where a non-zero value indicates that UID magic mode should be enabled for the current slot, otherwise disabled. +* Response: no data +* CLI: cf `hf mfu econfig --enable-uid-magic`/`hf mfu econfig --disable-uid-magic` ### 5000: EM410X_SET_EMU_ID * Command: 5 bytes. `id[5]`. ID as 5 bytes. * Response: no data