AddressInfo Class

class QLowEnergyAdvertisingParameters::AddressInfo

QLowEnergyAdvertisingParameters::AddressInfo 에서 화이트리스트의 요소를 정의합니다. 자세히...

공용 함수

AddressInfo()
AddressInfo(const QBluetoothAddress &addr, QLowEnergyController::RemoteAddressType type)

공용 변수

QBluetoothAddress address
QLowEnergyController::RemoteAddressType type
bool operator!=(const QLowEnergyAdvertisingParameters::AddressInfo &a, const QLowEnergyAdvertisingParameters::AddressInfo &b)
bool operator==(const QLowEnergyAdvertisingParameters::AddressInfo &a, const QLowEnergyAdvertisingParameters::AddressInfo &b)

상세 설명

QLowEnergyAdvertisingParameters::AddressInfo 인스턴스 목록이 QLowEnergyAdvertisingParameters::setWhiteList()로 전달됩니다. 화이트리스트는 주변 장치와 상호 작용할 수 있는 권한을 가진 장치를 제한하는 데 사용됩니다. 허용되는 상호 작용 유형은 QLowEnergyAdvertisingParameters::FilterPolicy 에 정의되어 있습니다.

QLowEnergyAdvertisingParameters::whiteList()도 참조하세요 .

멤버 함수 문서

AddressInfo::AddressInfo()

기본적으로 구성된 주소 정보 인스턴스를 구축합니다.

기본적으로 AddressInfo::type 멤버는 QLowEnergyController::PublicAddress 으로 설정되고 AddressInfo::address 멤버는 null 주소를 갖습니다.

AddressInfo::AddressInfo(const QBluetoothAddress &addr, QLowEnergyController::RemoteAddressType type)

addr 은 원격 장치의 블루투스 주소를 나타내고 type 은 주소의 특성을 나타냅니다.

멤버 변수 문서

QBluetoothAddress AddressInfo::address

원격 장치의 블루투스 주소입니다.

QLowEnergyController::RemoteAddressType AddressInfo::type

주소 유형(공개 또는 비공개)입니다. AddressInfo 기본 생성자는 이 값을 QLowEnergyController::PublicAddress 으로 초기화합니다.

관련 비회원

bool operator!=(const QLowEnergyAdvertisingParameters::AddressInfo &a, const QLowEnergyAdvertisingParameters::AddressInfo &b)

ab 이 공개 상태가 같지 않으면 true 을 반환하고, 그렇지 않으면 false 을 반환합니다.

bool operator==(const QLowEnergyAdvertisingParameters::AddressInfo &a, const QLowEnergyAdvertisingParameters::AddressInfo &b)

ab 이 공개 상태와 동일하면 true 을 반환하고, 그렇지 않으면 false 을 반환합니다.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.