don/NDEF

When the text record on tag is longer than 259 bytes then it can't be properly read

Opened this issue · 0 comments

Here is my debug - record length 259, payload length 255:

NFC Tag - Mifare Classic
UID CA 6B 83 19

NDEF Message 1 record, 259 bytes
  NDEF Record
    TNF 0x1 Well Known
    Type Length 0x1 1
    Payload Length 0xFF 255
    Type 54  T
    Payload [...]
    Record is 259 bytes

+1 byte to NDEF record

NFC Tag - Mifare Classic
UID CA 6B 83 19

NDEF Message 1 record, 5 bytes
  NDEF Record
    TNF 0x1 Well Known
    Type Length 0x1 1
    Payload Length 0x1 1
    Type 54  T
    Payload 02  .
    Record is 5 bytes

I think that this info could help fix it.