diff options
author | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2014-10-29 10:15:54 +0100 |
---|---|---|
committer | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2014-11-10 10:01:52 +0100 |
commit | e0dc61db4af89cce14ade3582ac92e4b713c7982 (patch) | |
tree | dbdeffaf2648da1532144367953ce0d72ff86d50 /src/bluetooth/osx/osxbtledeviceinquiry.mm | |
parent | f1372ef9a1c4ad5bb7c7bbd94116ec1203fc4243 (diff) |
Bluetooth - device (LE) discovery for iOS
Add a QBluetoothDeviceDiscoveryAgent for iOS, implementation is based on
Core Bluetooth framework. Low Energy devices scan only.
- Ctor with address: set error as invalid bluetooth adapter error,
Core Bluetooth framework does not provide access to the local adapter's address.
- Adjust a test - we do not have access to the 'local device' information on iOS
(no address, no number of devices etc.) - skip the last test in tst_deviceDiscovery.
Change-Id: I49080d021c340016aebc548cc8ed758777c66397
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/osx/osxbtledeviceinquiry.mm')
-rw-r--r-- | src/bluetooth/osx/osxbtledeviceinquiry.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/osx/osxbtledeviceinquiry.mm b/src/bluetooth/osx/osxbtledeviceinquiry.mm index 60e3224d..2f5ec0bb 100644 --- a/src/bluetooth/osx/osxbtledeviceinquiry.mm +++ b/src/bluetooth/osx/osxbtledeviceinquiry.mm @@ -48,6 +48,8 @@ #include <QtCore/qloggingcategory.h> #include <QtCore/qdebug.h> +// Foundation header is already included by this point +// (a workaround for a broken 10.9 SDK). #include "corebluetoothwrapper_p.h" QT_BEGIN_NAMESPACE |