diff options
Diffstat (limited to 'src/bluetooth')
-rw-r--r-- | src/bluetooth/qlowenergycharacteristicinfo_bluez.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qlowenergycharacteristicinfo_bluez.cpp b/src/bluetooth/qlowenergycharacteristicinfo_bluez.cpp index eb3b61ec..bcfd898e 100644 --- a/src/bluetooth/qlowenergycharacteristicinfo_bluez.cpp +++ b/src/bluetooth/qlowenergycharacteristicinfo_bluez.cpp @@ -46,7 +46,7 @@ #include <QtDBus/QDBusPendingCallWatcher> -#define QT_LOWENERGYCHARACTERISTIC_DEBUG +//#define QT_LOWENERGYCHARACTERISTIC_DEBUG #ifdef QT_LOWENERGYCHARACTERISTIC_DEBUG #include <QtCore/QDebug> @@ -130,7 +130,7 @@ void QLowEnergyCharacteristicInfoPrivate::replyReceived(const QString &reply) void QLowEnergyCharacteristicInfoPrivate::setValue(const QByteArray &wantedValue) { - if (permission & QLowEnergyCharacteristicInfo::Write) { + if (permission & QLowEnergyCharacteristicInfo::Write || notification) { process = process->instance(); if (!m_signalConnected) { connect(process, SIGNAL(replySend(const QString &)), this, SLOT(replyReceived(const QString &))); |