summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.cpp')
-rw-r--r--src/bluetooth/qlowenergycontroller.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bluetooth/qlowenergycontroller.cpp b/src/bluetooth/qlowenergycontroller.cpp
index 43b96dc8..6dd2ef5e 100644
--- a/src/bluetooth/qlowenergycontroller.cpp
+++ b/src/bluetooth/qlowenergycontroller.cpp
@@ -523,12 +523,19 @@ QList<QBluetoothUuid> QLowEnergyController::services() const
a \a parent parameter as default owner.
This function returns a null pointer if no service with
- \a serviceUuid can be found on the remote device.
+ \a serviceUuid can be found on the remote device or the controller
+ is disconnected.
This function can return instances for secondary services
too. The include relationships between services can be expressed
via \l QLowEnergyService::includedServices().
+ If this function is called multiple times using the same service UUID,
+ the returned \l QLowEnergyService instances share their internal
+ data. Therefore if one of the instances initiates the discovery
+ of the service details, the other instances automatically
+ transition into the discovery state too.
+
\sa services()
*/
QLowEnergyService *QLowEnergyController::createServiceObject(