We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee3a6a1 commit 503ade4Copy full SHA for 503ade4
src/platform/telink/BLEManagerImpl.cpp
@@ -335,6 +335,12 @@ CHIP_ERROR BLEManagerImpl::StartAdvertisingProcess(void)
335
ThreadStackMgrImpl().SetRadioBlocked(true);
336
#endif
337
338
+ if (!BleLayer::IsInitialized())
339
+ {
340
+ // Re-initializing the BLE layer after shutdown
341
+ ReturnErrorOnFailure(BleLayer::Init(this, this, &DeviceLayer::SystemLayer()));
342
+ }
343
+
344
// Init BLE
345
err = bt_enable(NULL);
346
VerifyOrReturnError(err == 0, MapErrorZephyr(err));
0 commit comments