| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: I9e858c5b4413fc657addc4d731891c8180f072b9
|
| |\
| | |
| | |
| | | |
Change-Id: Id9d1d013025262649c27e1b4d7cf43f2d7a9e11a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With Clang-Mingw the value for EADDRINUSE was not known, unless
errno.h was included.
Change-Id: I8a75a9c7b8f4578ab6c829d424d59a1c6185376b
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After the recent refactoring the writing ability was severed.
Change-Id: Ib9f116cdbbbfd87593381cb62675cab4930a2ef1
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|\| |
| | |
| | |
| | | |
Change-Id: I4bb9257f062477cd7eece5692ace7afa5e64f9c6
|
| |\|
| | |
| | |
| | | |
Change-Id: I24fadee07534c20a35b9e4de5ba7eef787ef3bbe
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: Ic9af5cb329f2fe15b74c76fc33c2beaaa5de4993
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It seems recent Android releases (at least confirmed for Android 9)
require location permission for classic device discovery. Previously,
it was only required for BTLE discovery.
This patch ensures the permission check is done for every type
of device discovery on Android.
Task-number: QTBUG-69615
Change-Id: I9596c083ecfd9b5e861c1aa5e9900bab5f44237f
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also fix build issues related to the QList->QVector
change in QtCore.
Change-Id: Ic4f5172e8771b3bbfa637c12c3a3381b2fc14928
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|\| | |
| | | |
| | | |
| | | | |
Change-Id: Ida5422c406c27baf3f48fe2447ef09342cebd9b4
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
After the recent refactoring the writing ability was severed.
Change-Id: Ib9f116cdbbbfd87593381cb62675cab4930a2ef1
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I99bc8761c648363cca89c74ecc587987e5e7cf01
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To prepare a switch from QScoped/QShared specializations in ObjC-RAII classes.
Since StrongReference will become a parent for ObjCStrongReference, add
'take'-like functionality we have for free from QSharedPointer (used when
we relegate the ownership and pass it to IOBluetooth)
Change-Id: Iab7758e6c51c339bf7afc49007d921380d38ba51
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
use DarwinBluetooth::ScopedPointer (as a data-member). This also makes
retain/no-retain policies more clear and visible/consistent.
Change-Id: Icf406e8211864d201579ac87e0eccce8b283a8e7
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SDK >= 10.13 is required now, so we can get rid of ifdefs/dead code (old,
deprecated constants).
Change-Id: I98e8e22e1d707ccfc93c18773fb371767ea82f49
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
QCFType from core should suffice.
Change-Id: Ie62bb3de76c50a4cbfde4c5e8f295a04f3f2c640
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\| | |
| | | |
| | | |
| | | | |
Change-Id: I30c0f050ea543fbd45e23d01ed4f79ee0cd75f5b
|
| |\| |
| | | |
| | | |
| | | | |
Change-Id: I044611763bf3912c99b2568de5146f112c4ac2ad
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/bluetooth/doc/src/bluetooth-index.qdoc
Change-Id: If353b4ac63c72d6f94415e1349a206ade4ceb52e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It is possible that obtaining a paired device inside the callback fails,
if the device was paired to another than the currently active bluetooth
adapter. If we do not decrement the to be detected device count, the scan
will never finish.
Change-Id: I86140d082891482c759f33888b2483f3f5821253
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-61884
Change-Id: Idd8e3287f06f3f30102ae8e644dadec1eb8769f4
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/bluetooth/bluetooth.pro
Change-Id: Ibc52464c7d607b13950eb1e67f565a9909541026
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
pro2cmake does not like them
Change-Id: I2fafdfff587fe76076417a53a082e467274db728
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These files are no private headers/implementations but dummy versions of
qlowenergycontroller.
Change-Id: I2553ff933f45585edd690d807bf3c85a1906d1ad
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The version disables some deprecated tool Apis and for the regular
Windows build the same change as commit
ccc1544f5ff929f466df8c790a4e7595e177a720 is needed.
Change-Id: I7473df0b8f0e51cc30dc640c09c77f61310185be
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As a follow-up of the recent file/namespace re-naming in QtBluetooth.
Previously, the prefix was 'OSXBT'. This prefix is needed because:
- Obj-C classes cannot be defined inside a C++ namespace, thus
- A very generic name like 'DeviceInquiry' is potentially problematic.
- We use QT_MANGLE_NAMESPACE, but for non-namespaced build it does not help.
To make these names somewhat unique, I've introduced 'OSXBT' prefix with
'OSX' for a platform and 'BT' for 'Bluetooth'. 'OSX' part of the prefix
is now outdated and I'm replacing it with 'Darwin'. Also, if a resulting
name is still ambiguous I add 'Classic' to the name ('LE' was already
in place where needed).
Change-Id: I4cb6069c96f4159dd6cc0f94823454ea6c82b1ef
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
.qmake.conf
src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp
Change-Id: Ie540a926afa800a73df6fedb23adb6502996a81b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Prepend namespace to text stream operands
and fix deprecated function and enum usage.
Change-Id: Ib9c74f940173f678d7c5af143cd2fd4e8da982e7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Obsolete 'osx' dir -> 'darwin'. Since we already prefix source
names with this 'darwin', outdated and misleading suffix 'osxbt'
is becoming simply 'bt' in file names.
Remove osxbluetooth_p.h - in the past it contained some workaronds
for some broken enum declarations inside the CoreBluetooth, since
they all gone, no header is just ... includes two other headers,
thus is redundant (I can include any of this include explicitly
when needed).
Change-Id: Ide0e7d19629cf31637db9871ff94a9084c29d0ed
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
QT_BT_OSX -> QT_BT_DARWIN. Merge two previous definitions
into one, no need to differentiate between tvOS/watchOS/iOS/macOS
- they are all Darwin-based.
Change-Id: I024d36c798292ffa14f8a9f3def242a5ae7b1e56
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since this is how we call this OS these days.
Change-Id: I679fbe888c0b695e2eefe5369c095c5dcab01600
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make naming more consistent - merge two namespaces 'OSXBluetooth' and
(the recent one) 'DarwinBluetooth' into one named 'DarwinBluetooth', since
CoreBluetooth is supported by: tvOS, watchOS, iOS and macOS (aka Darwin).
Change-Id: I8e7b0f3626f8982ea06493eef8abf058501197f4
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I8d26fc7c4b7a93c4f839683feedd76cfbc1b5979
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/bluetooth/qbluetoothdevicediscoveryagent_darwin.mm
src/bluetooth/qbluetoothserver_osx.mm
src/bluetooth/qbluetoothserviceinfo_osx.mm
src/bluetooth/qbluetoothsocket_osx.mm
Change-Id: I24485ae835560fa1e57007fb684f6532db3e7922
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The following errors are fixed:
error: member access into incomplete type
'ABI::Windows::Devices::Bluetooth::IBluetoothDeviceStatics'
error: unknown type name 'QMutex'; did you mean 'Mutex'?
Task-number: QTQAINFRA-2139
Change-Id: I5e5d9c0776cd9feb5d682c5a0e1be2f5173101f9
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: I4cf492d5c7afde6b871ec4dc9198e9a794320e32
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The manufacturer data was not properly set because the related Java
function requires a byte[] as second parameter. The equivelent JNI
type is [B and not [B]. This caused a crash of the application.
Change-Id: Iaa062ed9eb01e03d155583519d3f6a6bc01d72f7
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| |\| |
| | | |
| | | |
| | | | |
Change-Id: I8c338f097a53c1235c0ea732f57421447125bde3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Same as on Android, Obex is not supported on winrt.
Even though QBluetoothServiceInfo has a small passage about winrt's
limitations when it comes to RFCOMM. Users might miss these limitations
as they are quite hidden. Make them more visible by also having them in
the overview.
Task-number: QTBUG-62520
Change-Id: Ibdf1a9b334b7138301e833981e67c7813488bbd1
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |\| |
| | | |
| | | |
| | | | |
Change-Id: I9493330b991b387163f46b8359a611aa7ff7745e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a sibling of QTBUG-76847 on macOS instead of iOS.
Change-Id: I3df6e28d65b9835f5f54e92d462d23423c48d835
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The user has to enter a pin in such cases. Since QBluetoothLocalDevice
does not have an API to return a pin it makes no sense for QtBluetooth
to handle this type of request. Android will provide its own fall back
form.
This patch is mostly a revert of f8c0572ddcd.
Fixes: QTBUG-76565
Task-number: QTBUG-70295
Change-Id: I61062ac84ce508f3b82c7359a60d5c9c5bba86a4
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When calling QBluetoothDeviceDiscoveryAgentPrivate::stop the worker
pointer is cleared in disconnectAndClearWorker so there is no need
to call deleteLater (which will just result in a warning).
Change-Id: I2713474833b61a12018ecfa6f9eb11618ed025a7
Task-number: QTBUG-75089
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Implicit capture of 'this' in [=] is deprecated in C++20.
Fix by using explicit capture.
Change-Id: I96132d83d87ae61986ba1b1ea3f9cf8e50059f1f
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Doing so blocks the main event handler which could lead to a sluggish UI
experience.
Fixes: QTBUG-77390
Change-Id: Id3624d602131c04e535584a7a4740ce2f751daaf
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Thiemo van Engelen <tvanengelen@victronenergy.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The documentation for QBluetoothDeviceInfo::deviceDiscovered() and
deviceUpdated() is fairly specific. This change brings Bluez5
behavior in line with Android and Apple platforms.
Change-Id: Ia819f8b8a9b5c2268edbee0a3005e0129d0553e6
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Thiemo van Engelen <tvanengelen@victronenergy.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add missing include for QMutex/Locker.
Change-Id: I9e341b2ecaaae6e1b3a0bcf58ff7d890a4479091
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
[ChangeLog][QtBluetooth] Added possibility to build win32 backend which
also works on Windows 7.
Change-Id: I03aabdec781d0e8cef2e500ee94ab423b5ba2b56
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This change updates the Bluetooth documentation to reflect the addition
of the native Win32 backend.
Task-number: QTBUG-40698
Change-Id: I8d2bc2146527a17f1f47fff541730b94f58286fb
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I83175151c0eef1a11d2f21648cc04c86e46777c1
|