diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-08-15 15:49:23 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-08-18 15:40:33 +0200 |
commit | 0a612418620a56df2b7962fa871a5d70c2fff2da (patch) | |
tree | 71edef4baed6907ec901764f507827181769ad80 /src/bluetooth/qlowenergycontroller.cpp | |
parent | 03cc3adf4ef6c73d4d395d8cbaee45cf4711ef63 (diff) |
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 <riitta-leena.miettinen@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.cpp')
-rw-r--r-- | src/bluetooth/qlowenergycontroller.cpp | 9 |
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( |