使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
nl::Ble::WeaveBLEDeviceIdentificationInfo
#include <src/ble/WeaveBleServiceData.h>
Weave BLE 设备标识信息块。
摘要
定义在 Weave BLE 服务广告数据中显示的设备标识信息块的无线编码格式。
公共类型
@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]
设备产品 ID
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceProductId[2]
设备供应商 ID
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceVendorId[2]
MajorVersion
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MajorVersion
MinorVersion
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MinorVersion
配对状态
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()
设置设备 ID
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetDeviceId(
uint64_t deviceId
)
设置产品 ID
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetProductId(
uint16_t productId
)
设置 VendorId
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetVendorId(
uint16_t vendorId
)
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。Thread 是 Thread Group, Inc. 的注册商标。
最后更新时间 (UTC):2019-10-28。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]