nl:: بافت:: DeviceLayer:: درونی؛ داخلی:: BLEMmanager

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

کنترل خدمات WoBLE و اتصال را برای دستگاه Weave فراهم می کند.

خلاصه

BLEManager رابط انتزاعی یک شی تک تن را تعریف می کند که کنترل خدمات WoBLE و اتصال را برای دستگاه Weave فراهم می کند. BLEManager یک شی داخلی است که توسط اجزای دیگر با لایه Weave Device استفاده می شود، اما مستقیماً در دسترس برنامه نیست.

وراثت

زیر کلاس های مستقیم شناخته شده:
  nl::Weave::DeviceLayer::Internal::BLEManagerImpl
  nl::Weave::DeviceLayer::Internal::BLEManagerImpl
  nl::Weave::DeviceLayer::Internal::BLEManagerImpl

انواع عمومی

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

انواع عمومی

WoBLESserviceMode

ConnectivityManager::WoBLEServiceMode WoBLEServiceMode

توابع عمومی

GetBleLayer

::nl::Ble::BleLayer * GetBleLayer(
  void
) const 

GetDeviceName

WEAVE_ERROR GetDeviceName(
  char *buf,
  size_t bufSize
)

GetWoBLESserviceMode

WoBLEServiceMode GetWoBLEServiceMode(
  void
)

شروع کنید

WEAVE_ERROR Init(
  void
)

ای تبلیغات

bool IsAdvertising(
  void
)

IsAdvertisingEnabled است

bool IsAdvertisingEnabled(
  void
)

IsFastAdvertising Enabled

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
)

SetWoBLESserviceMode را تنظیم کنید

WEAVE_ERROR SetWoBLEServiceMode(
  WoBLEServiceMode val
)

توابع محافظت شده

BLEMmanager

 BLEManager()=default

BLEMmanager

 BLEManager(
  const BLEManager &
)=delete

BLEMmanager

 BLEManager(
  const BLEManager &&
)=delete

اپراتور=

BLEManager & operator=(
  const BLEManager &
)=delete

~BLEMmanager

 ~BLEManager()=default