summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycharacteristic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qlowenergycharacteristic.cpp')
-rw-r--r--src/bluetooth/qlowenergycharacteristic.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bluetooth/qlowenergycharacteristic.cpp b/src/bluetooth/qlowenergycharacteristic.cpp
index c3bd1a29..94842f9c 100644
--- a/src/bluetooth/qlowenergycharacteristic.cpp
+++ b/src/bluetooth/qlowenergycharacteristic.cpp
@@ -207,7 +207,8 @@ QByteArray QLowEnergyCharacteristic::value() const
/*!
Returns the handle of the characteristic's value attribute;
- or \c 0 if the handle cannot be accessed on the platform.
+ or \c 0 if the handle cannot be accessed on the platform or
+ if the characteristic is invalid.
*/
QLowEnergyHandle QLowEnergyCharacteristic::handle() const
{
@@ -305,7 +306,10 @@ bool QLowEnergyCharacteristic::isValid() const
\internal
Returns the handle of the characteristic or
- \c 0 if the handle cannot be accessed on the platform.
+ \c 0 if the handle cannot be accessed on the platform or if the
+ characteristic is invalid.
+
+ \sa isValid()
*/
QLowEnergyHandle QLowEnergyCharacteristic::attributeHandle() const
{