![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtBluetooth More...
#include <qlowenergyadvertisingparameters.h>
Public Member Functions | |
AddressInfo (const QBluetoothAddress &addr, QLowEnergyController::RemoteAddressType t) | |
\variable QLowEnergyAdvertisingParameters::AddressInfo::address | |
AddressInfo () | |
Constructs a default constructed AddressInfo instance. | |
Public Attributes | |
QBluetoothAddress | address |
QLowEnergyController::RemoteAddressType | type |
Friends | |
bool | operator== (const AddressInfo &a, const AddressInfo &b) |
Returns true if a and b are equal with respect to their public state, otherwise returns false . | |
bool | operator!= (const AddressInfo &a, const AddressInfo &b) |
Returns true if a and b are not equal with respect to their public state, otherwise returns false . | |
\inmodule QtBluetooth
The QLowEnergyAdvertisingParameters::AddressInfo defines the elements of a white list.
A list of QLowEnergyAdvertisingParameters::AddressInfo instances is passed to \l 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 \l QLowEnergyAdvertisingParameters::FilterPolicy.
Definition at line 41 of file qlowenergyadvertisingparameters.h.
|
inline |
\variable QLowEnergyAdvertisingParameters::AddressInfo::address
This is the Bluetooth address of a remote device.
\variable QLowEnergyAdvertisingParameters::AddressInfo::type
The type of the address (public or private). The \l AddressInfo default constructor initialises this value to \l QLowEnergyController::PublicAddress.
Constructs a new AddressInfo instance. addr represents the Bluetooth address of the remote device and type the nature of the address.
Definition at line 44 of file qlowenergyadvertisingparameters.h.
|
inline |
Constructs a default constructed AddressInfo instance.
By default the \l AddressInfo::type member is set to \l QLowEnergyController::PublicAddress and the \l AddressInfo::address member has a null address.
Definition at line 46 of file qlowenergyadvertisingparameters.h.
|
friend |
Returns true
if a and b are not equal with respect to their public state, otherwise returns false
.
Definition at line 51 of file qlowenergyadvertisingparameters.h.
|
friend |
Returns true
if a and b are equal with respect to their public state, otherwise returns false
.
Definition at line 50 of file qlowenergyadvertisingparameters.h.
QBluetoothAddress QLowEnergyAdvertisingParameters::AddressInfo::address |
Definition at line 48 of file qlowenergyadvertisingparameters.h.
QLowEnergyController::RemoteAddressType QLowEnergyAdvertisingParameters::AddressInfo::type |
Definition at line 49 of file qlowenergyadvertisingparameters.h.