260 if (
a.d_ptr !=
b.d_ptr)
263 if ((
a.data && !
b.data) || (!
a.data &&
b.data))
269 if (
a.data->handle !=
b.data->handle)
334 for ( ; descIt != charDetails.
descriptorList.constEnd(); ++descIt) {
415 descriptorList.keys();
417 std::sort(descriptorKeys.
begin(), descriptorKeys.
end());
static QString characteristicToString(CharacteristicType uuid)
Returns a human-readable and translated name for the given characteristic type represented by uuid.
@ ClientCharacteristicConfiguration
static QByteArray fromHex(const QByteArray &hexEncoded)
Returns a decoded copy of the hex encoded array hexEncoded.
friend class const_iterator
static const QByteArray CCCDEnableIndication
QByteArray value() const
Returns the cached value of the characteristic.
QLowEnergyCharacteristic()
Construct a new QLowEnergyCharacteristic.
static const QByteArray CCCDDisable
\variable QLowEnergyCharacteristic::CCCDDisable
QString name() const
Returns the human-readable name of the characteristic.
~QLowEnergyCharacteristic()
Destroys the QLowEnergyCharacteristic object.
QLowEnergyCharacteristic::PropertyTypes properties() const
Returns the properties of the characteristic.
QLowEnergyDescriptor clientCharacteristicConfiguration() const
Returns the Client Characteristic Configuration Descriptor or an invalid \l QLowEnergyDescriptor inst...
QBluetoothUuid uuid() const
Returns the UUID of the characteristic if \l isValid() returns true; otherwise a \l {QUuid::isNull()}...
static const QByteArray CCCDEnableNotification
QLowEnergyDescriptor descriptor(const QBluetoothUuid &uuid) const
Returns the descriptor for uuid or an invalid \l QLowEnergyDescriptor instance.
bool isValid() const
Returns true if the QLowEnergyCharacteristic object is valid, otherwise returns false.
QLowEnergyCharacteristic & operator=(const QLowEnergyCharacteristic &other)
Makes a copy of other and assigns it to this \l QLowEnergyCharacteristic object.
QList< QLowEnergyDescriptor > descriptors() const
Returns the list of descriptors belonging to this characteristic; otherwise an empty list.
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
GLuint64 GLenum void * handle
GLboolean GLboolean GLboolean GLboolean a
[7]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
QHash< QLowEnergyHandle, DescData > descriptorList