summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlowenergycontroller/qlowenergycontroller.pro
Commit message (Collapse)AuthorAgeFilesLines
* winrt: Use config feature when checking for winrt backend in auto testsOliver Wolff2017-08-301-1/+1
| | | | | | | | | | | | As the winrt backend may also be used on desktop Windows, checking for the operating system does no longer work. While touching these lines deprecated OS X checks were fixed as well. Task-number: QTBUG-61566 Change-Id: I247979aa63de6a71ac4908bda946d7db1e29b6c3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Bluetooth autotests - remove outdated insignificantTimur Pocheptsov2015-11-251-1/+0
| | | | | | | | Several tests were marked as 'insignificant' in the past, but nowadays tests can deal with VMs without BT adapters. Change-Id: If657b3723a9a3f88c9c638105a077fd7396931d8 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* QLowEnergyController - version for OS X and iOSTimur Pocheptsov2014-11-121-0/+4
| | | | | | | | | | | QLowEnergyController/Private for OS X and iOS. This patch contains dummy empty classes required. While LE controller is not fully implemented, I have to disable (marking as insignificant) auto test on this class, otherwise changing the (empty) class to pass the test adds more problem. Change-Id: I54f764f7f6468b1acf58e80555ae454922de9f3b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Fixes for QLowEnergyController unit test on AndroidAlex Blasche2014-11-111-0/+4
| | | | | | | | | | | | | | It turns out mutliple connections to the sam remote device are possible. The limitations on Linux are implementation specific. We lift the general API limitation and document the insufficient behavior on Linux. A bug has been filed to track this limitation. On Android, unit tests require widgets support to run as we need a QGuiApplication. Change-Id: I37c487246ea6115d3441ca91a920279adbdf726e Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Create 2nd version of QLowEnergyController and add related unit testAlex Blasche2014-06-161-0/+6
The Bluez implementation is the only working implementation for BTLE. However the current approach of using gatttool via QProcess is not viable going forward. The tool output is not standardized, the Bluez developers don't recommend it for anything but debugging and some Linux distros don't even ship it. Since Bluez does not have any high level API for BTLE GATT we have to use L2CP sockets to communicate with the GATT server of the peer device. The current QLowEnergyController API needs a lot of API changes going forward as some elements cause problems in the long term. In summary we need a new internal implementation and a new API for QLowEnergyController. It is far too much effort to change both elements at the same time. Hence QLowEnergyControllerNew was added with first simple API elements. Ultimately it should replace the existing class. For now the old API stays as is for reference purposes. All other BTLE classes work just fine for now. Last but not least a unit test was added. The test assumes the existence of the TI Sensor tag and verifies all its known characteristics and descriptors. Ultimately it will help to verify the proper detection of all details. Right now the test detects all services and characteristics but not all descriptors. Change-Id: I6ff1a16da1604be57f5564ae99919ffe7187d02e Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>