| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change b7b979d1735764930cc6f736cfa8e22b71547ea8 introduced a slightly
modified version of the OrgFreedesktopDBusPropertiesInterface::PropertiesChanged
signal. This signal was taken into use in one case but all other
instances of this signal were not modified and broken.
This patch modifies the remaining cases and converts the connect statements
to function pointer syntax. This forces the compiler to check that signal
and slot parameters match.
Change-Id: I41b45f7e2f7b66ff29f321acc38ff2ce1c81864e
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Thiemo van Engelen <tvanengelen@victronenergy.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ b7b979d1735764930cc6f736cfa8e22b71547ea8 bluez: Fix out of sync property cache
+ 85bbb2e2e0e87e1b935a62da0eee44004952c542 Fix a few compiler warnings in lowenergydescriptor unit test
+ 27c0ae9ff94d545fb43446179e95276112b9f2cc bluez-dbus: Invalidate btle service when it has disappeared
+ f7075bc4536c9f72663378b94df55e6beb5a86fb Fix warning in QBluetoothServer on Linux
+ 0313535fd9ccb05b60c5e421c1c986e48564e254 Android: Fix failing re-addvertisement of BTLE service after disconnect
+ b74345a74c9b009398fefaef5642570716c9c3ed Bump version
+ 8159beeeb3290dc1c1b44b5a9792e19f272ad785 Add binary compatibility files for qtconnectivity 5.14 branch
Change-Id: I9e23fef36b1d9125a4e27c7c3cf43680a2f277da
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
BC files built against 5.14.0 added.
Change-Id: Ida4b77e83f39e69271133a11a5cdaa03ec844ad5
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
| |
Change-Id: I4a234be4292f92480add8fdcbecfaeba1946afad
|
|\
| |
| |
| | |
Change-Id: I301fc10a56c4fd1aa8879064dc4c71accca4d8e0
|
| |
| |
| |
| |
| | |
Change-Id: If0ed88f30df8764649a4d5fc735fcda252eb46f4
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The BTLE server can disconnect by own choice and by remotely initiated
disconnect. Often the app might want to readvertise the same service
right after the disconnect. Such a readvertisement fails when the
BluetoothGattServer instance is not recreated, before calling
BluetoothGattServer.addService(). In the case of remote disconnects
we never recreated the BluetoothGattServer instance therefore the
readvertisement always failed. This patch fixes the issue by ensureing
the previous instance is properly discarded.
Change-Id: I39380ee6f1f39bd71a5b73ec82bb786b3e199665
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In file included from qbluetoothserver_bluez.cpp:41:0:
qbluetoothserver_p.h: In constructor ‘QBluetoothServerPrivate::QBluetoothServerPrivate(QBluetoothServiceInfo::Protocol, QBluetoothServer*)’:
qbluetoothserver_p.h:128:29: warning: ‘QBluetoothServerPrivate::m_lastError’ will be initialized after [-Wreorder]
QBluetoothServer::Error m_lastError;
^~~~~~~~~~~
qbluetoothserver_p.h:125:23: warning: ‘QBluetoothServer* QBluetoothServerPrivate::q_ptr’ [-Wreorder]
QBluetoothServer *q_ptr;
^~~~~
qbluetoothserver_bluez.cpp:69:1: warning: when initialized here [-Wreorder]
QBluetoothServerPrivate::QBluetoothServerPrivate(QBluetoothServiceInfo::Protocol sType,
^~~~~~~~~~~~~~~~~~~~~~~
Change-Id: I4fca28f8f2974cb6a336b6fac1e06469edceb80c
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a previous existing service UUID has disapperad we will now
invalidate that service and remove it from the service list
[ChangeLog][QtBluetooth][BlueZ-DBus] Invalidate btle service when it has
disappeared
Fixes: QTBUG-77766
Change-Id: Id03a054c1f781dbcef5614623c2dae9b156d12e2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ic77df9c81ff0b56408d2636582f976f2140708e2
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit 2c6dcc643, a map containing dbus property values is kept
per device to be able to make QBluetoothDeviceInfo instances without
having to make dbus calls. However, this map could get out of sync. The
reason was that the code started to listen to PropertyChanged signals
after it received the initial set of properties. This meant that there
was a short amount of time where bluez could send out a signal with
changed properties and the DiscoveryAgent would not receive it. In order
to keep the map in sync, a PropertyChanged listener is now installed
when scanning is started, picking up all changes.
Change-Id: Iae5e219b187e94bf280a6dd76ccde49cafd1d9c5
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a \class command for QNearFieldTarget::RequestId whose members
were already documented.
Remove QDoc comment marker for QBluetoothDeviceInfo::serviceUuids()
overload as its declaration in the header file is omitted by a
QT_DEPRECATED_SINCE macro.
Fix linking issues and missing parameter documentation.
Fixes: QTBUG-79814
Change-Id: I9804fcbd559f1924a2a7b16fdbdfb23398605eaa
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ib02a916e3258fde37aae969b73df77eb9cb7eda8
|
| |\
| | |
| | |
| | | |
Change-Id: I636a838d6b38996e2133536cbe523c3bfebf6d96
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
+ 406b18fdb3704a9e9e66cefbc74e7cff55f1947c Fix QLEAdvertisingData::setManufacturerData on Android
+ 0a5bf7a41e5c2c4a36efeace83444ceaee79c945 Add changes file for Qt 5.12.5 and fix 5.12.4 change file
+ dd4593c61e4b77c4e3b1ee516a1e8825ebb0197b Fix build errors with clang-cl on Windows
+ d3ace86011d4e34eeafa795270ac027afd54f857 Doc: Replace WinRT with UWP in Qt Bluetooth module docs
+ 7390de230e3c86049824bef756e4af623a547d61 Add descriptor even if the read fails during service discovery
Change-Id: Ief5198d3c8c927226c59fdb2b8f44dac1f428b20
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | |
| | |
| | |
| | | |
Change-Id: I28a758b2323407cb86bd86ec3f70214a8220d779
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Necessary changes to be compatible with AAB changes in Qt 5.14.
Change-Id: Ie5957a7e936644f43bd320f28053466794efcaf1
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|\| |
| | |
| | |
| | | |
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>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
leDescriptorRead() serves two pruposes. Firstly, it informs Qt of the
value/result of the read operation. During service discovery it is also
used to inform Qt that a descriptor was found. This info is used
to build up the internal data structure representing the service, its
characteristics and its descriptors.
If we have a non-readable descriptor the read failed (as expected)
and Qt was never informed about the existence of the descriptor. During
service discovery the primary purpose is to inform about the existence
of a descriptor though.
This patch ensures the notification comes through and we accept the fact
that the passed value is not known.
Fixes: QTBUG-78201
Change-Id: Id73a27c90905cb769f1cd168b48299d580587594
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@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>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-78690
Change-Id: I9bfa89f0df938cadc9fb74bb96f24e1c4debb61a
Reviewed-by: Kai Koehne <kai.koehne@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
|
| |\ |
|
| |/|
| | |
| | |
| | | |
Change-Id: I5fe797d411844a2b3338e6700b0ae2887080550f
|
| | |\ |
|
| | |/|
| | | |
| | | |
| | | | |
Change-Id: I6d8c7763728702c3133ecf4c15fbfa7657eb5b21
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
+ 3394807b3b0a234452b76e6295cb2362dc2c0cc0 Bump version
+ 0fc7e18bf7a24c9408602242d51a852905dfd0da Core/IO/Bluetooth - fix ambiguous conversions
+ 8a6d9c307851f3492ddc597f5f03e80f236a7857 Fix compilation with C++20
+ 4ac755bb6e51891881b7477702be8ca917b60c8a winrt: Do not try to delete nullptr worker
+ 263fc5186325a7dd59a7533b98b3bf1296ea0d16 Do not handle PAIRING_VARIANT_PIN
+ 8110fdd4c6d80d05934768fa808a4cb187212fe0 Core/IO/Bluetooth - fix ambiguous conversions for macOS
+ c9d585da2ddd49108d7b56f480bcfc9d71b67dbf winrt: Add limitations to bluetooth overview page
+ 406b18fdb3704a9e9e66cefbc74e7cff55f1947c Fix QLEAdvertisingData::setManufacturerData on Android
Change-Id: Ib8bf9529e85e8f8c2f76c203120afb3d9ceca492
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: I5d7c0be7443fd951c770f49b6690870c54cdd376
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
+ 672ebe7690455c6ee13f96ad05d030183a7e57f8 qbluetoothsocket_winrt: Use recommended service connection approach if possible
+ b5ec1e15f360cd60386488588dd4796169082355 winrt: Make sure that ProtocolDescriptorList is always set for services
+ 576164fef388f312dcc7f59721de8237dfcd15b3 Create qbluetoothlocaldevice_winrt
+ 23386ed8dab0a8b8280c2e1b935171adcce0d833 winrt: Add QBluetoothLocalDevice::pairingStatus
+ 5aa37aab69d89691ab7eded7f708915612f1afa3 qlowenergycontroller_winrt_new: Add registerStatusChanges and onStatusChange functions
+ 68cb332228df1c8730e721061134c18bda37cf02 qlowenergycontroller_winrt_new: Avoid late callbacks that lead to crashes
+ 1d4cb8a6782b74a379098da58f383aaaf61989bd winrt: Try "connectToDevice" indefinitely
+ 80c84c4df0cb8dc5389542dde34317102f7b25b8 qlowenergycontroller_winrt_new_p.h: Use forward declarations instead of includes when possible
+ 14b0efe1d4e5addec5f577a2d01a3a0d9a1d931b Bluetooth: Compare the server channel when checking for duplicates
+ d67ca376b2111717de88596888f315fba05ef9c3 BlueZ: Fix leaking client socket when running QLEController Peripheral mode
+ c6c3241a4713b3ea89837341214625514951f712 Bump version
+ f6be1f73a810514335ab3d27e1d05825a36b06af Add changes file for Qt 5.12.4
+ 0a49c93037e5f819f60486af318b6708e3b2b4aa qbluetoothsocket_winrt: Fix clang warnings
+ d755f7ab67a1f5b345caf09b1fc798d3c6e0ca34 winrt: Avoid threading issues when handling characteristic changes
+ e511f35a90608a4fb144b2c3dac37986d81cb41c winrt: Add service thread logging
+ 7a73ef639d461200213bdcd7f447ed99a14d0a4a Bump version
+ 3394807b3b0a234452b76e6295cb2362dc2c0cc0 Bump version
+ 76260fce994e9bac50c62b1c777e56d80848c0df Binary compatibility files for Qt5.13.0 for QtConnectivity
+ 0fc7e18bf7a24c9408602242d51a852905dfd0da Core/IO/Bluetooth - fix ambiguous conversions
+ 4d6a1030fd172641caacbc75b9e73cbc5b8da825 Doc: Replace example file lists with links to code.qt.io
+ 8a6d9c307851f3492ddc597f5f03e80f236a7857 Fix compilation with C++20
+ 4ac755bb6e51891881b7477702be8ca917b60c8a winrt: Do not try to delete nullptr worker
+ 263fc5186325a7dd59a7533b98b3bf1296ea0d16 Do not handle PAIRING_VARIANT_PIN
+ 8110fdd4c6d80d05934768fa808a4cb187212fe0 Core/IO/Bluetooth - fix ambiguous conversions for macOS
+ c9d585da2ddd49108d7b56f480bcfc9d71b67dbf winrt: Add limitations to bluetooth overview page
Change-Id: I020f7905e581877e2264b04032fb7db6237e44cb
Reviewed-by: Oliver Wolff <oliver.wolff@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>
|