NFC: Implement basic NTAG4xx detection

This commit is contained in:
Willy-JL
2025-03-22 09:17:54 +00:00
parent 4c1273378c
commit ff340ea256
21 changed files with 1094 additions and 3 deletions
+10 -3
View File
@@ -22,9 +22,9 @@
* | | |
* ISO14443-4A Mf Ultralight Mf Classic
* |
* +-----+------+----------+
* | | |
* Mf Desfire Type 4 Tag Mf Plus
* +-----+------+----------+----------+
* | | | |
* Mf Desfire Type 4 Tag 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,
NfcProtocolType4Tag,
};
@@ -156,6 +157,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,
},
[NfcProtocolType4Tag] =
{
.parent_protocol = NfcProtocolIso14443_4a,