Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0, 5.6.0
-
bluez5 version is 5.39
gcc 4.9
Description
The user is getting from time to time the error message mentioned in the title. This seems to happen because of Qt does not handle properly sent by the bluez5. Also this can be seen from the source-code of the Qt SDK (Error::InputOutputError.):
// FIXME: add bluez error handling
Connected devices are staying connected to the master device, but discovery is turned off (the interrupt was sent, you can see it from the Qt SDK source code). This error (see the title of the report for the error message) can occur even if no device is connected, which seems to be quite wrong.
So, the expected behaviour here is:
The user can either get a proper error message or can keep on device discovery
What actually happens:
Found devices are still connected, but the discovery is off. The only error message sent to the user is quite generic and does not describe what did happen and why.