nl::Ble::WeaveBLEDeviceIdenticationInfo
#include <src/ble/WeaveBleServiceData.h>
Dệt khối thông tin nhận dạng thiết bị Bluetooth năng lượng thấp (BLE).
Tóm tắt
Xác định định dạng mã hóa không dây 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 của dịch vụ Weave BLE.
Loại công khai
|
@15
|
enum |
@16
|
enum |
Loại công khai
@15
nl::Ble::WeaveBLEDeviceIdentificationInfo::@15
@16
nl::Ble::WeaveBLEDeviceIdentificationInfo::@16
Thuộc tính công khai
Chặn
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockLen
Loại chặn
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockType
Id thiết bị
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceId[8]
Mã sản phẩm thiết bị
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceProductId[2]
Mã nhà cung cấp thiết bị
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceVendorId[2]
Phiên bản lớn
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MajorVersion
Phiên bản nhỏ
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MinorVersion
Trạng thái ghép nối
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::PairingStatus
Hàm công khai
GetDeviceId
uint64_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetDeviceId(
void
)
Nhận sản phẩm
uint16_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetProductId(
void
)
Nhận mã nhà cung cấp
uint16_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetVendorId(
void
)
Số nguyên
void nl::Ble::WeaveBLEDeviceIdentificationInfo::Init()
Đặt thiết bị
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetDeviceId(
uint64_t deviceId
)
Đặt sản phẩm
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetProductId(
uint16_t productId
)
Đặt nhà cung cấp
void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetVendorId(
uint16_t vendorId
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2019-10-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]