When the IOIO detects a drop of the Bluetooth connection, all the pins become floating (which would presumably stop your motors). If that didn't happen, it is probably because the dongle hasn't reported a dropped connection. With some firmware work, it should be possible to implement some watchdog-like functionality, where the IOIO would reset if it doesn't hear from the Android for a while while connected or something along those lines.
On Thu, Oct 16, 2014 at 7:02 AM, Tihomir Nedev <[email protected]> wrote: > Hi, > > I have a problem. > I am using the IOIO with a quadcopter and Android app via Bluetooth or USB > connection. > It is very frequent that when the quad bumps into something and the > physical connection between the IOIO USB port is disturbed. It can't be > reestablished and the quad becomes uncontrollable. > Is there a way to handle this connection lost without changing the > firmware of the IOIO i.e. a piece of code written in Android, which always > runs on the IOIO and if the connection is lost stops the motors? Have in > mind that reestablishing the connection is not possible. > > Regards, > Tihomir > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
