nl:: رنگ:: WeaveBLEDDeviceIdentificationInfo
#include <src/ble/WeaveBleServiceData.h>
بلوک اطلاعات شناسایی دستگاه BLE را ببافید.
خلاصه
فرمت رمزگذاری شده خارج از هوا بلوک اطلاعات شناسایی دستگاه را که در داده های تبلیغاتی سرویس Weave BLE ظاهر می شود، تعریف می کند.
انواع عمومی | |
---|---|
@15 | شمارش |
@16 | شمارش |
صفات عمومی | |
---|---|
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
شناسه دستگاه
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceId[8]
شناسه محصول دستگاه
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceProductId[2]
DeviceVendorId
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceVendorId[2]
نسخه اصلی
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MajorVersion
نسخه مینور
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 )
شروع کنید
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 )
جز در مواردی که غیر از این ذکر شده باشد، محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است و نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است. Thread علامت تجاری ثبتشده Thread Group, Inc است.
تاریخ آخرین بهروزرسانی 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":"غیره"
}]