nl::Weave::DeviceLayer::Internal::BLEManager
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/BLEManager.h>
ให้การควบคุมบริการ WoBLE และการเชื่อมต่อสำหรับอุปกรณ์ Weave
สรุป
BLEManager กำหนดอินเทอร์เฟซเชิงนามธรรมของออบเจ็กต์ Singleton ที่ให้การควบคุมบริการ WoBLE และการเชื่อมต่อสำหรับอุปกรณ์ Weave BLEManager คือออบเจ็กต์ภายในที่คอมโพเนนต์อื่นๆ ที่มี Weave Device Layer ใช้ แต่แอปพลิเคชันไม่สามารถเข้าถึงได้โดยตรง
การสืบทอด
คลาสย่อยที่รู้จักโดยตรง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
)
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