diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-11-02 09:49:31 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-12-13 07:40:18 +0000 |
commit | 37a3b8104588605f9055ea93e59112e48a114dc1 (patch) | |
tree | bbb0c97f26fd5f9667d3339302cb73e134e9f3ed /src/bluetooth/bluez/bluez5_helper_p.h | |
parent | 49b6eaede5ce149a7517718c5c59b92d25adb7d5 (diff) |
Implement bluetoothd version test
This patch adds the ability to detect the underlying version of bluetoothd.
The bluetoothd version provides the means to decide whether the DBUS LE
API is sufficient to fullfil the QLEController requirements.
Bluez DBus LE API is usable since Bluez 5.42. Prior versions
only had experimental DBus LE APIs.
Task-number: QTBUG-46819
Change-Id: Ic047fba27c01ee40571abb0c4eb45828f4a64475
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/bluez/bluez5_helper_p.h')
-rw-r--r-- | src/bluetooth/bluez/bluez5_helper_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/bluez/bluez5_helper_p.h b/src/bluetooth/bluez/bluez5_helper_p.h index 6aeed11d..1deecfc9 100644 --- a/src/bluetooth/bluez/bluez5_helper_p.h +++ b/src/bluetooth/bluez/bluez5_helper_p.h @@ -66,7 +66,7 @@ Q_DECLARE_METATYPE(ManagedObjectList) QT_BEGIN_NAMESPACE bool isBluez5(); -bool isBluez5DbusGatt(); +QVersionNumber bluetoothdVersion(); QString sanitizeNameForDBus(const QString& text); |