Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rrakso opened this issue Oct 29, 2020 · 0 comments

Comments

@rrakso
Copy link

rrakso commented Oct 29, 2020

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.

rrakso added a commit to rrakso/NDEF that referenced this issue Oct 29, 2020
…hen it can't be properly read"

This is my fix  for issue don#60 IT WORKS! :D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant