nl:: Weave:: DeviceLayer:: Internal:: GenericConnectivityManagerImpl_NoBLE
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_NoBLE.h>
Provides a generic implementation of BLE-specific ConnectivityManager features for platforms that don't support BLE.
Summary
This class is intended to be inherited (directly or indirectly) by the ConnectivityManagerImpl class, which also appears as the template's ImplClass parameter.
The members of this class are all inlined methods that do nothing, and return static return values. This allows the compiler to optimize away dead code without the use of #ifdef's. For example:
``` if (ConnectivityMgr().GetWoBLEServiceMode() != ConnectivityManager::kWoBLEServiceMode_NotSupported) { // ... do something on devices that support WoBLE ... } ```
Public functions |
|
---|---|
_GetBLEDeviceName(char *buf, size_t bufSize)
|
|
_GetWoBLEServiceMode(void)
|
ConnectivityManager::WoBLEServiceMode
|
_IsBLEAdvertisingEnabled(void)
|
bool
|
_IsBLEFastAdvertisingEnabled(void)
|
bool
|
_NumBLEConnections(void)
|
uint16_t
|
_SetBLEAdvertisingEnabled(bool val)
|
|
_SetBLEDeviceName(const char *deviceName)
|
|
_SetBLEFastAdvertisingEnabled(bool val)
|
|
_SetWoBLEServiceMode(ConnectivityManager::WoBLEServiceMode val)
|
Public static functions |
|
---|---|
_WoBLEServiceModeToStr(ConnectivityManager::WoBLEServiceMode mode)
|
const char *
|
Public functions
_GetBLEDeviceName
WEAVE_ERROR _GetBLEDeviceName( char *buf, size_t bufSize )
_GetWoBLEServiceMode
ConnectivityManager::WoBLEServiceMode _GetWoBLEServiceMode( void )
_IsBLEAdvertisingEnabled
bool _IsBLEAdvertisingEnabled( void )
_IsBLEFastAdvertisingEnabled
bool _IsBLEFastAdvertisingEnabled( void )
_NumBLEConnections
uint16_t _NumBLEConnections( void )
_SetBLEAdvertisingEnabled
WEAVE_ERROR _SetBLEAdvertisingEnabled( bool val )
_SetBLEDeviceName
WEAVE_ERROR _SetBLEDeviceName( const char *deviceName )
_SetBLEFastAdvertisingEnabled
WEAVE_ERROR _SetBLEFastAdvertisingEnabled( bool val )
_SetWoBLEServiceMode
WEAVE_ERROR _SetWoBLEServiceMode( ConnectivityManager::WoBLEServiceMode val )
Public static functions
_WoBLEServiceModeToStr
const char * _WoBLEServiceModeToStr( ConnectivityManager::WoBLEServiceMode mode )