nl :: Ble :: WeaveBLEDeviceIdentificationInfo
#include <src/ble/WeaveBleServiceData.h>
Dệt khối thông tin nhận dạng thiết bị BLE.
Tóm lược
Xác định định dạng được mã hóa qua mạng của khối thông tin nhận dạng thiết bị xuất hiện trong dữ liệu quảng cáo dịch vụ Weave BLE.
Các loại công khai |
---|
@15 | enum |
@16 | enum |
Các loại công khai
@ 15
nl::Ble::WeaveBLEDeviceIdentificationInfo::@15
@ 16
nl::Ble::WeaveBLEDeviceIdentificationInfo::@16
Thuộc tính công cộng
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
Chức năng công cộng
GetDeviceId
uint64_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetDeviceId(
void
)
GetProductId
uint16_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetProductId(
void
)
GetVendorId
uint16_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetVendorId(
void
)
Trong đó
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
)