246 return a.discoverability() ==
b.discoverability()
247 &&
a.includePowerLevel() ==
b.includePowerLevel() &&
a.localName() ==
b.localName()
248 &&
a.manufacturerData() ==
b.manufacturerData()
249 &&
a.manufacturerId() ==
b.manufacturerId() &&
a.services() ==
b.services()
250 &&
a.rawData() ==
b.rawData();
std::vector< ObjCStrongReference< CBMutableService > > services
QByteArray manufacturerData
QLowEnergyAdvertisingDataPrivate()
QLowEnergyAdvertisingData::Discoverability discoverability
QList< QBluetoothUuid > services
The QLowEnergyAdvertisingData class represents the data to be broadcast during Bluetooth Low Energy a...
QString localName() const
Returns the name of the local device that is to be advertised.
void setIncludePowerLevel(bool doInclude)
Specifies whether to include the device's transmit power level in the advertising data.
void setManufacturerData(quint16 id, const QByteArray &data)
Sets the manufacturer id and data.
QByteArray manufacturerData() const
Returns the manufacturer data.
QByteArray rawData() const
Returns the user-supplied raw data to be advertised.
bool includePowerLevel() const
Returns whether to include the device's transmit power level in the advertising data.
void setLocalName(const QString &name)
Specifies that name should be broadcast as the name of the device.
quint16 manufacturerId() const
Returns the manufacturer id.
void setRawData(const QByteArray &data)
Sets the data to be advertised to data.
Discoverability discoverability() const
Returns the discoverability mode of the advertising device.
~QLowEnergyAdvertisingData()
Destroys this object.
void setDiscoverability(Discoverability mode)
Sets the discoverability type of the advertising device to mode.
QList< QBluetoothUuid > services() const
Returns the list of service UUIDs to be advertised.
Discoverability
The discoverability of the advertising device as defined by the Generic Access Profile.
void setServices(const QList< QBluetoothUuid > &services)
Specifies that the service UUIDs in services should be advertised.
QLowEnergyAdvertisingData & operator=(const QLowEnergyAdvertisingData &other)
Makes this object a copy of other and returns the new value of this object.
QLowEnergyAdvertisingData()
Creates a new object of this class.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data