From 2051ff5a78a5eac7e65e60792f36aaca7dbbd31e Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Thu, 26 Mar 2020 14:58:49 -0700 Subject: [PATCH] Rename WoBLE to CHIPoBLE in nRF5 platform code --- src/platform/nRF5/ConnectivityManagerImpl.cpp | 2 +- src/platform/nRF5/ThreadStackManagerImpl.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/platform/nRF5/ConnectivityManagerImpl.cpp b/src/platform/nRF5/ConnectivityManagerImpl.cpp index 90d77423bf760f..3100e330a85735 100644 --- a/src/platform/nRF5/ConnectivityManagerImpl.cpp +++ b/src/platform/nRF5/ConnectivityManagerImpl.cpp @@ -29,7 +29,7 @@ #include #include -#if CHIP_DEVICE_CONFIG_ENABLE_WOBLE +#if CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE #include #endif diff --git a/src/platform/nRF5/ThreadStackManagerImpl.cpp b/src/platform/nRF5/ThreadStackManagerImpl.cpp index eec5fb26fcab87..3b1e420e605aac 100644 --- a/src/platform/nRF5/ThreadStackManagerImpl.cpp +++ b/src/platform/nRF5/ThreadStackManagerImpl.cpp @@ -64,17 +64,17 @@ bool ThreadStackManagerImpl::IsInitialized() return sInstance.mThreadStackLock != NULL; } -void ThreadStackManagerImpl::_OnWoBLEAdvertisingStart(void) +void ThreadStackManagerImpl::_OnCHIPoBLEAdvertisingStart(void) { // If Thread-over-BLE is enabled, ensure that ToBLE advertising is stopped before - // starting WoBLE advertising. This is accomplished by disabling the OpenThread + // starting CHIPoBLE advertising. This is accomplished by disabling the OpenThread // IPv6 interface via a call to otIp6SetEnabled(false). // // On platforms where there is no native support for simultaneous BLE advertising // (e.g. Nordic’s SoftDevice), it is necessary to coordinate between the different // advertising modes a CHIP device may employ. This arises in particular when a - // device supports both WoBLE and ToBLE, each of which requires a separate advertising - // regime. The OnWoBLEAdvertisingStart()/OnWoBLEAdvertisingStop() methods handle + // device supports both CHIPoBLE and ToBLE, each of which requires a separate advertising + // regime. The OnCHIPoBLEAdvertisingStart()/OnCHIPoBLEAdvertisingStop() methods handle // the switching between the two modes. // #if OPENTHREAD_CONFIG_ENABLE_TOBLE @@ -84,10 +84,10 @@ void ThreadStackManagerImpl::_OnWoBLEAdvertisingStart(void) #endif } -void ThreadStackManagerImpl::_OnWoBLEAdvertisingStop(void) +void ThreadStackManagerImpl::_OnCHIPoBLEAdvertisingStop(void) { // If Thread-over-BLE is enabled, and a Thread provision exists, ensure that ToBLE - // advertising is re-activated once WoBLE advertising stops. + // advertising is re-activated once CHIPoBLE advertising stops. // #if OPENTHREAD_CONFIG_ENABLE_TOBLE LockThreadStack();