нл:: Бле:: WeaveBLEDeviceIdentificationInfo
#include <src/ble/WeaveBleServiceData.h>
Блок информации идентификации устройства Weave BLE.
Краткое содержание
Определяет закодированный по беспроводной сети формат блока идентификационной информации устройства, который появляется в рекламных данных службы Weave BLE.
Публичные типы |
---|
@15 | перечисление |
@16 | перечисление |
Публичные типы
@15
nl::Ble::WeaveBLEDeviceIdentificationInfo::@15
@16
nl::Ble::WeaveBLEDeviceIdentificationInfo::@16
Публичные атрибуты
БлокЛен
uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockLen
Тип Блока
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
)