File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -230,13 +230,14 @@ CHIP_ERROR SilabsMatterConfig::InitMatter(const char * appName)
230
230
231
231
ReturnErrorOnFailure (PlatformMgr ().InitChipStack ());
232
232
233
+ chip::DeviceLayer::ConnectivityMgr ().SetBLEDeviceName (appName);
234
+
233
235
// Provision Manager
234
236
Silabs::Provision::Manager & provision = Silabs::Provision::Manager::GetInstance ();
235
237
ReturnErrorOnFailure (provision.Init ());
236
238
SetDeviceInstanceInfoProvider (&provision.GetStorage ());
237
239
SetCommissionableDataProvider (&provision.GetStorage ());
238
-
239
- chip::DeviceLayer::ConnectivityMgr ().SetBLEDeviceName (appName);
240
+ ChipLogProgress (DeviceLayer, " Provision mode %s" , provision.IsProvisionRequired () ? " ENABLED" : " disabled" );
240
241
241
242
#if CHIP_ENABLE_OPENTHREAD
242
243
ReturnErrorOnFailure (InitOpenThread ());
You can’t perform that action at this time.
0 commit comments