Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
6.3.0 RC
-
None
-
-
3
-
d58d134d25 (qt/qtconnectivity/dev) d58d134d25 (qt/tqtc-qtconnectivity/dev)
-
Team A Foundation Sprint 57
Description
More and more permissions are required on Android (and iOS?) devices to perform different bluetooth-related actions.
Currently if the user does not provide the permissions, we usually report it as an UnknownError. Some classes also have a way to provide an error string, but in some cases we can only write some message to a debug log.
This can be very misleading to the users, so I suggest to extend the error enums with new error codes.
Here is the list of enums to check:
- QBluetoothDeviceDiscoveryAgent::Error
- QBluetoothLocalDevice::Error
- QBluetoothServer::Error
- QBluetoothServiceDiscoveryAgent::Error
- QLowEnergyController::Error
Attachments
Issue Links
- resulted in
-
QTBUG-103388 QtBluetooth: support MissingPermissionsError on macOS/iOS
- Closed
For Gerrit Dashboard: QTBUG-102373 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
410803,7 | Introduce error codes for missing permissions | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |