diff options
author | Nedim Hadzic <nhadzic@blackberry.com> | 2013-11-27 17:13:59 +0100 |
---|---|---|
committer | Nedim Hadzic <nhadzic@blackberry.com> | 2013-11-28 16:32:07 +0100 |
commit | 12ac88fa8d87d8fd86aa86bc009c7a78503648ee (patch) | |
tree | 5708457bcefa1c019913443023a97b4a1bc6a84f /src/bluetooth/qlowenergycontroller.h | |
parent | beb84e5fcdc79b3e9a613d9d5c36ac27952a5546 (diff) |
Implemented the characteristic error handling.
In case of enabling notifications and writing values to the LE device, some errors can occur and which are reported now.
Change-Id: I02c6deab925d06916c5b56705c9423386400f713
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.h')
-rw-r--r-- | src/bluetooth/qlowenergycontroller.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller.h b/src/bluetooth/qlowenergycontroller.h index 4f49acb5..432e6669 100644 --- a/src/bluetooth/qlowenergycontroller.h +++ b/src/bluetooth/qlowenergycontroller.h @@ -69,6 +69,7 @@ public: Q_SIGNALS: void connected(const QLowEnergyServiceInfo &); void error(const QLowEnergyServiceInfo &); + void error(const QLowEnergyCharacteristicInfo &); void disconnected(const QLowEnergyServiceInfo &); void valueChanged(const QLowEnergyCharacteristicInfo &); @@ -79,6 +80,7 @@ private: Q_PRIVATE_SLOT(d_func(), void _q_serviceConnected(const QBluetoothUuid &uuid)) Q_PRIVATE_SLOT(d_func(), void _q_serviceError(const QBluetoothUuid &uuid)) + Q_PRIVATE_SLOT(d_func(), void _q_characteristicError(const QBluetoothUuid &uuid)) Q_PRIVATE_SLOT(d_func(), void _q_valueReceived(const QBluetoothUuid &uuid)) Q_PRIVATE_SLOT(d_func(), void _q_serviceDisconnected(const QBluetoothUuid &uuid)) }; |