Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.

nl::Ble::InfoWeaveBLEDeviceIdentifikasi

#include <src/ble/WeaveBleServiceData.h>

Blok Informasi Identifikasi Perangkat BLE.

Ringkasan

Menentukan format yang dienkode over-the-air dari blok informasi identifikasi perangkat yang muncul dalam data iklan layanan Weave BLE.

Jenis publik

@15 enum
@16 enum

Atribut publik

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

Fungsi publik

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

Jenis publik

@15

 nl::Ble::WeaveBLEDeviceIdentificationInfo::@15

@16.

 nl::Ble::WeaveBLEDeviceIdentificationInfo::@16

Atribut publik

Blok

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockLen

Jenis Blok

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockType

ID Perangkat

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

IDProdukProduk

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

ID VendorPerangkat

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

Versi Utama

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MajorVersion

Versi Minor

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::MinorVersion

StatusPenyambungan

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::PairingStatus

Fungsi publik

ID GetDevice

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

IDProdukProduk

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

ID Vendor

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

Init

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

IDPerangkatDisetel

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

IDProdukProduk

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

ID Vendor

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