The QLowEnergyAdvertisingParameters::AddressInfo defines the elements of a white list. More...
Header: | #include <AddressInfo> |
qmake: | QT += bluetooth |
Since: | Qt 5.7 |
AddressInfo(const QBluetoothAddress &addr, QLowEnergyController::RemoteAddressType type) | |
AddressInfo() |
The QLowEnergyAdvertisingParameters::AddressInfo defines the elements of a white list.
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 new AddressInfo instance. addr represents the Bluetooth address of the remote device and type the nature of the address.
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.
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.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: