diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-06-09 15:58:23 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-06-15 11:57:26 +0000 |
commit | c37703dcfcd6c9762be046779f136bc8f1c4acd9 (patch) | |
tree | 01f487d407171b61e422d17968ddbec8837408a6 /src/bluetooth/qbluetoothdevicediscoveryagent_p.h | |
parent | db55878a269450d7a8f559e5d3862403eba7fbc8 (diff) |
Add BTLE device discovery timeout API
This timeout adjusts the BTLE device discovery. Some BTLE devices
require some time to show up in such a search. In general the platforms
use open ended search methodologies as their own usage pattern for
BTLE device discovery too. So far Qt Bluetooth limited the time
through a hardcoded value which the API user could not adjust.
Task-number: QTBUG-53012
Change-Id: Ia37cebd4015b438db998c6b4a265f563c1a2f89f
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h index f49ff8b7..f97c2f42 100644 --- a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h @@ -155,6 +155,7 @@ private: QTimer extendedDiscoveryTimer; #endif + int lowEnergySearchTimeout; QBluetoothDeviceDiscoveryAgent *q_ptr; }; |