251 return a.filterPolicy() ==
b.filterPolicy() &&
a.minimumInterval() ==
b.minimumInterval()
252 &&
a.maximumInterval() ==
b.maximumInterval() &&
a.mode() ==
b.mode()
253 &&
a.whiteList() ==
b.whiteList();
256bool QLowEnergyAdvertisingParameters::AddressInfo::equals(
QLowEnergyAdvertisingParametersPrivate()
QLowEnergyAdvertisingParameters::Mode mode
QLowEnergyAdvertisingParameters::FilterPolicy filterPolicy
QList< QLowEnergyAdvertisingParameters::AddressInfo > whiteList
QBluetoothAddress address
QLowEnergyController::RemoteAddressType type
The QLowEnergyAdvertisingParameters class represents the parameters used for Bluetooth Low Energy adv...
void setWhiteList(const QList< AddressInfo > &whiteList, FilterPolicy policy)
Sets the white list that is potentially used for filtering scan and connection requests.
FilterPolicy filterPolicy() const
Returns the filter policy that determines how the white list is used.
QLowEnergyAdvertisingParameters()
Constructs a new object of this class.
Mode mode() const
Returns the advertising mode.
QLowEnergyAdvertisingParameters & operator=(const QLowEnergyAdvertisingParameters &other)
Makes this object a copy of other and returns the new value of this object.
void setInterval(quint16 minimum, quint16 maximum)
Sets the advertising interval.
int minimumInterval() const
Returns the minimum advertising interval in milliseconds.
~QLowEnergyAdvertisingParameters()
Destroys this object.
void setMode(Mode mode)
Sets the advertising mode to mode.
int maximumInterval() const
Returns the maximum advertising interval in milliseconds.
Mode
Specifies in which way to advertise.
FilterPolicy
Specifies the semantics of the white list.
QList< AddressInfo > whiteList() const
Returns the white list used for filtering scan and connection requests.
Combined button and popup list for selecting options.
constexpr const T & qMax(const T &a, const T &b)
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]