summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/characteristicinfo.cpp')
-rw-r--r--examples/bluetooth/lowenergyscanner/characteristicinfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
index d7ae8438..f5290459 100644
--- a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
+++ b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
@@ -60,6 +60,7 @@ void CharacteristicInfo::setCharacteristic(const QLowEnergyCharacteristic &chara
QString CharacteristicInfo::getName() const
{
+ //! [les-get-descriptors]
QString name = m_characteristic.name();
if (!name.isEmpty())
return name;
@@ -71,6 +72,7 @@ QString CharacteristicInfo::getName() const
break;
}
}
+ //! [les-get-descriptors]
if (name.isEmpty())
name = "Unknown";