nl::Weave::DeviceLayer::Internal::GenericConnectivityManagerImpl_BLE

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

מספק הטמעה כללית של תכונות ConnectivityManager שספציפיות ל-BLE בפלטפורמות שבהן הפונקציונליות של BLE מיושמת על ידי המחלקה BLEManager.

סיכום

המחלקה הזו מיועדת לעבור בירושה (באופן ישיר או עקיף) למחלקה ConnectivityManagerImpl, שמופיעה גם כפרמטר ImplClass של התבנית.

רוב השיטות בכיתה הזו פשוט מעבירות קריאות לשיטות בעלות שם דומה במחלקה BLEManager. הסדר הזה, שבו ההטמעה של ConnectivityManager מקצה תמיכת BLE למחלקה BLEManager, הוא סטנדרטי בפלטפורמות שתומכות ב-BLE ועוזר להגביל את המורכבות של המחלקה ConnectivityManagerImpl.

תפקידים ציבוריים

_GetBLEDeviceName(char *buf, size_t bufSize)
_GetWoBLEServiceMode(void)
ConnectivityManager::WoBLEServiceMode
_IsBLEAdvertising(void)
bool
_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
)

_IsBLEAdvertising

bool _IsBLEAdvertising(
  void
)

_IsBLEAdvertisingEnabled

bool _IsBLEAdvertisingEnabled(
  void
)

_IsBLEFastAdvertisingEnabled

bool _IsBLEFastAdvertisingEnabled(
  void
)

_NumBLEחיבורים

uint16_t _NumBLEConnections(
  void
)

_SetBLEAdvertisingEnabled

WEAVE_ERROR _SetBLEAdvertisingEnabled(
  bool val
)

_SetBLEDeviceName

WEAVE_ERROR _SetBLEDeviceName(
  const char *deviceName
)

_SetBLEFastAdvertisingEnabled

WEAVE_ERROR _SetBLEFastAdvertisingEnabled(
  bool val
)

_SetWoBLEServiceMode

WEAVE_ERROR _SetWoBLEServiceMode(
  ConnectivityManager::WoBLEServiceMode val
)

פונקציות סטטיות ציבוריות

_WoBLEServiceModeToStr

const char * _WoBLEServiceModeToStr(
  ConnectivityManager::WoBLEServiceMode mode
)