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

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

มอบการควบคุมบริการและการเชื่อมต่อ WoBLE สำหรับอุปกรณ์ Weave

สรุป

BLEManager กำหนดอินเทอร์เฟซนามธรรมของออบเจ็กต์เดี่ยวๆ ที่ให้การควบคุมบริการ WoBLE และการเชื่อมต่อสำหรับอุปกรณ์ Weave BLEManager เป็นออบเจ็กต์ภายในที่คอมโพเนนต์อื่นๆ ที่มี Weave Device Layer ใช้ แต่แอปพลิเคชันไม่สามารถเข้าถึงได้โดยตรง

การสืบทอด

คลาสย่อยที่รู้จักโดยตรง:
  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

ประเภทสาธารณะ

WoBLEServiceMode

ConnectivityManager::WoBLEServiceMode WoBLEServiceMode

ฟังก์ชันสาธารณะ

GetBleLayer

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

GetDeviceName

WEAVE_ERROR GetDeviceName(
  char *buf,
  size_t bufSize
)

GetWoBLEServiceMode

WoBLEServiceMode GetWoBLEServiceMode(
  void
)

เริ่มต้น

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

โอเปอเรเตอร์=

BLEManager & operator=(
  const BLEManager &
)=delete

~BLEManager

 ~BLEManager()=default