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
-