nl:: বুনা:: ডিভাইস লেয়ার:: অভ্যন্তরীণ:: BLEManager

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

একটি Weave ডিভাইসের জন্য WoBLE পরিষেবা এবং সংযোগের উপর নিয়ন্ত্রণ প্রদান করে।

সারসংক্ষেপ

BLEManager একটি সিঙ্গলটন অবজেক্টের বিমূর্ত ইন্টারফেসকে সংজ্ঞায়িত করে যা একটি Weave ডিভাইসের জন্য WoBLE পরিষেবা এবং সংযোগের উপর নিয়ন্ত্রণ প্রদান করে। BLEManager হল একটি অভ্যন্তরীণ বস্তু যা ওয়েভ ডিভাইস লেয়ার সহ অন্যান্য উপাদান দ্বারা ব্যবহৃত হয়, কিন্তু অ্যাপ্লিকেশনটিতে সরাসরি অ্যাক্সেসযোগ্য নয়।

উত্তরাধিকার

সরাসরি পরিচিত সাবক্লাস:
  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

পাবলিক প্রকার

WoBLEServiceMode

ConnectivityManager::WoBLEServiceMode WoBLEServiceMode

পাবলিক ফাংশন

GetBleLayer

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

GetDeviceName

WEAVE_ERROR GetDeviceName(
  char *buf,
  size_t bufSize
)

GetWoBLEServiceMode

WoBLEServiceMode GetWoBLEServiceMode(
  void
)

এটা

WEAVE_ERROR Init(
  void
)

বিজ্ঞাপন

bool IsAdvertising(
  void
)

IsAdvertising Enabled

bool IsAdvertisingEnabled(
  void
)

ফাস্ট অ্যাডভার্টাইজিং সক্ষম

bool IsFastAdvertisingEnabled(
  void
)

সংখ্যা সংযোগ

uint16_t NumConnections(
  void
)

অনপ্ল্যাটফর্ম ইভেন্ট

void OnPlatformEvent(
  const WeaveDeviceEvent *event
)

SetAdvertisingEnabled

WEAVE_ERROR SetAdvertisingEnabled(
  bool val
)

ডিভাইসের নাম সেট করুন

WEAVE_ERROR SetDeviceName(
  const char *deviceName
)

SetFastAdvertisingEnabled

WEAVE_ERROR SetFastAdvertisingEnabled(
  bool val
)

WoBLEServiceMode সেট করুন

WEAVE_ERROR SetWoBLEServiceMode(
  WoBLEServiceMode val
)

সুরক্ষিত ফাংশন

BLEManager

 BLEManager()=default

BLEManager

 BLEManager(
  const BLEManager &
)=delete

BLEManager

 BLEManager(
  const BLEManager &&
)=delete

অপারেটর=

BLEManager & operator=(
  const BLEManager &
)=delete

~ BLE ম্যানেজার

 ~BLEManager()=default