How to automatically reconnect with Easyble.js
Posted: 20:33, 04 Oct 2015
I am using a device that every time it is used, it very briefly shuts off BLE before turning it back on. This process takes about 1 second, but in that time it disconnects from my app. However, I can not seem to find a working method that has my app automatically reconnect to the device. So I'm wondering how
1) Do I let my app know that the device is no longer connected, or is that automatic?
and
2) How do I get the app to start scanning only when the device disconnects?
I'm new to this whole thing so if you could be as detailed as possible I would very much appreciate it!
1) Do I let my app know that the device is no longer connected, or is that automatic?
and
2) How do I get the app to start scanning only when the device disconnects?
I'm new to this whole thing so if you could be as detailed as possible I would very much appreciate it!