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

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

BLEManager クラスによって BLE 機能が実装されているプラットフォーム向けに、BLE 固有の ConnectivityManager 機能の汎用的な実装を提供します。

概要

このクラスは、テンプレートの ImplClass パラメータとしても表示される ConnectivityManagerImpl クラスによって(直接的または間接的に)継承されることを目的としています。

このクラスのメソッドの大半は、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
)

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

静的パブリック関数

_WoBLEServiceModeToStr

const char * _WoBLEServiceModeToStr(
  ConnectivityManager::WoBLEServiceMode mode
)