summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/doc/src
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Use proper Qt Bluetooth linkKai Köhne2024-01-091-1/+1
| | | | | | Pick-to: 6.7 Change-Id: I5805c3b8acd59826b5b3e8dc304d1b57f1b72df6 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Make BlueZ DBus peripheral the default backend on LinuxJuha Vuolle2023-08-231-10/+12
| | | | | | | | | | | | | | | | | The DBus backend was introduced in Qt 6.5, and is intended as the eventual successor of the kernel backend. Users can opt-out and use the older kernel backend by setting the QT_BLUETOOTH_USE_KERNEL_PERIPHERAL environment variable. [ChangeLog][QtBluetooth] The default Linux peripheral implementation was changed from the kernel interface to the BlueZ DBus interface. The old implementation remains available by defining QT_BLUETOOTH_USE_KERNEL_PERIPHERAL as environment variable. Fixes: QTBUG-115925 Change-Id: I27d60e410c02d0435c7dce81e5c06448a89bcc65 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: Remove \ingroup all-examples command from the docsJaishree Vyas2023-07-121-1/+0
| | | | | | | Task-number: QTBUG-115044 Pick-to: 6.5 6.6 Change-Id: I83314f3b7955e1ef9c857bcc96c07f6f90b2f875 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* QtBluetooth: do not request permissions on AndroidIvan Solovev2023-04-051-0/+10
| | | | | | | | | | Expect it to be done on the application side. The library only checks for the needed permissions. Task-number: QTBUG-109964 Change-Id: Ibb6b756ddea13c14a4c096d200418923e9ccd69c Reviewed-by: Juha Vuolle <juha.vuolle@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* HeartRate Game example: do not show duplicated devicesIvan Solovev2023-03-291-1/+4
| | | | | | | | | | | | The deviceDiscovered() signal can be emitted more than once for the same device, so implement a check before adding a device. This commit amends a1f43b9dcd722527d52ceb0c7a138bd2994c1a7b Task-number: QTBUG-111972 Pick-to: 6.5 Change-Id: Iff0a2b301d6d05090745ef97cedf5fab4532da7e Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
* Remove PingPong exampleIvan Solovev2023-03-222-4/+0
| | | | | | | | | | | | The example contains a lot of rather complicated code, which is not directly related to the demonstrated Bluetooth features. Remove it in favor of BtChat example, which demonstrates the same Bluetooth features in a much more compact and understandable way. Task-number: QTBUG-111972 Pick-to: 6.5 6.5.0 Change-Id: Iccb2598fa6e88816697286b2252858f35a635ee5 Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
* BtScanner example: move to manual testsIvan Solovev2023-03-212-4/+0
| | | | | | | | | | | | | | | | | | | | | | | The example mostly shows the usage of QBluetooth{Device,Service}DiscoveryAgent classes, which is also illustrated by other examples. Move it, because it's not fully functional on mobile platforms (because it's widget based). Do not remove it completely, because it might still be useful for doing Classic device scan. Also implement some improvements while on it: * fix CMakeLists.txt by using qt_standard_project_setup() and PRIVATE linking * fix memory leak in DeviceDiscoveryDialog * rework the code to use Qt parent-child model instead of manually deleting objects where possible * fix includes * fix forward declarations Task-number: QTBUG-111972 Pick-to: 6.5 6.5.0 Change-Id: Ie4bc9e25ccdda6d5f5de2f57528df349c71cdc12 Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
* Purge mentioning of Technical Preview from the Bt LE overviewAlex Blasche2023-01-111-5/+3
| | | | | | | | | | The various versions do not matter anymore as current Qt Version are long past the mentioned versions. Pick-to: 6.5 6.4 6.2 Change-Id: I285785eb64a82cacdd853380312e4810ec907c1c Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
* Add Bluez DBus peripheral role supportJuha Vuolle2022-12-071-0/+17
| | | | | | | | [ChangeLog][QtBluetooth] Add support for Bluez DBus peripheral role Fixes: QTBUG-107510 Change-Id: I1c26606ff0b01818c6f446147e005090582ba877 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove unused and redundant table row in documentationJuha Vuolle2022-10-141-7/+0
| | | | | | | | | | The row has been empty since its introduction and even if used, wouldn't provide very useful information (other rows imply the support) Pick-to: 6.2 6.4 Fixes: QTBUG-107196 Change-Id: I3e3ca4e6c446707772a24fc6b3ea000e4b889fdf Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Replace GATT specification link with accessible one in documentationJuha Vuolle2022-10-141-1/+1
| | | | | | | Pick-to: 6.2 6.4 Fixes: QTBUG-107192 Change-Id: Ie2a94c01aed3f47bb40b3b875b1bb1ed13401969 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Fix unorthodoxically placed parantheses in documentationJuha Vuolle2022-10-141-9/+6
| | | | | | | Pick-to: 6.4 Fixes: QTBUG-107224 Change-Id: I6f21d4fe0b1db26352eb3f24510060a22b7f01c2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Add a missing verb in BT LE documentationJuha Vuolle2022-10-141-2/+2
| | | | | | | Pick-to: 6.2 6.4 Fixes: QTBUG-107195 Change-Id: I60f6d6fb75c8cf335a90f2c55a5067e5e0b50d2e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-105-130/+10
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ifc22d8ae24532e9a1093ca613ed6590a1992bc39 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Doc: Revise Qt Bluetooth module landing pageAndreas Eliasson2022-03-281-25/+26
| | | | | | | Task-number: QTBUG-100369 Pick-to: 6.3 6.3.0 Change-Id: Ic86515dc16000ae2df4cf6cf53d9def5297cb489 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Doc: remove mentioning of win32 backendKai Köhne2022-03-211-7/+0
| | | | | | | | | In Qt 6, we only support Windows 10 and the UWP backend. Pick-to: 6.2 6.3 Task-number: QTBUG-84433 Change-Id: Id64616a7547ed72eb64f3a57169bcba4a0ef6c7a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: Unify naming of platformsKai Köhne2022-03-211-2/+2
| | | | | | | | The other platforms are also just referenced by their name. Pick-to: 6.3 Change-Id: I0350f557597cb74a911193d03018b2b50398f503 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: Add macOS specific dependency informationNico Vertriest2021-10-081-0/+10
| | | | | | | | | | Qt Bluetooth requires QGuiApplication in certain cases, make sure that this is covered by the module docs. Pick-to: 6.2 Task-number: QTBUG-86796 Change-Id: Ib7918321b84ae51b436d2e47921e3de6d6736ad3 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Bluetooth docs: mention the Apple's specific requirementsTimur Pocheptsov2021-09-071-0/+10
| | | | | | | | | | Info.plist with a textual description of why and what Bluetooth is needed for by a Qt-based app is required on iOS. Pick-to: 5.15 6.2 Change-Id: If838b57d6c13da9aeaf436dd013bd8496984a8bb Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
* Doc: Fix qdoc warningsVenugopal Shivashankar2021-09-062-3/+2
| | | | | | | | | | | qt5/qtconnectivity/src/bluetooth/doc/src/bluetooth-cpp.qdoc:27: (qdoc) warning: Can't link to 'Qt Bluetooth QML Types' qt5/qtconnectivity/src/bluetooth/doc/src/bluetooth-index.qdoc:28: (qdoc) warning: Can't link to 'qmake' qt5/qtconnectivity/src/bluetooth/doc/src/bluetooth-index.qdoc:28: (qdoc) warning: Can't link to 'Build with CMake' Task-number: QTBUG-96181 Pick-to: 6.2 Change-Id: Ia5e9296f91e392aba59f555f6e93dcbe054f08cc Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Replace "Getting Started" by "Using the Module" in QtBluetooth docsAndreas Buhr2021-08-191-3/+7
| | | | | | | Pick-to: 6.2 Fixes: QTBUG-94894 Change-Id: I628af802fc589e163dc9087fa7fc3fd7db71caba Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Don't mention changes in Qt 5.7 in QtBluetooth introduction docsAndreas Buhr2021-08-191-3/+0
| | | | | | | | | | People reading the introduction are probably not interested in changes long ago. Pick-to: 6.2 Task-number: QTBUG-94894 Change-Id: Ie9511d90aee6ce356f0f6ad7a4c91d518bc71e97 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Remove documentation of previously removed Qt Bluetooth QML typesAndreas Buhr2021-08-192-57/+0
| | | | | | | | | | | The QML interface to Qt Bluetooth was removed. This patch removes some remainders in the documentation. Pick-to: 6.2 Task-number: QTBUG-94894 Change-Id: I4e4d0ae354ccc1b88aa8530b89e6786752b8af49 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Doc: Fix typoPaul Wicking2021-07-261-1/+1
| | | | | | | Fixes: QTBUG-95349 Pick-to: 6.2 5.15 Change-Id: Ie1a7c71a33e5d620d914ffce193a89d080d81af9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Create Qt5.15 to 6.2 migration documentation for QtBluetoothAndreas Buhr2021-07-221-0/+5
| | | | | | | Task-number: QTBUG-90920 Pick-to: 6.2 Change-Id: I1d99a7f6c6cd0f5f890c65c052ea8ceb87760275 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Drop Bluez4 from the documentationAlex Blasche2021-05-071-1/+1
| | | | | | | | | Disclaimer: there is still Bluez4 in the code base which is on its way out too. Change-Id: I4888ac955e51877c7d66f9e2eaa8e45997b4655d Reviewed-by: Andreas Buhr <andreas.buhr@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Remove link to "Qt for UWP" which has been removedAndreas Buhr2021-04-131-11/+2
| | | | | | | | | Fix build of documentation by removing the link to "Qt for UWP". UWP (Universal Windows Platform) uses the WinRT API. This has been removed from qtconnectivity. Change-Id: Id8582dbacdc75d826df925be7b146be53a55351c Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Change QLowEnergyService::ServiceState enum to reflect future changesAndreas Buhr2021-04-081-3/+3
| | | | | | | | | | | | In the future, discoverDetails() should become optional. The state of a QLowEnergyService after its creation should have a name which does not imply it is not functional yet. This patch changes the name of the initial state from "DiscoveryRequired" to the neutral "RemoteService". Task-number: QTBUG-75340 Change-Id: Ib407e60f5fc7264a04a124561dacbcebb01bf252 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Use scoped enum for constants in QBluetoothUuidAndreas Buhr2021-03-111-3/+3
| | | | | | | | | | | | QBluetoothUuid contains enums for ProtocolUuid, ServiceClassUuid, CharacteristicType and DescriptorType. So far, they all put their constants directly into the QBluetoothUuid namespace, making it easy to mix them up. This patch changes those to scoped enums. That way, each enum has its items in its own namespace. Change-Id: I86ea08ff31009dc8073d84cfe678e27920d693f7 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove QML API from QtBluetoothAndreas Buhr2021-03-012-8/+0
| | | | | | | | | | | | This patch removes the BluetoothDiscoveryModel, QDeclarativeBluetoothService, and QDeclarativeBluetoothSocket. It also removes the "scanner" example and the "chat" example, both using BluetoothDiscoveryModel. Fixes: QTBUG-75354 Task-number: QTBUG-62877 Change-Id: Id9f6a75330e81c97ae9cd3fcaec793d0224ce72b Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove QBluetoothTransferManager and friendsAndreas Buhr2021-02-263-20/+0
| | | | | | | | | | | | This patch removes QBluetoothTransferManager, QBluetoothTransferReply and QBluetoothTransferRequest. Furthermore, the examples "btfiletransfer" and "picturetransfer" are removed. Fixes: QTBUG-75353 Task-number: QTBUG-62877 Change-Id: Ife192d80196249185df877fb6a4cae317d7e44ad Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Rename QLEService::DiscoveringServices to DiscoveringServiceAlex Blasche2020-05-141-1/+1
| | | | | | | | | | | | Singular is a better fit to avoid the notion of several services being discovered at a given time. [ChangeLog][QtBluetooth][QLowEnergyService] Renamed DiscoveringServices enum value to DiscoveringService. Task-number: QTBUG-75344 Change-Id: I9ebe8a8ccba8bb49c55772ae81338f376826ee64 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Doc: Fix documentation warningsTopi Reinio2019-11-111-5/+6
| | | | | | | | | | | | | | | 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>
* Merge remote-tracking branch 'origin/5.13' into 5.14v5.14.0-beta2Liang Qi2019-10-141-5/+6
|\ | | | | | | | | | | | | Conflicts: src/bluetooth/doc/src/bluetooth-index.qdoc Change-Id: If353b4ac63c72d6f94415e1349a206ade4ceb52e
| * Doc: Replace WinRT with UWP in Qt Bluetooth module docsLeena Miettinen2019-09-231-5/+6
| | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/5.13' into 5.14Timur Pocheptsov2019-09-121-1/+6
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/bluetooth/qbluetoothdevicediscoveryagent_darwin.mm src/bluetooth/qbluetoothserver_osx.mm src/bluetooth/qbluetoothserviceinfo_osx.mm src/bluetooth/qbluetoothsocket_osx.mm Change-Id: I24485ae835560fa1e57007fb684f6532db3e7922
| * winrt: Add limitations to bluetooth overview pageOliver Wolff2019-07-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Update Bluetooth docs to mention Win32 backendwip/winAndre de la Rocha2019-08-172-7/+17
|/ | | | | | | | | 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>
* Doc: Fix link error to \macosNico Vertriest2019-02-071-1/+1
| | | | | Change-Id: I82d691667232bebf7fed2cf9b24b234289e6d258 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: Use a macro to resolve QML import versionsTopi Reinio2018-09-281-3/+4
| | | | | | | | | | | | | | QDoc now supports macros for its command parameters, as well as passing parameters to \code and \qml commands. Use these together with the new \QtMinorVersion macro to automate bumping the QML import versions within documentation. Also, update the hard-coded version numbers in snippet files where we cannot use the macro. Task-number: QTBUG-67818 Change-Id: I93d92770314580efa933c5bf85c618ad8331afb5 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* General QML version bump in docs and qmltypesAlex Blasche2018-04-191-1/+1
| | | | | Change-Id: If31e244e44106af1550e572acb9a172497467b20 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Clarify Bluetooth support on Win32 when WinRT API is availableAlex Blasche2018-03-011-1/+6
| | | | | Change-Id: I3ab1a8a474d33d3831e125e7f2760cc464c2437f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix outdated FDL license headerKai Koehne2017-10-166-30/+30
| | | | | Change-Id: Ia26b0bf499f8a0b6040e82bc1d460bee688bfbf6 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: iOS does not have support for classic bluetoothAndy Shaw2017-05-091-1/+1
| | | | | Change-Id: Ieefa1cf6f07b05d12e2381d6c72ab56d78b3e7fd Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Remove heartlistener exampleAlex Blasche2017-04-072-2/+1
| | | | | | | | The heartrate game is the replacement example. Change-Id: Ib51be2467c49075d34e6bea003e69453f0801dfc Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Use heartrate-game example for snippets in BTLE overviewAlex Blasche2017-04-071-14/+13
| | | | | | | | | heartlistener example will be removed. Change-Id: Iaa5c5f629cf351b97c18f61b4fab2cbbd8d0744c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add documentation for the HeartRate game exampleAlex Blasche2017-04-041-0/+1
| | | | | | | Change-Id: I0f0a82be359fc49becd1eccc67697d5177d73bb1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Rename WinRT logging categoryOliver Wolff2017-02-081-1/+1
| | | | | | | | While the bluetooth port was only available for Windows phone at the beginning it covers all winrt platforms now. Change-Id: I9b7ec7a914a481c692c7717e645ebf121d75ab73 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add a small section describing how to enable Bluetooth loggingAlex Blasche2017-02-061-0/+8
| | | | | | Change-Id: Iffef04c75c35ebd0174c6e3ba6701ba5f8385296 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Add missing logging categories to QtBluetooth docsAlex Blasche2017-02-061-3/+9
| | | | | | | | and improve the general logging table content. Change-Id: I84c40a3a6e909bb62d1a59e74a91716bd13bcf0d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>