6#include <QtCore/qbytearray.h>
115 QBluetooth::AttAccessConstraints constraints)
142 QBluetooth::AttAccessConstraints constraints)
192 return a.d ==
b.d || (
194 &&
a.value() ==
b.value()
195 &&
a.isReadable() ==
b.isReadable()
196 &&
a.isWritable() ==
b.isWritable()
197 &&
a.readConstraints() ==
b.readConstraints()
198 &&
a.writeConstraints() ==
b.writeConstraints());
The QLowEnergyDescriptorData class is used to create GATT service data. \inmodule QtBluetooth.
bool isValid() const
Returns true if and only if this object has a non-null UUID.
QLowEnergyDescriptorData()
Creates a new invalid object of this class.
bool isReadable() const
Returns true if the value of this descriptor is readable and false otherwise.
void setUuid(const QBluetoothUuid &uuid)
Sets the UUID of this descriptor to uuid.
void setWritePermissions(bool writable, QBluetooth::AttAccessConstraints constraints=QBluetooth::AttAccessConstraints())
Specifies whether the value of this descriptor is writable and if so, under which constraints.
QBluetooth::AttAccessConstraints readConstraints() const
Returns the constraints under which the value of this descriptor can be read.
bool isWritable() const
Returns true if the value of this descriptor is writable and false otherwise.
QByteArray value() const
Returns the value of this descriptor.
QBluetooth::AttAccessConstraints writeConstraints() const
Returns the constraints under which the value of this descriptor can be written.
void setValue(const QByteArray &value)
Sets the value of this descriptor to value.
QLowEnergyDescriptorData & operator=(const QLowEnergyDescriptorData &other)
Makes this object a copy of other and returns the new value of this object.
QBluetoothUuid uuid() const
Returns the UUID of this descriptor.
void setReadPermissions(bool readable, QBluetooth::AttAccessConstraints constraints=QBluetooth::AttAccessConstraints())
Specifies whether the value of this descriptor is readable and if so, under which constraints.
~QLowEnergyDescriptorData()
Destroys this object.
bool isNull() const noexcept
Returns true if this is the null UUID {00000000-0000-0000-0000-000000000000}; otherwise returns false...
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
QBluetooth::AttAccessConstraints writeConstraints
QLowEnergyDescriptorDataPrivate()
QBluetooth::AttAccessConstraints readConstraints