| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
qtattributionsscanner does not accept wildcards in the 'Files'
field - list directories instead.
Fix the documentation module name to 'qtnfc'.
Change-Id: Id8f92f429c5608089c2c8505100b7030debcf780
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
(cherry picked from commit fbfc061e28334951d10f24ec1223d0530151899b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
As we are now processing the arguments with
cmake_parse_arguments(PARSE_ARGV, we don't need to pass the escape
characters anymore.
Task-number: QTBUG-99238
Change-Id: I08f96a44c99a77ff11892bb0eb78c04549aca2ef
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 38d630bd19fef20daae18ef71ecf81fd7655e0e5)
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I14f9b690b62d9b2c04138a28e018e62d3d2fa880
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the example look more native on mobile platforms.
Leave only the functionality related to reading and writing
of text and URI NDEF records to simplify the code. Removed
functionality includes saving/reading messages to files,
and support for image NDEF records.
Fixes: QTBUG-103949
Change-Id: Ie14e3009e2d0238b266eb9690795ca6b56c0010c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 115b4d947adf90a706f76de831f34960e3c62a9c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reproducing the issue reliably has proven to be near impossible,
but the stack trace can be seen every now and then, and it does
not seem to cause any functional harm.
The strong suspicion on what happens is that in some places of the
code we create a temporary QBluetoothLocalDevice object to check
for example address(). This happens for example when creating a
QLowEnergyController object, which is one of the scenarios I recall
seeing the unhandled exception.
The localdevice creation triggers broadcast receiver registration,
and the ~immediate destruction triggers unregistration. Reading the
address() works as it does not rely on any broadcast events.
It seems plausible that in some cases the registration is not yet
fully complete on Android side when the unregistration is ~immediately
called.
Fixes: QTBUG-106938
Change-Id: Iac734f17fb9d2a1879fca39d9b2839cb530e5df5
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 29e73453ed653782fd885e79974de76bd60fc734)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The overarching theme for these API deprecations is to
improve memory safety. This patch replaces the descriptor
related APIs.
Fixes: QTBUG-107180
Change-Id: Ief098d67d2601e06a2f29fa38d9b481bbda605f9
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 8ae30c552ce7ae1e0ee4c6a472666a1e8ee2790a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The overarching theme for these API deprecations is to
improve memory safety. This patch replaces the characteristic
related APIs.
The list of deprecated APIs, addressed by this and the followup commit:
* BluetoothGatt::writeCharacteristic()
* BluetoothGatt::writeDescriptor()
* BluetoothGattCharacteristic::getValue(), no replacement
* BluetoothGattCharacteristic::setValue(), no replacement
* BluetoothGattDescriptor::getValue(), no replacement
* BluetoothGattDescriptor::setValue(), no replacement
* BluetoothGattCallback::onCharacteristicChanged()
* BluetoothGattCallback::onCharacteristicRead()
* BluetoothGattCallback::onDescriptorRead()
* BluetoothGattServer::notifyCharacteristicChanged()
Task-number: QTBUG-107180
Change-Id: I054db07301038ceb56b8af8471d71309d61ae777
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 712bdeb619fe350a96e05eccf54291407fd26316)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
iOS needs some time after invalidating a session before a new session
can be started. Otherwise the NFC dialog of iOS will not show up.
For restarting a session inside the iOS NearfieldManager, this was
already solved with a timeout of 2 seconds.
This commit fixes the case, that a user of the Nearfieldmanager
restarts a session manually too fast.
Change-Id: Ic91ad225a9cab13ba92523f33a19f44af68575a0
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit 849ba86ba9a073a266219b6a39786e20f4f3ed7b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The versions were too old to begin with (minimum is 23) and perhaps
better use the default to begin with.
Change-Id: Ie5c502001c4c4c59da091e7fbf899e4a5234034c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 1abf525bb2b9c7122ad0bd183c022e92362ea077)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ifa665573727add0513a8568fededf622fe01b441
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Iabbf04b89b2235cf23d72dd377005284f00ea93d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I91a9c60683808df81d631a3dbae31dd209089018
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Remove clashing string constants.
Task-number: QTBUG-109394
Change-Id: I44c89cbc58fcc2e2ae33d23acd541eaba1a5a288
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit a68dd14499f557d1f334f19069498669eca90058)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because we include <winrt/base.h>, use the factory-cache-cleaner
registration developed in
qtbase/ffb9dee1b0954e4d4f9e9791175609a80ecafc31 to make QtBluetooth
contribute its part to fixing QTBUG-103611.
Including the qfactorycacheregistration_p.h header from another header
is explicitly supported (inline variable).
Task-number: QTBUG-103611
Change-Id: I1f21a7001a3eea88ddc5ba647c72c3dd22c69374
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 9d36ae3f8d00299ac483df983f244f3b1cc16d76)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ic48c862b9a9af2b128275d93a71c47b0bd08b085
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
values
Android backend did not update the serivice's characteristic and
descriptor values after executing writeCharacteristic/writeDescriptor.
As a result, the connected central saw the correct updated value, while
local request still returned the old value.
This patch fixes it by properly updating the local values when the write
operations complete successfully.
Change-Id: Ie09299b6c72bbf92ab6c824c3ca23f0136f0457e
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
(cherry picked from commit e5d1b776b1445eb6fde6ce33b54fd98e9fb49994)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Bluez DBus peripheral role support cleared the remoteDevice so that
the QLowEnergyController::remoteAddress() will return empty after
disconnection.
However the resetController() is also called in client role
connectToDeviceHelper(), and by reseting the remoteDevice
address there, the controller won't find the remote device path and
connect will fail.
Instead clear the remoteDevice address in places specific to the
peripheral role.
Amends: e7499c2cca615eaff3bd4c9ffe5f72d7112055cf
Change-Id: I53a0de157873e95b9e832f67a24d902277f233a1
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit dcb4ef0d3b037a25620f8ecdbdb0d335cd466285)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
paired devices
Commit 0b60ca266f0fe27053a58eff3dbd903e3a1678ca introduced Close()
calls for GattDeviceService objects. IIRC, it was done to avoid
potential GattCommunicationStatus_AccessDenied errors, which could
otherwise happen when trying to re-acquire the non-closed service.
This commit does the proper cleanup when the device is disconnected.
However there is one corner-case: when we try to connect to a paired
device which is turned off, Windows provides its services (using some
cached data), but the service details discovery fails.
The details discovery is executed in a background thread using a set
of async calls. If the user disconnects from the device during this
discovery, the GattDeviceService::Close() call for the respective
service will block until the async operation fails (which takes
a couple of seconds on Windows 11). As a result, the UI thread freezes
for this time.
This patch is an attempt to avoid it by shifting the Close() call to
the background helper thread in such cases. If there is an error during
details discovery, or if it just takes too long, and the user decides
to disconnect from the device, the service will be closed directly
in the helper thread.
However, if the details discovery is completed successfully, the
GattDeviceService object can still be re-used for other operations,
and it will not be deleted from cache until the device is disconnected.
Fixes: QTBUG-108461
Change-Id: I8ebe945130808ed7bd8852a76bba84c73651f5a5
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
(cherry picked from commit 4c92565f04755eb011be4b893d2619e25fb008c4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The QWinRTLowEnergyServiceHandler helper class is used to query low
energy service details. It works in a background thread and performs
multiple async operations to get the results.
As the class works in a background thread, we use
QWinRTFunctions::await() to wait for the results of async operations.
This allows to simplify the code.
In practice the user might want to disconnect from the device while
service details discovery is performed. Previously the background
thread was still performing all the requests.
This patch handles the already-existing
QLowEnergyControllerPrivateWinRT::abortConnection() signal and
provides the exit condition to all QWinRTFunctions::await() calls,
so that the background thread does not do unnecessary work.
Task-number: QTBUG-108461
Change-Id: I1db05c906beb0078de8a00fd5e32d589306f6665
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
(cherry picked from commit c68e5d0952036204b8d20b26f0de362b36c03511)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-106533
Change-Id: I5b09d882230ba6b996f5edc5ac4502d0bc004525
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 45c88ecee67e488ec1deee56d2b5227b39774f81)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ic038c19c570bacaf8eaf4b75da697616aeb6cab3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The various versions do not matter anymore as current Qt Version
are long past the mentioned versions.
Change-Id: I285785eb64a82cacdd853380312e4810ec907c1c
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
(cherry picked from commit c71ce5cde16d92a944741fdf9d4b7b7a926dc91a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I5e7b18b0c88b2a7e4bf1238fcf993fa0881d0e08
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I2286679c4dc286b5af4929bed6bb3ccefb34d2e7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Option has not effect anymore.
Change-Id: Ia9b3610502720c830626e711a2de531f8a64a5d9
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
(cherry picked from commit e473d523dd4d93df52bd255071cd515e2d6904fd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ib1b55f1e1f2543afc088871805b504ccb8fc9837
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I57fcbdc33103ee8c7811f3dafd650f09cf7dabff
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ib580d5540c46102d63859768a20865db4fa06e3c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia8f5f4a8b93d5e824a11b7bb2924ae94bca798d4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia0b99fd302724b517ade49293162029467c7efe1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia3a3ff29273d777f9f39a204cc1e48fac73da75b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Adjust variable names to be case-sensitive.
Fixes: QTBUG-109315
Change-Id: I7d534fbfd7891740fbc8ac172b24a2b03832388b
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 0b941a358063c58fe1eaaf3ed9884d70ce3992cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds error message for unauthorized writes. This may
occur if peripheral has set "authorize" flag for char/desc, and
the client device is not trusted.
In addition the commit sets a more appropriate DBus error for
invalid offset errors.
Task-number: QTBUG-107511
Change-Id: I2e477dd77135e95100ef0cca814a6416df27c2b0
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 60ad05df07f30768e383509ed05f8e1ece76d93b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I40a8b0a796c72d0e5e003996545e7316a7433db8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I5102b454bfd8f80039618e558e1b822fbf1b0b2f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I45a52391729b033f86cd398b511ac91e9ad36923
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I79ef98546b6d777d20c430f703bb366f7c556ff9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: If41dab0c378ee0cd879142d4f8fd81f3e009bfa2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ia80557f32414ed28d0265bd75f80dfb20c254302
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
These are Qt functions that BlueZ invokes over DBus, and in some
circumstances an error reply is needed.
Task-number: QTBUG-107511
Change-Id: If325621d12600990e86fe07681aabfba8adc9056
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-107511
Change-Id: Ia94262a29457489f8b7d5ffd2f5b50f943eb4b21
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
[ChangeLog][QtBluetooth] Add support for Bluez DBus peripheral role
Fixes: QTBUG-107510
Change-Id: I1c26606ff0b01818c6f446147e005090582ba877
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a preparatory commit for adding the Bluez DBus peripheral
role support.
Aim is to improve the manual test coverage: add large descriptor
writes, ability to set advertising data multiple times, add more
services, characteristics etc. Also adjust the large attribute
size so that it works with bluez dbus.
Task-number: QTBUG-107510
Change-Id: I5f22880349606feb4f61032b78c62b990329eb69
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This is a preparatory commit for adding the Bluez DBus peripheral
role support.
Task-number: QTBUG-107510
Change-Id: I27860947c3f94fa0cc4d2af0ce90ab3c0f2287eb
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
| |
Fixes: QTBUG-107509
Change-Id: I6e26cbc0502cdc65eb6af20bfeb481f0b62ff386
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
A preparatory task for implementing Bluez DBus peripheral role support.
This commit introduces the bulk of the needed interfaces; further
manual adjustments are likely needed in the followup commits.
Fixes: QTBUG-107506
Change-Id: I5152002746db3b6ffc20981f34a34bbe13880b2f
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
| |
A preparatory commit for adding Bluez DBus peripheral role support.
Fixes: QTBUG-107508
Change-Id: Ifa2b12df9856011048a9bc311e5da96275700f5e
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: I914ccc09297ac6283d7cf24d5afc96ebdaf294d0
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
|
|
|
|
|
| |
Change-Id: I34150dd9568a4de29b481e71507d88ad2f92cef6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
This fixes an issue where, upon reconfiguring, the package
would not be looked up again (a side-effect of an optimization
where we avoid looking up packages that have not been found).
This lead to a "force feature ON breaks condition" error.
Change-Id: I0be1bd6dd83186fe462d2dda9dbd93dfa372629a
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
|