12 #define TWR_TAG_NFC_I2C_ADDRESS_DEFAULT 0x08
14 #define TWR_TAG_NFC_BUFFER_SIZE 864
31 uint16_t _encoded_size;
32 uint8_t _buffer[TWR_TAG_NFC_BUFFER_SIZE];
twr_i2c_channel_t
I2C channels.
void twr_tag_nfc_ndef_init(twr_tag_nfc_ndef_t *self)
Initialize NDEF.
bool twr_tag_nfc_init(twr_tag_nfc_t *self, twr_i2c_channel_t i2c_channel, uint8_t i2c_address)
Initialize NFC Tag.
bool twr_tag_nfc_ndef_add_text(twr_tag_nfc_ndef_t *self, const char *text, const char *encoding)
Add ndef text record.
bool twr_tag_nfc_memory_read(twr_tag_nfc_t *self, void *buffer, size_t length)
Read from memory.
bool twr_tag_nfc_memory_write(twr_tag_nfc_t *self, void *buffer, size_t length)
Write to memory.
bool twr_tag_nfc_memory_write_ndef(twr_tag_nfc_t *self, twr_tag_nfc_ndef_t *ndef)
Write to memory.
bool twr_tag_nfc_ndef_add_uri(twr_tag_nfc_ndef_t *self, const char *uri)
Add ndef uri record.