nl::Weave::DeviceLayer::Internal::BLEManager

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/BLEManager.h>

Weave 기기의 WoBLE 서비스 및 연결에 대한 제어를 제공합니다.

요약

BLEManager는 Weave 기기의 WoBLE 서비스와 연결을 제어하는 싱글톤 객체의 추상 인터페이스를 정의합니다. BLEManager는 Weave 기기 레이어가 있는 다른 구성요소에서 사용하는 내부 객체이지만 애플리케이션에서 직접 액세스할 수는 없습니다.

상속

직접 알려진 서브클래스: <ph type="x-smartling-placeholder">
</ph>   nl::Weave::DeviceLayer::Internal::BLEManagerImpl <ph type="x-smartling-placeholder">
</ph>   nl::Weave::DeviceLayer::Internal::BLEManagerImpl <ph type="x-smartling-placeholder">
</ph>   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

공개 유형

WoBLEServiceMode

ConnectivityManager::WoBLEServiceMode WoBLEServiceMode

공개 함수

GetBleLayer

::nl::Ble::BleLayer * GetBleLayer(
  void
) const 

GetDeviceName

WEAVE_ERROR GetDeviceName(
  char *buf,
  size_t bufSize
)

GetWoBLEServiceMode

WoBLEServiceMode GetWoBLEServiceMode(
  void
)

Init

WEAVE_ERROR Init(
  void
)

IsAdvertising

bool IsAdvertising(
  void
)

IsAdvertisingEnabled

bool IsAdvertisingEnabled(
  void
)

IsFastAdvertisingEnabled

bool IsFastAdvertisingEnabled(
  void
)

NumConnections

uint16_t NumConnections(
  void
)

OnPlatformEvent

void OnPlatformEvent(
  const WeaveDeviceEvent *event
)

SetAdvertisingEnabled

WEAVE_ERROR SetAdvertisingEnabled(
  bool val
)

SetDeviceName

WEAVE_ERROR SetDeviceName(
  const char *deviceName
)

SetFastAdvertisingEnabled

WEAVE_ERROR SetFastAdvertisingEnabled(
  bool val
)

SetWoBLEServiceMode

WEAVE_ERROR SetWoBLEServiceMode(
  WoBLEServiceMode val
)

보호된 함수

BLEManager

 BLEManager()=default

BLEManager

 BLEManager(
  const BLEManager &
)=delete

BLEManager

 BLEManager(
  const BLEManager &&
)=delete

operator=

BLEManager & operator=(
  const BLEManager &
)=delete

~BLEManager

 ~BLEManager()=default