nl:: 매립:: 기기 레이어:내부: BLEManager
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/BLEManager.h>
Weave 기기의 WoBLE 서비스 및 연결을 제어합니다.
요약
BLEManager는 Weave 기기의 WoBLE 서비스 및 연결을 제어하는 싱글톤 객체의 추상 인터페이스를 정의합니다. BLEManager는 Weave 기기 레이어가 있는 다른 구성요소에 의해 사용되지만 애플리케이션에서 직접 액세스할 수 없는 내부 객체입니다.
상속
직접 알려진 서브클래스:nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
공개 유형 |
|
---|---|
WoBLEServiceMode
|
사용ConnectivityManager::WoBLEServiceMode
|
공개 함수 |
|
---|---|
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)
|
보호된 함수 |
|
---|---|
BLEManager()=default
|
|
BLEManager(const BLEManager &)=delete
|
|
BLEManager(const BLEManager &&)=delete
|
|
operator=(const BLEManager &)=delete
|
|
~BLEManager()=default
|
|
공개 유형
WBLE
ConnectivityManager::WoBLEServiceMode WoBLEServiceMode
공개 함수
GetBleLayer
::nl::Ble::BleLayer * GetBleLayer( void ) const
기기 이름 가져오기
WEAVE_ERROR GetDeviceName( char *buf, size_t bufSize )
GetWoBLEServiceMode
WoBLEServiceMode GetWoBLEServiceMode( void )
Init
WEAVE_ERROR Init( void )
광고
bool IsAdvertising( void )
IsAdvertisingEnabled
bool IsAdvertisingEnabled( void )
빠른 광고 사용 설정됨
bool IsFastAdvertisingEnabled( void )
NumConnections 연결
uint16_t NumConnections( void )
온플랫폼 이벤트
void OnPlatformEvent( const WeaveDeviceEvent *event )
SetAdvertisingEnabled
WEAVE_ERROR SetAdvertisingEnabled( bool val )
기기 이름 설정
WEAVE_ERROR SetDeviceName( const char *deviceName )
SetFastAdvertisingEnabled
WEAVE_ERROR SetFastAdvertisingEnabled( bool val )
설정 함수
WEAVE_ERROR SetWoBLEServiceMode( WoBLEServiceMode val )
보호된 함수
저전력 블루투스
BLEManager()=default