Describe the bug
I'm facing a reproducible issue, when I firstly connect the ble device, then use Metro to send reload command, the information between isPeripheralConnected and retrieveServices is conflict.
isPeripheralConnected returns true but retrieveServices throw Device is not connected
To Reproduce
Steps to reproduce the behavior:
Connect a ble device
Send r in Metro CLI
call isPeripheralConnected to the same device id: get true
call retrieveServices to the same device id: throw an error, Device is not connected
Expected behavior
Seems the devices is actually not connected after reload. So maybe isPeripheralConnected's result is wrong, it should be false.
Smartphone (please complete the following information):
Describe the bug I'm facing a reproducible issue, when I firstly connect the ble device, then use Metro to send reload command, the information between isPeripheralConnected and retrieveServices is conflict.
isPeripheralConnected returns
true
but retrieveServices throwDevice is not connected
To Reproduce Steps to reproduce the behavior:
r
in Metro CLIDevice is not connected
Expected behavior Seems the devices is actually not connected after reload. So maybe isPeripheralConnected's result is wrong, it should be false.
Smartphone (please complete the following information):