En Google, luchamos por la equidad racial de la comunidad negra. Más información

nl::Ble::WeaveBLEDeviceIdentificationInfo

#include <src/ble/WeaveBleServiceData.h>

Bloque de información de identificación de dispositivo de Weave.

Resumen

Define el formato codificado de forma inalámbrica del bloque de información de identificación del dispositivo que aparece dentro de los datos de los anuncios del servicio de Weave BLE.

Tipos públicos

@15 enum
@16 enum

Atributos públicos

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

Funciones públicas

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

Tipos públicos

@15

 nl::Ble::WeaveBLEDeviceIdentificationInfo::@15

@16

 nl::Ble::WeaveBLEDeviceIdentificationInfo::@16

Atributos públicos

BlockLen

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockLen

BlockType

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockType

DeviceId

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceId[8]

ID del producto del dispositivo

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceProductId[2]

ID del dispositivo

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::DeviceVendorId[2]

Versión principal

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MajorVersion

Versión secundaria

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MinorVersion

Estado de vinculación

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::PairingStatus

Funciones públicas

GetDeviceId

uint64_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetDeviceId(
  void
)

ObtenerProductId

uint16_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetProductId(
  void
)

ID de GetVendor

uint16_t nl::Ble::WeaveBLEDeviceIdentificationInfo::GetVendorId(
  void
)

Init

void nl::Ble::WeaveBLEDeviceIdentificationInfo::Init()

ID del dispositivo

void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetDeviceId(
  uint64_t deviceId
)

ID del conjunto de productos

void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetProductId(
  uint16_t productId
)

ID de SetVendor

void nl::Ble::WeaveBLEDeviceIdentificationInfo::SetVendorId(
  uint16_t vendorId
)