5#include <QtBluetooth/QLowEnergyService>
61 data->charHandle =
other.data->charHandle;
62 data->descHandle =
other.data->descHandle;
76 data->charHandle = charHandle;
77 data->descHandle = descHandle;
106 data->charHandle =
other.data->charHandle;
107 data->descHandle =
other.data->descHandle;
144 if (
a.d_ptr !=
b.d_ptr)
147 if ((
a.data && !
b.data) || (!
a.data &&
b.data))
153 if (
a.data->charHandle !=
b.data->charHandle ||
a.data->descHandle !=
b.data->descHandle) {
193 descriptorList.contains(
data->descHandle)) {
214 return data->descHandle;
228 descriptorList.contains(
data->descHandle)) {
294 return data->charHandle;
quint16 toUInt16(bool *ok=nullptr) const
Returns the 16 bit representation of this UUID.
@ CharacteristicExtendedProperties
@ CharacteristicAggregateFormat
@ ExternalReportReference
@ CharacteristicPresentationFormat
@ ServerCharacteristicConfiguration
@ CharacteristicUserDescription
@ ClientCharacteristicConfiguration
static QString descriptorToString(DescriptorType uuid)
Returns a human-readable and translated name for the given descriptor type represented by uuid.
QLowEnergyDescriptor()
Construct a new QLowEnergyDescriptor.
QBluetoothUuid uuid() const
Returns the UUID of this descriptor if \l isValid() returns true; otherwise a \l {QUuid::isNull()}{nu...
QBluetoothUuid::DescriptorType type() const
Returns the type of the descriptor.
QByteArray value() const
Returns the cached value of the descriptor.
bool isValid() const
Returns true if the QLowEnergyDescriptor object is valid, otherwise returns false.
QLowEnergyDescriptor & operator=(const QLowEnergyDescriptor &other)
Makes a copy of other and assigns it to this QLowEnergyDescriptor object.
QString name() const
Returns the human-readable name of the descriptor.
~QLowEnergyDescriptor()
Destroys the QLowEnergyDescriptor object.
QLowEnergyService::ServiceState state
QHash< QLowEnergyHandle, CharData > characteristicList
bool isNull() const noexcept
Returns true if this object refers to \nullptr.
\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
QLowEnergyHandle descHandle
QLowEnergyHandle charHandle