Describe the bug
When I try to reconnect to previously connected device and this reconnection failed because the device is no longer available ( turned off bluetooth ), success callback is called instead of error.
To Reproduce
Steps to reproduce the behavior:
Connect to device
Turn off the device's bluetooth
Wait for a reconnection try
See that the success callback is executed
Expected behavior
Method connectDevice$() should give an observable that in case of every failure in connecting a device will execute error callback
Hi :)
Describe the bug When I try to reconnect to previously connected device and this reconnection failed because the device is no longer available ( turned off bluetooth ), success callback is called instead of error.
To Reproduce Steps to reproduce the behavior:
Expected behavior Method connectDevice$() should give an observable that in case of every failure in connecting a device will execute error callback
Code Invoking Reconnection
Subscribing to Observable
Here the error callback with console.info('Retry'.... ) newer actually logs that message. Instead console.info('Reconnection success') is logged.