Google은 흑인 공동체를 위한 인종적 평등을 추구하기 위해 노력하고 있습니다. 자세히 알아보기

nl::Ble::WeaveBLEDeviceIdentificationInfo입니다.

#include <src/ble/WeaveBleServiceData.h>

BLE 기기 식별 정보 블록을 연결합니다.

요약

Weave BLE 서비스 광고 데이터 내에 표시되는 기기 식별 정보 블록의 무선으로 인코딩된 형식을 정의합니다.

공개 유형

@15 enum
@16 enum

공개 속성

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

공개 속성

블록 렌즈

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockLen

BlockType

uint8_t nl::Ble::WeaveBLEDeviceIdentificationInfo::BlockType

DeviceId

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

기기 제품 ID

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

기기 공급업체 ID

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

공개 함수

기기 ID 가져오기

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

GetProductId

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

공급업체 ID 가져오기

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

Init

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

기기 ID 설정

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

SetProductId

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

공급업체 ID 설정

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