QLowEnergyDescriptor Class
The QLowEnergyDescriptor class stores information about the Bluetooth Low Energy descriptor. More...
| Header: | #include <QLowEnergyDescriptor> |
| qmake: | QT += bluetooth |
| Since: | Qt 5.4 |
This class was introduced in Qt 5.4.
Detailed Description
QLowEnergyDescriptor provides information about a Bluetooth Low Energy descriptor's name(), uuid(), value() and handle(). Descriptors are encapsulated by Bluetooth Low Energy characteristics and provide additional contextual information about the characteristic (data format, notification activation and so on).
The descriptor value may be written via the QLowEnergyService instance that manages the service to which this descriptor belongs. The QLowEnergyService::writeDescriptor() function writes the new value. The QLowEnergyService::descriptorWritten() signal is emitted upon success. The cached value() of this object is updated accordingly.
See also QLowEnergyService and QLowEnergyCharacteristic.