3#include <lib/nfc/protocols/iso14443_4a/iso14443_4a.h>
9#define NTAG4XX_UID_SIZE (7)
10#define NTAG4XX_BATCH_SIZE (4)
11#define NTAG4XX_BATCH_EXTRA_BITS 4
12#define NTAG4XX_FAB_KEY_SIZE_BITS_4 4
13#define NTAG4XX_FAB_KEY_SIZE_BITS_1 1
14#define NTAG4XX_PROD_WEEK_SIZE_BITS 7
16#define NTAG4XX_CMD_GET_VERSION (0x60)
20 Ntag4xxErrorNotPresent,
54 uint8_t uid[NTAG4XX_UID_SIZE];
58 uint8_t batch[NTAG4XX_BATCH_SIZE];
60 uint8_t fab_key_4b : NTAG4XX_FAB_KEY_SIZE_BITS_4;
61 uint8_t batch_extra : NTAG4XX_BATCH_EXTRA_BITS;
64 uint8_t prod_week : NTAG4XX_PROD_WEEK_SIZE_BITS;
65 uint8_t fab_key_1b : NTAG4XX_FAB_KEY_SIZE_BITS_1;
102const uint8_t* ntag4xx_get_uid(
const Ntag4xxData* data,
size_t* uid_len);
104bool ntag4xx_set_uid(
Ntag4xxData* data,
const uint8_t* uid,
size_t uid_len);
110Ntag4xxType ntag4xx_get_type_from_version(
const Ntag4xxVersion*
const version);
NfcDeviceNameType
Verbosity level of the displayed NFC device name.
Definition nfc_device_base.h:14
Definition iso14443_4a.h:42
Generic NFC device interface.
Definition nfc_device_base_i.h:142