Android Question DSDTech Relay and BLEManager2

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I've been controlling a DSTech Relay for some time using BLE and ever so often (once a month, every other month) I can not connect to the DSDTech Relay.

If I reboot the Android device still cannot reconnect.
The only way I can connect is to turn the power cycle (turn off and on) the DSDTech Relay.
No sooner I power cycle the DSDTech relay my app sees it and connects.

Was just wondering if anyone else has had this happen and if so how you are handling this.

Could my app be leaving the device in a state that it wouldn't reconnect (maybe not disconnecting when my app terminates?)

I handle this by tracking how many times I tried to connect (once I get to 10) I display a toast message telling me there is a problem and to power cycle the relay.

Any direction pointing would be helpful

BobVal
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…