nl:: Weave:: DeviceLayer:: Internal:: GenericConnectivityManagerImpl_NoBLE
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConnectivityManagerImpl_NoBLE.h>
BLE를 지원하지 않는 플랫폼에 BLE 관련 ConnectivityManager 기능의 일반적인 구현을 제공합니다.
요약
이 클래스는 템플릿의 ImplClass 매개변수로도 표시되는 ConnectivityManagerImpl 클래스에 의해 직간접적으로 상속됩니다.
이 클래스의 멤버는 모두 아무 작업도 하지 않으며 정적 반환 값을 반환하는 인라인 메서드입니다. 이렇게 하면 컴파일러가 #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 )
_SetBLEFastAdvertiseEnabled
WEAVE_ERROR _SetBLEFastAdvertisingEnabled( bool val )
_SetWoBLEServiceMode
WEAVE_ERROR _SetWoBLEServiceMode( ConnectivityManager::WoBLEServiceMode val )
공개 정적 함수
WoBLEServiceModeToStr
const char * _WoBLEServiceModeToStr( ConnectivityManager::WoBLEServiceMode mode )