NFC: Support NTAG4xx detection and basic info

This commit is contained in:
Willy-JL
2025-03-27 04:48:19 +00:00
parent 7525662f14
commit 6ebc4c7ad3
22 changed files with 990 additions and 5 deletions

View File

@@ -22,9 +22,9 @@
* | | |
* ISO14443-4A Mf Ultralight Mf Classic
* |
* +-----+----+
* | |
* Mf Desfire Mf Plus
* +-----+----+----------+
* | | |
* Mf Desfire Mf Plus NTAG4xx
* ```
*
* When implementing a new protocol, its place in the tree must be determined first.
@@ -64,6 +64,7 @@ static const NfcProtocol nfc_protocol_iso14443_3b_children_protocol[] = {
static const NfcProtocol nfc_protocol_iso14443_4a_children_protocol[] = {
NfcProtocolMfPlus,
NfcProtocolMfDesfire,
NfcProtocolNtag4xx,
};
/** List of ISO115693-3 child protocols. */
@@ -155,6 +156,12 @@ static const NfcProtocolTreeNode nfc_protocol_nodes[NfcProtocolNum] = {
.children_num = 0,
.children_protocol = NULL,
},
[NfcProtocolNtag4xx] =
{
.parent_protocol = NfcProtocolIso14443_4a,
.children_num = 0,
.children_protocol = NULL,
},
/* Add new protocols here */
};