feat: add logging for decoded JSON data in NFC processing

This commit is contained in:
2025-08-29 08:54:53 +02:00
parent 3dd4b82710
commit 6bed3b086c

View File

@@ -216,6 +216,9 @@ bool decodeNdefAndReturnJson(const byte* encodedMessage, String uidString) {
nfcJsonData += (char)encodedMessage[3 + typeLength + i];
}
Serial.println("Decoded JSON Data:");
Serial.println(nfcJsonData);
// JSON-Dokument verarbeiten
JsonDocument doc;
DeserializationError error = deserializeJson(doc, nfcJsonData);