nl ::織り:: DeviceLayer ::内部:: GenericConnectivityManagerImpl_NoBLE
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_NoBLE.h>
BLE-特定の一般的な実装を提供ConnectivityManagerは、 BLEをサポートしていないプラットフォームのために備わっています。
概要
このクラスは、によって(直接的または間接的に)継承されることを意図しているConnectivityManagerImplのも、テンプレートのimplClassはパラメータとして表示されたクラス、。
このクラスのメンバーはすべてインライン化されたメソッドであり、何もせず、静的な戻り値を返します。これにより、コンパイラは#ifdefを使用せずにデッドコードを最適化できます。例えば:
`` `if(ConnectivityMgr()。GetWoBLEServiceMode()!= ConnectivityManager :: kwoBLEServiceMode_NotSupported){// ... WoBLEをサポートするデバイスで何かを行う...}` ``
公の行事 | |
---|---|
_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) |
パブリック静的関数 | |
---|---|
_WoBLEServiceModeToStr (ConnectivityManager::WoBLEServiceMode mode) | const char * |
公の行事
_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 )
パブリック静的関数
_WoBLEServiceModeToStr
const char * _WoBLEServiceModeToStr( ConnectivityManager::WoBLEServiceMode mode )