summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/device.h')
-rw-r--r--examples/bluetooth/lowenergyscanner/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/bluetooth/lowenergyscanner/device.h b/examples/bluetooth/lowenergyscanner/device.h
index 09b32599..049d1c61 100644
--- a/examples/bluetooth/lowenergyscanner/device.h
+++ b/examples/bluetooth/lowenergyscanner/device.h
@@ -66,6 +66,7 @@ class Device: public QObject
Q_PROPERTY(QString update READ getUpdate NOTIFY updateChanged)
Q_PROPERTY(bool useRandomAddress READ isRandomAddress WRITE setRandomAddress NOTIFY randomAddressChanged)
Q_PROPERTY(bool state READ state NOTIFY stateChanged)
+ Q_PROPERTY(bool controllerError READ hasControllerError)
public:
Device();
~Device();
@@ -74,6 +75,7 @@ public:
QVariant getCharacteristics();
QString getUpdate();
bool state();
+ bool hasControllerError() const;
bool isRandomAddress() const;
void setRandomAddress(bool newValue);