nl::Weave::DeviceLayer::Internal::GenericConnectivityManagerImpl_NoBLE

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

Udostępnia ogólną implementację funkcji ConnectivityManager związanych z BLE na platformach, które nie obsługują BLE.

Podsumowanie

Ta klasa jest dziedziczona (bezpośrednio lub pośrednio) przez klasę ConnectivityManagerImpl, która pojawia się też jako parametr ImplClass szablonu.

Wszystkie elementy tej klasy to metody wbudowane, które nic nie robią i zwracają statyczne wartości. Umożliwia to kompilatorowi optymalizację martwego kodu bez użycia metody #ifdef. Na przykład:

``` if (ConnectivityMgr().GetWoBLEServiceMode() != ConnectivityManager::kWoBLEServiceMode_NotSupported) { // ... zrób coś na urządzeniach, które obsługują WoBLE ... } ```

Funkcje publiczne

_GetBLEDeviceName(char *buf, size_t bufSize)
_GetWoBLEServiceMode(void)
ConnectivityManager::WoBLEServiceMode
_IsBLEAdvertisingEnabled(void)
bool
_IsBLEFastAdvertisingEnabled(void)
bool
_NumBLEConnections(void)
uint16_t
_SetBLEAdvertisingEnabled(bool val)
_SetBLEDeviceName(const char *deviceName)
_SetBLEFastAdvertisingEnabled(bool val)
_SetWoBLEServiceMode(ConnectivityManager::WoBLEServiceMode val)

Publiczne funkcje statyczne

_WoBLEServiceModeToStr(ConnectivityManager::WoBLEServiceMode mode)
const char *

Funkcje publiczne

_GetBLEDeviceName

WEAVE_ERROR _GetBLEDeviceName(
  char *buf,
  size_t bufSize
)

_GetWoBLEServiceMode

ConnectivityManager::WoBLEServiceMode _GetWoBLEServiceMode(
  void
)

_IsBLEAdvertisingEnabled

bool _IsBLEAdvertisingEnabled(
  void
)

_IsBLEFastAdvertisingEnabled

bool _IsBLEFastAdvertisingEnabled(
  void
)

_Liczba połączeń

uint16_t _NumBLEConnections(
  void
)

_SetBLEAdvertisingEnabled

WEAVE_ERROR _SetBLEAdvertisingEnabled(
  bool val
)

_UstawBLEDeviceName

WEAVE_ERROR _SetBLEDeviceName(
  const char *deviceName
)

_SetBLEFastAdvertisingEnabled

WEAVE_ERROR _SetBLEFastAdvertisingEnabled(
  bool val
)

_SetWoBLEServiceMode

WEAVE_ERROR _SetWoBLEServiceMode(
  ConnectivityManager::WoBLEServiceMode val
)

Publiczne funkcje statyczne

_WoBLEServiceModeToStr

const char * _WoBLEServiceModeToStr(
  ConnectivityManager::WoBLEServiceMode mode
)