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

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

מספקת שליטה בשירותים ובקישוריות של WoBLE למכשיר Weave.

סיכום

BLEManager מגדיר את הממשק המופשט של אובייקט singleton, שמספק שליטה על שירותים וקישוריות של WoBLE עבור מכשיר Weave. BLEManager הוא אובייקט פנימי המשמש רכיבים אחרים עם שכבת המכשיר Weave, אבל הוא לא נגיש ישירות לאפליקציה.

ירושה

Direct known Subclasses:
  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