The QLowEnergyAdvertisingParameters::AddressInfo defines the elements of a white list. More...
This class was introduced in Qt 5.7.
| AddressInfo() | |
| AddressInfo(const QBluetoothAddress &addr, QLowEnergyController::RemoteAddressType type) |
| QBluetoothAddress | address |
| QLowEnergyController::RemoteAddressType | type |
| bool | operator!=(const AddressInfo &a, const AddressInfo &b) |
| bool | operator==(const AddressInfo &a, const AddressInfo &b) |
A list of QLowEnergyAdvertisingParameters::AddressInfo instances is passed to QLowEnergyAdvertisingParameters::setWhiteList(). White lists are used to restrict the devices which have the permission to interact with the peripheral. The permitted type of interaction is defined by QLowEnergyAdvertisingParameters::FilterPolicy.
See also QLowEnergyAdvertisingParameters::whiteList().
Constructs a default constructed AddressInfo instance.
By default the AddressInfo::type member is set to QLowEnergyController::PublicAddress and the AddressInfo::address member has a null address.
Constructs a new AddressInfo instance. addr represents the Bluetooth address of the remote device and type the nature of the address.
This is the Bluetooth address of a remote device.
The type of the address (public or private). The AddressInfo default constructor initialises this value to QLowEnergyController::PublicAddress.
Returns true if a and b are not equal with respect to their public state, otherwise returns false.
Returns true if a and b are equal with respect to their public state, otherwise returns false.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qlowenergyadvertisingparameters-addressinfo.html