nl:: Weave:: DeviceLayer:: Internal:: GenericConnectivityManagerImpl_BLE
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_BLE.h>
Provides a generic implementation of BLE-specific ConnectivityManager features for platforms where BLE functionality is implemented by the BLEManager class.
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 majority of methods on this class simply forward calls to similarly-named methods on the BLEManager class. This arrangement, where the ConnectivityManager implementation delegates BLE support to the BLEManager class, is standard on platforms that support BLE, and helps to limit the complexity of the ConnectivityManagerImpl class.
Public functions |
|
---|---|
_GetBLEDeviceName(char *buf, size_t bufSize)
|
|
_GetWoBLEServiceMode(void)
|
ConnectivityManager::WoBLEServiceMode
|
_IsBLEAdvertising(void)
|
bool
|
_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 )
_IsBLEAdvertising
bool _IsBLEAdvertising( 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 )