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

Ardino MKR1000 Crashes on 56 bytes tag #48

Open
LMSSonos opened this issue Jan 19, 2019 · 0 comments
Open

Ardino MKR1000 Crashes on 56 bytes tag #48

LMSSonos opened this issue Jan 19, 2019 · 0 comments

Comments

@LMSSonos
Copy link

When running the ReadTag example on Arduino I can read most tags, but I have a specific example, 56 bytes long entry (56 character a) when reading it, it crashes. If I simply add one more byte to the tag it works as expected.

As far as I could debug using some Serial.println it crashes in NDefMessage.cpp at byte tnf_byte = data[index];

What i also found sometimes with the same tag, that it crashes in the record.setPayload... the reason is that payloadLenght has values like 50331648 or higher. But I cannot reproduce this one every time

Using NXP MIFARE Ultralight (C) NTAG213

Reading the tags on Android with NFC Tools (or android native) works as expected. Tags have been written with NFC Tools on Android

Any ideas for further debugging.

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