nl::Ble::WeaveBLEDeviceIdentificationInfo
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
#include <src/ble/WeaveBleServiceData.h>
שזירה של בלוק מידע לזיהוי מכשירי BLE.
סיכום
המדיניות הזו מגדירה את הפורמט המקודד בחיבור אלחוטי של בלוק המידע על זיהוי המכשיר שמופיע בנתוני המודעות של שירות Weave BLE.
מאפיינים ציבוריים |
|
---|---|
BlockLen
|
uint8_t
|
BlockType
|
uint8_t
|
DeviceId[8]
|
uint8_t
|
DeviceProductId[2]
|
uint8_t
|
DeviceVendorId[2]
|
uint8_t
|
MajorVersion
|
uint8_t
|
MinorVersion
|
uint8_t
|
PairingStatus
|
uint8_t
|
פונקציות ציבוריות |
|
---|---|
GetDeviceId(void)
|
uint64_t
|
GetProductId(void)
|
uint16_t
|
GetVendorId(void)
|
uint16_t
|
Init()
|
void
|
SetDeviceId(uint64_t deviceId)
|
void
|
SetProductId(uint16_t productId)
|
void
|
SetVendorId(uint16_t vendorId)
|
void
|
סוגים ציבוריים
15@
nl::Ble::WeaveBLEDeviceIdentificationInfo::@15
16@
nl::Ble::WeaveBLEDeviceIdentificationInfo::@16
מאפיינים ציבוריים
BlockLen
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockLen
BlockType
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockType
DeviceId
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceId[8]
DeviceProductId
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceProductId[2]
DeviceVendorId
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceVendorId[2]
MajorVersion
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MajorVersion
MinorVersion
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MinorVersion
PairingStatus
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::PairingStatus
פונקציות ציבוריות
GetDeviceId
uint64_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetDeviceId(
void
)
GetProductId
uint16_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetProductId(
void
)
GetVendorId
uint16_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetVendorId(
void
)
Init
void nl::Ble::WeaveBLEDeviceIdentificationInfo::Init()
SetDeviceId
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetDeviceId(
uint64_t deviceId
)
SetProductId
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetProductId(
uint16_t productId
)
SetVendorId
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetVendorId(
uint16_t vendorId
)