summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/lowenergyscanner')
-rw-r--r--examples/bluetooth/lowenergyscanner/characteristicinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
index 10b8fad6..2a69529a 100644
--- a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
+++ b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
@@ -82,7 +82,7 @@ QString CharacteristicInfo::getValue() const
QString CharacteristicInfo::getHandle() const
{
- return m_characteristic.handle();
+ return QStringLiteral("0x") + QString::number(m_characteristic.handle(), 16);
}
QString CharacteristicInfo::getPermission() const