remove about edit spiffs try rtc
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user