From 0a612418620a56df2b7962fa871a5d70c2fff2da Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Fri, 15 Aug 2014 15:49:23 +0200 Subject: Add class documentation for QLowEnergyService This class is part of the new Bluetooth Low Energy feature in Qt 5.4 Change-Id: If10cac1ac1312cb63137c854a4456bf2d646f630 Reviewed-by: Leena Miettinen --- src/bluetooth/qlowenergycontroller.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/bluetooth/qlowenergycontroller.cpp') 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 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( -- cgit v1.2.3