nl::
  #include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/BLEManager.h>
  Fornece controle sobre os serviços WoBLE e a conectividade para um dispositivo Weave.
Resumo
O BLEManager define a interface abstrata de um objeto singleton que oferece controle sobre os serviços WoBLE e a conectividade para um dispositivo Weave. BLEManager é um objeto interno usado por outros componentes com a camada de dispositivo do Weave, mas que não pode ser acessado diretamente pelo aplicativo.
Herança
Subclasses conhecidas diretas:nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
| Tipos públicos | |
|---|---|
| WoBLEServiceMode | usando ConnectivityManager::WoBLEServiceMode | 
| Funções 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) | |
| Funções protegidas | |
|---|---|
| BLEManager()=default | 
         | 
| BLEManager(const BLEManager &)=delete | 
         | 
| BLEManager(const BLEManager &&)=delete | 
         | 
| operator=(const BLEManager &)=delete | |
| ~BLEManager()=default | 
         | 
Tipos públicos
WoBLEServiceMode
ConnectivityManager::WoBLEServiceMode WoBLEServiceMode
Funções 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 )
IsAdvertising
bool IsAdvertising( void )
IsAdvertisingEnabled
bool IsAdvertisingEnabled( void )
IsFastAdvertisingEnabled
bool IsFastAdvertisingEnabled( void )
NumConnections
uint16_t NumConnections( void )
OnPlatformEvent
void OnPlatformEvent( const WeaveDeviceEvent *event )
SetAdvertisingEnabled
WEAVE_ERROR SetAdvertisingEnabled( bool val )
SetDeviceName
WEAVE_ERROR SetDeviceName( const char *deviceName )
SetFastAdvertisingEnabled
WEAVE_ERROR SetFastAdvertisingEnabled( bool val )
SetWoBLEServiceMode
WEAVE_ERROR SetWoBLEServiceMode( WoBLEServiceMode val )
Funções protegidas
BLEManager
BLEManager()=default
BLEManager
BLEManager( const BLEManager & )=delete