From dea7c142367421920294f283d826e09d4782869e Mon Sep 17 00:00:00 2001 From: WanqQixiang Date: Thu, 30 Jun 2022 12:20:53 +0800 Subject: [PATCH] Bugfix: Add HandleServerStarted function to record start_up event --- components/esp_matter/esp_matter_core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_matter/esp_matter_core.cpp b/components/esp_matter/esp_matter_core.cpp index 7b7d9c114..553514912 100644 --- a/components/esp_matter/esp_matter_core.cpp +++ b/components/esp_matter/esp_matter_core.cpp @@ -665,6 +665,8 @@ static void esp_matter_chip_init_task(intptr_t context) if (endpoint::enable_all() != ESP_OK) { ESP_LOGE(TAG, "Enable all endpoints failure"); } + // Add this function to record start up event in basic information cluster. + PlatformMgr().HandleServerStarted(); #if CHIP_DEVICE_CONFIG_ENABLE_WIFI { static chip::app::Clusters::NetworkCommissioning::Instance sWiFiNetworkCommissioningInstance(0,