remove about edit spiffs try rtc

This commit is contained in:
Carsten Graf
2025-06-18 00:16:27 +02:00
parent 73a324ccef
commit ecce0c98af
9 changed files with 57 additions and 497 deletions

View File

@@ -54,14 +54,12 @@ void readButtonJSON(const char * topic, const char * payload) {
// Extract values from JSON
int pressType = doc["type"] | 0;
const char* buttonId = doc["buttonmac"] | "unknown";
const char* messageId = doc["messageId"] | "unknown";
uint64_t timestamp = doc["timestamp"] | 0;
// Print received data
Serial.printf("Button Press Received:\n");
Serial.printf(" Type: %d\n", pressType);
Serial.printf(" Button MAC: %s\n", buttonId);
Serial.printf(" Message ID: %s\n", messageId);
Serial.printf(" Timestamp: %llu\n", timestamp);