mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
Make MF0/NTAG tx buffer size appropriate for large NTAG fast reads.
This commit is contained in:
@@ -44,7 +44,9 @@ typedef struct __attribute__((aligned(4))) {
|
||||
nfc_tag_mf0_ntag_information_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t tx_buffer[NFC_TAG_NTAG_FRAME_SIZE];
|
||||
// TX buffer must fit the largest possible frame size.
|
||||
// TODO: This size should be decreased as the maximum allowed frame size is 257 (see 6.14.13.36 in datasheet).
|
||||
uint8_t tx_buffer[NFC_TAG_NTAG_BLOCK_MAX * NFC_TAG_MF0_NTAG_DATA_SIZE];
|
||||
} nfc_tag_mf0_ntag_tx_buffer_t;
|
||||
|
||||
int nfc_tag_mf0_ntag_data_loadcb(tag_specific_type_t type, tag_data_buffer_t *buffer);
|
||||
|
||||
Reference in New Issue
Block a user