Adding few logs related to event ids for ESP32 platform specific events (#33751)
diff --git a/src/platform/ESP32/PlatformManagerImpl.cpp b/src/platform/ESP32/PlatformManagerImpl.cpp
index ed9f6ac..d5ad123 100644
--- a/src/platform/ESP32/PlatformManagerImpl.cpp
+++ b/src/platform/ESP32/PlatformManagerImpl.cpp
@@ -119,6 +119,7 @@
event.Platform.ESPSystemEvent.Id = eventId;
if (eventBase == IP_EVENT)
{
+ ChipLogProgress(DeviceLayer, "Posting ESPSystemEvent: IP Event with eventId : %ld", eventId);
switch (eventId)
{
case IP_EVENT_STA_GOT_IP:
@@ -138,6 +139,7 @@
#if CHIP_DEVICE_CONFIG_ENABLE_WIFI
else if (eventBase == WIFI_EVENT)
{
+ ChipLogProgress(DeviceLayer, "Posting ESPSystemEvent: Wifi Event with eventId : %ld", eventId);
switch (eventId)
{
case WIFI_EVENT_SCAN_DONE:
@@ -181,7 +183,10 @@
}
}
#endif // CHIP_DEVICE_CONFIG_ENABLE_WIFI
-
+ else
+ {
+ ChipLogProgress(DeviceLayer, "Posting ESPSystemEvent with eventId : %ld", eventId);
+ }
sInstance.PostEventOrDie(&event);
}