| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This change enables the optional use of the Win32-based Bluetooth
backend on Windows. By default, the WinRT backend is used, if
supported by the platform. The use of the Win32 backend must be
selected by the -native-win32-bluetooth configuration option.
Task-number: QTBUG-40698
Change-Id: I6904bf077467d826e3ff5ad026ebae5f955f2e37
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Silence a couple of type of warnings:
1)
warning: missing initializer for member '_BLUETOOTH_DEVICE_INFO::Address'
[-Wmissing-field-initializers]
BLUETOOTH_DEVICE_INFO deviceInfo = {0};
Unlike C, C++ is not happy about this type of initializer
Use '{}' instead to init all members to zero or 'NULL' properly.
2)
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
if (socket != INVALID_SOCKET) {
'socket' is defined as 'int', while 'INVALID_SOCKET' is derived from
'SOCKET' which is of type UINT. Cast 'socket' to 'SOCKET' before
performing the comparison.
Change-Id: I9fcbff1c60ae36b8a8fed63382a8ffc0157f4923
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I3402f42380068e3e6e7b3df8b15a712f0d86a3cd
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Ie99a67b63f8259227f42f5b464c6bbc16e79313b
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The import of "WinSock2.h" fails on MXE environments because cross
building from Linux to Windows makes it so that the filesystem
is case sensitive.
Change-Id: I6d89530f430eb45bf07154cffb5938eb3761ee1e
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Recently, a problem was discovered that adding event registration
on a descriptor does not work because the associated service handle
is closed right after. For events to work a service should remain
open if an event is registered for it.
Store service handles (hService) is QLowEnergyServicePrivate.
A handle is opened by
QLowEnergyControllerPrivateWin32::discoverServiceDetails()
and remains open until the device is disconnected.
This removes the need to open/close services each time a Write/Read
operation is performed on GATT characteristics / descriptors.
Move the creation of the worker thread to connectToDevice().
Quit the thread in disconnectFromDevice() and also close any
open service handles.
Change-Id: Ia634af2e4225f5c1be93b0ddd17639c2dbd70c21
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Ib2b33490694c8608edda3eb0cbe7b8d0dd233254
Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: If3fc4e1078c63d7ca2af0e79353a62b9a9bb0c6f
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: Ia5d83a88d6231984d9745d1c64f03553499a5882
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
by migrating to templated QMetaObject::invokeMethod
Change-Id: I79e2dec7aa81987894a26859648d31da60cf47ee
Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
remove calls to WSACleanup, because it terminates use
of the Winsock 2 DLL, including sockets operations.
WSALookupServiceEnd only is needed.
add missing WSALookupServiceEnd if pendingStop or error
remove useless parameters of findFirst/NextService
Change-Id: I587987b77c1be8f05a840e4333c31fd79af06ed3
Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
QVERIFY(discoveryAgent.errorString().isEmpty()) was failing
Change-Id: I7b45db5b1af1ee3da75569d8855487c771cb29ed
Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
arguments pass by ref
NULL and 0 replaced with nullptr
::ZeroMemory replaced by default initialization
range based for loop
Change-Id: I393806f19155ee31e4ebe7f33ce22e9d14eafe40
Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Introduce usage of QThread for service discovery instead of
QFuture.
Details:
- Make _q_nextSdpScan() accept arguments.
- Make QBluetoothServiceDiscoveryAgentPrivate inherit
QObject for QT_WIN_BLUETOOTH.
- Remove usage of the member variables 'systemError', 'hSearch'.
Pass values around, instead.
- Add the helper structs 'FindServiceArguments' and 'FindServiceResult'.
Change-Id: I4e2178b2a7b333c30a235a02807dd64526db4685
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Introduce a couple of QThread instances and workers for
the Bluetooth Classic and BLE device discovery.
Replaces the usage of QFuture for this file.
Remove includes of QtConcurrent.
This introduced some errors which are solved by including:
- QLoggingCategory in qbluetoothdevicediscoveryagent_win.cpp
- QDataStream and QCoreApplication in qlowenergycontroller_win.cpp
Change-Id: Iba2cbc147c714ae87515294d50cb4e502edd00a7
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: If20574e7bc182e5ee3d5adf6cc6d63cf9ee9d0ef
Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Add support for the ThreadWorkerJob type ReadDesc
in QLowEnergyControllerPrivateWin32.
This type of job is responsible for reading GATT descriptors
in a separate thread using the previously implemented
ThreadWorkerJob scheme:
- ThreadWorker::runPendingJob()
- QLowEnergyControllerPrivateWin32::jobFinished()
The blocking function in this case is getGattDescriptorValue().
Change-Id: I19298323f8ebc630b4dc34ae2e71c7e3c603beae
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
|