4#ifndef QLOWENERGYADVERTISINGPARAMETERS_H
5#define QLOWENERGYADVERTISINGPARAMETERS_H
7#include <QtBluetooth/qtbluetoothglobal.h>
8#include <QtBluetooth/qbluetoothaddress.h>
9#include <QtBluetooth/qlowenergycontroller.h>
10#include <QtCore/qlist.h>
11#include <QtCore/qshareddata.h>
37 enum Mode { AdvInd = 0x0, AdvScanInd = 0x2, AdvNonConnInd = 0x3 };
58 IgnoreWhiteList = 0x00,
59 UseWhiteListForScanning = 0x01,
60 UseWhiteListForConnecting = 0x02,
61 UseWhiteListForScanningAndConnecting = 0x03,
68 int minimumInterval()
const;
69 int maximumInterval()
const;
friend 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.
QBluetoothAddress address
friend 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.
QLowEnergyController::RemoteAddressType type
AddressInfo(const QBluetoothAddress &addr, QLowEnergyController::RemoteAddressType t)
\variable QLowEnergyAdvertisingParameters::AddressInfo::address
AddressInfo()
Constructs a default constructed AddressInfo instance.
The QLowEnergyAdvertisingParameters class represents the parameters used for Bluetooth Low Energy adv...
friend bool operator==(const QLowEnergyAdvertisingParameters &a, const QLowEnergyAdvertisingParameters &b)
Returns true if a and b are equal with respect to their public state, otherwise returns false.
friend bool operator!=(const QLowEnergyAdvertisingParameters &a, const QLowEnergyAdvertisingParameters &b)
Returns true if a and b are not equal with respect to their public state, otherwise returns false.
Mode
Specifies in which way to advertise.
FilterPolicy
Specifies the semantics of the white list.
void swap(QLowEnergyAdvertisingParameters &other) noexcept
Swaps this object with other.
RemoteAddressType
Indicates what type of Bluetooth address the remote device uses.
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLuint GLuint64EXT address