diff options
author | cbdev <cb@cbcdn.com> | 2023-06-22 01:11:31 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2023-06-22 01:11:31 +0200 |
commit | e27446a8f8c470cc7a41cfeec1e6ffe4f23478e0 (patch) | |
tree | f16ca27ce915768b700de0d5be29f1206b7499ba /nfcommander.h | |
parent | cb686cd6314d3e181bd91c0f2d449750c9429be7 (diff) | |
download | nfcommander-e27446a8f8c470cc7a41cfeec1e6ffe4f23478e0.tar.gz nfcommander-e27446a8f8c470cc7a41cfeec1e6ffe4f23478e0.tar.bz2 nfcommander-e27446a8f8c470cc7a41cfeec1e6ffe4f23478e0.zip |
Basic NTAG support
Diffstat (limited to 'nfcommander.h')
-rw-r--r-- | nfcommander.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nfcommander.h b/nfcommander.h index 79b8790..b4622a1 100644 --- a/nfcommander.h +++ b/nfcommander.h @@ -7,12 +7,11 @@ #endif typedef enum { - tag_unset, + tag_unset, /*unknown tag type*/ + tag_unknown, /*unsupported tag*/ tag_mifare1, tag_ntag, - tag_desfire, - tag_ultralight, - tag_ultralightc + tag_desfire } nfc_tag_t; #define FLAG_TAG_DATA_VALID 1 @@ -25,6 +24,9 @@ typedef struct { nfc_tag_t type; uint8_t uid_length; uint8_t uid[10]; + //storage + size_t bytes_available; + size_t granularity; } nfc_tag_info_t; typedef int (*reader_plugin_init)(void); |