nl:: Weave:: DeviceLayer:: Internal:: BLEManager
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/BLEManager.h>
Menyediakan kontrol atas layanan WoBLE dan konektivitas untuk perangkat Weave.
Ringkasan
BLEManager menentukan antarmuka abstrak dari objek singleton yang memberikan kontrol atas konektivitas dan layanan WoBLE untuk perangkat Weave. BLEManager adalah objek internal yang digunakan oleh komponen lain dengan Weave Device Layer, tetapi tidak dapat diakses secara langsung ke aplikasi.
Warisan
Subclass Langsung yang Diketahui:nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
Jenis publik |
|
---|---|
WoBLEServiceMode
|
menggunakanConnectivityManager::WoBLEServiceMode
|
Fungsi publik |
|
---|---|
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)
|
Fungsi yang dilindungi |
|
---|---|
BLEManager()=default
|
|
BLEManager(const BLEManager &)=delete
|
|
BLEManager(const BLEManager &&)=delete
|
|
operator=(const BLEManager &)=delete
|
|
~BLEManager()=default
|
|
Jenis publik
ModeLayananWoWos
ConnectivityManager::WoBLEServiceMode WoBLEServiceMode
Fungsi publik
GetBleLayer
::nl::Ble::BleLayer * GetBleLayer( void ) const
NamaPerangkat
WEAVE_ERROR GetDeviceName( char *buf, size_t bufSize )
GetWoBLEServiceMode
WoBLEServiceMode GetWoBLEServiceMode( void )
Init
WEAVE_ERROR Init( void )
IsAdvertising
bool IsAdvertising( void )
ApakahIklanDiaktifkan
bool IsAdvertisingEnabled( void )
IsFastAdvertisingEnabled
bool IsFastAdvertisingEnabled( void )
NumConnections
uint16_t NumConnections( void )
OnPlatformEvent
void OnPlatformEvent( const WeaveDeviceEvent *event )
SetAdvertisingEnabled
WEAVE_ERROR SetAdvertisingEnabled( bool val )
NamaPerangkatDisetel
WEAVE_ERROR SetDeviceName( const char *deviceName )
SetFastAdvertisingEnabled
WEAVE_ERROR SetFastAdvertisingEnabled( bool val )
SetWoBLEServiceMode
WEAVE_ERROR SetWoBLEServiceMode( WoBLEServiceMode val )
Fungsi yang dilindungi
Manajer BLE
BLEManager()=default
Manajer BLE
BLEManager( const BLEManager & )=delete
Manajer BLE
BLEManager( const BLEManager && )=delete
operator=
BLEManager & operator=( const BLEManager & )=delete
~PengelolaManager
~BLEManager()=default