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

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

Menyediakan implementasi umum fitur ConnectivityManager khusus BLE untuk platform tempat fungsi BLE diimplementasikan oleh class BLEManager.

Ringkasan

Class ini dimaksudkan untuk diwarisi (langsung atau tidak langsung) oleh class ConnectivityManagerImpl, yang juga muncul sebagai parameter ImplClass template.

Sebagian besar metode di class ini hanya meneruskan panggilan ke metode dengan nama serupa di class BLEManager. Pengaturan ini, di mana implementasi ConnectivityManager mendelegasikan dukungan BLE ke class BLEManager, merupakan standar pada platform yang mendukung BLE, dan membantu membatasi kompleksitas class ConnectivityManagerImpl.

Fungsi publik

_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)

Fungsi statis publik

_WoBLEServiceModeToStr(ConnectivityManager::WoBLEServiceMode mode)
const char *

Fungsi publik

_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
)

_NumBLEConnections

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
)

Fungsi statis publik

_WoBLEServiceModeToStr

const char * _WoBLEServiceModeToStr(
  ConnectivityManager::WoBLEServiceMode mode
)