diff options
Diffstat (limited to 'nfcommander.h')
-rw-r--r-- | nfcommander.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nfcommander.h b/nfcommander.h index d380f78..4693a42 100644 --- a/nfcommander.h +++ b/nfcommander.h @@ -57,9 +57,13 @@ int core_manage_fd(int fd, int manage, notification_target_t system); * If this API returns TAG_READ_REQUESTED, a full read is requested and the * nfc_tag_info_t should be submitted again with the data fully read. * - * If this API returns TAG_WRITE_REQUESTED, the nfc_tag_into_t has been filled - * with valid data pointers and sizes to be writen to the tag + * If this API returns TAG_WRITE_FULL, the nfc_tag_into_t has been filled + * with valid data pointers and sizes for both the static and dynamic parts + * to be written to the tag + * In the same fashion, if this API returns TAG_WRITE_DYNAMIC, a write for + * only the dynamic section of the tag is requested. */ #define TAG_READ_REQUESTED 1 -#define TAG_WRITE_REQUESTED 2 +#define TAG_WRITE_FULL 2 +#define TAG_WRITE_DYNAMIC 4 int reader_tag_present(uint8_t flags, nfc_tag_info_t* tag); |