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 )