You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried this demo on both MI 4LTE phone. On MI 4LTE, target device could be connected successfully via ble. While once connection was disconnected, reconnect was not easy as expected. You have to be lucky enough to get connected again after tapping on connect button many times.
After connection was disconnected, when tapping on connect button several times, BluetoothProfile.STATE_DISCONNECTED was returned accordingly. That resulted in more user interactions and not quite good if ble connect and wifi connection were combined in one consecutive process in a project.
Any piece of advice could be appreciated.
The text was updated successfully, but these errors were encountered:
vancentvan
changed the title
Ble connect failed on some phones, while succeed on some others. Not easy to reconnect to the same device after disconnect.
Not easy to reconnect to the same device after disconnect.
Aug 19, 2020
I have tried this demo on both MI 4LTE phone. On MI 4LTE, target device could be connected successfully via ble. While once connection was disconnected, reconnect was not easy as expected. You have to be lucky enough to get connected again after tapping on connect button many times.
After connection was disconnected, when tapping on connect button several times, BluetoothProfile.STATE_DISCONNECTED was returned accordingly. That resulted in more user interactions and not quite good if ble connect and wifi connection were combined in one consecutive process in a project.
Any piece of advice could be appreciated.
The text was updated successfully, but these errors were encountered: