Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.9.0
-
None
-
* Android 4.4 on Samsung GT-I9192
Description
If periodically to do connection attempts to the remote device (e.g. every second) which is not in range (or for example, the device is powered off). Then, after a while the controller's object returns an error with a value 257. And if now power on remote device and try to connect to it, then the controller's object always will return error 257, and it is impossible to connect to device (even if to destroy and re-create the controller's object again).
PS:
At first time returns an error: W/QtBluetoothGatt(27676): Unhandled error code on connectionStateChanged: 133 2
which is: QLowEnergyController::Error(ConnectionError)
But, next errors is:
D/BluetoothGatt(27676): connect() - device: E8:45:0D:85:9D:63, auto: false
D/BluetoothGatt(27676): registerApp()
D/BluetoothGatt(27676): registerApp() - UUID=ae7a6733-f7b9-49ad-90f1-ae1bff4df3e2
D/BluetoothGatt(27676): onClientRegistered() - status=133 clientIf=0
I/BluetoothGatt(27676): Client registered, waiting for callback
W/QtBluetoothGatt(27676): Unhandled error code on connectionStateChanged: 257 0
E/BluetoothGatt(27676): Failed to register callback
Controller error occured QLowEnergyController::Error(ConnectionError)
...
Controller error occured QLowEnergyController::Error(257)