From 92cac028c47685a251cb25254642d1bbe64c8834 Mon Sep 17 00:00:00 2001 From: Ricardo Casallas <77841255+rcasallas-silabs@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:53:48 -0400 Subject: [PATCH] [Silabs] Added log entry to signal provision mode enable. (#35826) --- examples/platform/silabs/MatterConfig.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/platform/silabs/MatterConfig.cpp b/examples/platform/silabs/MatterConfig.cpp index b3c672dc2cc21b..20f73ab6811e58 100644 --- a/examples/platform/silabs/MatterConfig.cpp +++ b/examples/platform/silabs/MatterConfig.cpp @@ -230,13 +230,14 @@ CHIP_ERROR SilabsMatterConfig::InitMatter(const char * appName) ReturnErrorOnFailure(PlatformMgr().InitChipStack()); + chip::DeviceLayer::ConnectivityMgr().SetBLEDeviceName(appName); + // Provision Manager Silabs::Provision::Manager & provision = Silabs::Provision::Manager::GetInstance(); ReturnErrorOnFailure(provision.Init()); SetDeviceInstanceInfoProvider(&provision.GetStorage()); SetCommissionableDataProvider(&provision.GetStorage()); - - chip::DeviceLayer::ConnectivityMgr().SetBLEDeviceName(appName); + ChipLogProgress(DeviceLayer, "Provision mode %s", provision.IsProvisionRequired() ? "ENABLED" : "disabled"); #if CHIP_ENABLE_OPENTHREAD ReturnErrorOnFailure(InitOpenThread());