diff options
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); |