summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller_p.cpp
diff options
context:
space:
mode:
authorNedim Hadzic <nhadzic@blackberry.com>2014-03-09 20:56:12 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 13:26:09 +0100
commit085db46d31bb5010a8486b73543d01f183b684e1 (patch)
treecbdd84273cf29d379a9026d3c9d9e89e1b376736 /src/bluetooth/qlowenergycontroller_p.cpp
parent2f133076fb91ecadadef4a8e28cd6c5d9b431f71 (diff)
BLE characteristic notification moved to controller class
Enable and disable notification communication moved to the QLowEnergyController class. Change-Id: I34ceb10a5dec067133399257d544dd56db7e626e Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_p.cpp')
-rw-r--r--src/bluetooth/qlowenergycontroller_p.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller_p.cpp b/src/bluetooth/qlowenergycontroller_p.cpp
index 0595a059..da3b6bc9 100644
--- a/src/bluetooth/qlowenergycontroller_p.cpp
+++ b/src/bluetooth/qlowenergycontroller_p.cpp
@@ -94,4 +94,15 @@ void QLowEnergyControllerPrivate::_q_valueReceived(const QBluetoothUuid &uuid)
Q_UNUSED(uuid);
}
+bool QLowEnergyControllerPrivate::enableNotification(const QLowEnergyCharacteristicInfo &characteristic)
+{
+ Q_UNUSED(characteristic);
+ return false;
+}
+
+void QLowEnergyControllerPrivate::disableNotification(const QLowEnergyCharacteristicInfo &characteristic)
+{
+ Q_UNUSED(characteristic);
+}
+
QT_END_NAMESPACE