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

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

Weave デバイスの WoBLE サービスと接続を管理します。

まとめ

BLEManager はシングルトン オブジェクトの抽象インターフェースを定義することで、Weave デバイスの WoBLE サービスと接続を制御できるようにします。BLEManager は、Weave Device Layer を持つ他のコンポーネントで使用される内部オブジェクトですが、アプリにはアクセスできません。

継承

直接的な既知のサブクラス:
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl
nl::Weave::DeviceLayer::Internal::BLEManagerImpl{/1

パブリック タイプ

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
)

init

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