I get "Read failed" debug message or "Error. Block Authentication failed for" when NFC tag quickly removed from PN532 and UNO or MEGA duino crashes or freezes caused out of memory.
Before that Serial monitor print wrong symbols in one string first shows russian (cyrillic) symbol "р" and after that only unprintable symbols.
I see there should be some Errors handlers but no idea how to limit the length of ndef message that causing crashes.
It happens on ReadTagExtended example.
I get "Read failed" debug message or "Error. Block Authentication failed for" when NFC tag quickly removed from PN532 and UNO or MEGA duino crashes or freezes caused out of memory. Before that Serial monitor print wrong symbols in one string first shows russian (cyrillic) symbol "р" and after that only unprintable symbols. I see there should be some Errors handlers but no idea how to limit the length of ndef message that causing crashes. It happens on ReadTagExtended example.
Please, help with Errors handlers in MifareClassic.cpp https://github.com/don/NDEF/pull/50 fix this at all.