From 213f6b399f40303cc369fc4339c7dd8c82fab80d Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Sun, 30 Nov 2025 23:40:59 +0100 Subject: [PATCH] Changed some logs type from informative to debug --- firmware/esp32/main/mqtt.cpp | 6 +++--- firmware/esp32/main/wifi.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/esp32/main/mqtt.cpp b/firmware/esp32/main/mqtt.cpp index efbc970..88d9e80 100644 --- a/firmware/esp32/main/mqtt.cpp +++ b/firmware/esp32/main/mqtt.cpp @@ -33,9 +33,9 @@ static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_ ESP_LOGW(TAG, "Disconnected from broker"); break; case MQTT_EVENT_DATA: - ESP_LOGV(TAG, "Listening to broker"); - ESP_LOGV(TAG, "Topic: %.*s\n", event->topic_len, event->topic); - ESP_LOGV(TAG, "Data: %.*s\n", event->data_len, event->data); + ESP_LOGD(TAG, "Listening to broker"); + ESP_LOGD(TAG, "Topic: %.*s\n", event->topic_len, event->topic); + ESP_LOGD(TAG, "Data: %.*s\n", event->data_len, event->data); char incoming_message[50]; //FIXME: check how long is the longest message on AVR! diff --git a/firmware/esp32/main/wifi.cpp b/firmware/esp32/main/wifi.cpp index b5ec5ef..8da5d36 100644 --- a/firmware/esp32/main/wifi.cpp +++ b/firmware/esp32/main/wifi.cpp @@ -36,7 +36,7 @@ static void wifi_event_handler(void* arg, esp_event_base_t event_base, int32_t e } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { ip_event_got_ip_t* event = (ip_event_got_ip_t*) event_data; - ESP_LOGI(TAG, "Got IP: " IPSTR, IP2STR(&event->ip_info.ip)); + ESP_LOGD(TAG, "Got IP: " IPSTR, IP2STR(&event->ip_info.ip)); xEventGroupSetBits(connectivity_event_group, WIFI_CONNECTED_BIT); } }