summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller_android.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_android.cpp')
-rw-r--r--src/bluetooth/qlowenergycontroller_android.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qlowenergycontroller_android.cpp b/src/bluetooth/qlowenergycontroller_android.cpp
index 983c17d9..1ad57a8f 100644
--- a/src/bluetooth/qlowenergycontroller_android.cpp
+++ b/src/bluetooth/qlowenergycontroller_android.cpp
@@ -263,7 +263,7 @@ void QLowEnergyControllerPrivate::readCharacteristic(
}
if (!result)
- service->setError(QLowEnergyService::CharacteristicWriteError);
+ service->setError(QLowEnergyService::CharacteristicReadError);
}
void QLowEnergyControllerPrivate::readDescriptor(
@@ -289,7 +289,7 @@ void QLowEnergyControllerPrivate::readDescriptor(
}
if (!result)
- service->setError(QLowEnergyService::DescriptorWriteError);
+ service->setError(QLowEnergyService::DescriptorReadError);
}
void QLowEnergyControllerPrivate::connectionUpdated(