nl:: Weave:: DeviceLayer:: Internal:: BLEManager
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/BLEManager.h>
Permite controlar los servicios de WoBLE y la conectividad de un dispositivo de Weave.
Resumen
BLEManager define la interfaz abstracta de un objeto singleton que brinda control sobre los servicios de WoBLE y la conectividad para un dispositivo de Weave. BLEManager es un objeto interno que usan otros componentes con la capa de dispositivo de Weave, pero la aplicación no puede acceder a él directamente.
Herencia
Subclases conocidas directas:nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl{/10
Tipos públicos |
|
---|---|
WoBLEServiceMode
|
usingConnectivityManager::WoBLEServiceMode
|
Funciones públicas |
|
---|---|
GetBleLayer(void) const
|
|
GetDeviceName(char *buf, size_t bufSize)
|
|
GetWoBLEServiceMode(void)
|
WoBLEServiceMode
|
Init(void)
|
|
IsAdvertising(void)
|
bool
|
IsAdvertisingEnabled(void)
|
bool
|
IsFastAdvertisingEnabled(void)
|
bool
|
NumConnections(void)
|
uint16_t
|
OnPlatformEvent(const WeaveDeviceEvent *event)
|
void
|
SetAdvertisingEnabled(bool val)
|
|
SetDeviceName(const char *deviceName)
|
|
SetFastAdvertisingEnabled(bool val)
|
|
SetWoBLEServiceMode(WoBLEServiceMode val)
|
Funciones protegidas |
|
---|---|
BLEManager()=default
|
|
BLEManager(const BLEManager &)=delete
|
|
BLEManager(const BLEManager &&)=delete
|
|
operator=(const BLEManager &)=delete
|
|
~BLEManager()=default
|
|
Tipos públicos
ModoDeServicioDeWoble
ConnectivityManager::WoBLEServiceMode WoBLEServiceMode
Funciones públicas
GetBleLayer
::nl::Ble::BleLayer * GetBleLayer( void ) const
GetDeviceName
WEAVE_ERROR GetDeviceName( char *buf, size_t bufSize )
GetWoBLEServiceMode.
WoBLEServiceMode GetWoBLEServiceMode( void )
Init
WEAVE_ERROR Init( void )
Está anunciando
bool IsAdvertising( void )
Está habilitado para la publicidad
bool IsAdvertisingEnabled( void )
IsFastAdvertisingEnabled
bool IsFastAdvertisingEnabled( void )
NumConnections
uint16_t NumConnections( void )
Evento en la plataforma
void OnPlatformEvent( const WeaveDeviceEvent *event )
SetAdvertisingEnabled.
WEAVE_ERROR SetAdvertisingEnabled( bool val )
NombreDeDispositivoDispositivo
WEAVE_ERROR SetDeviceName( const char *deviceName )
SetFastAdvertisingEnabled
WEAVE_ERROR SetFastAdvertisingEnabled( bool val )
SetWoBLEServiceMode
WEAVE_ERROR SetWoBLEServiceMode( WoBLEServiceMode val )
Funciones protegidas
BLEManager
BLEManager()=default
BLEManager
BLEManager( const BLEManager & )=delete