I'm connecting a IOIO to a hobbyist robot which also has a UART. I plan to use the IOIOService because there will be other sensors attached to the IOIO by UART and I want to be able to handle I/O in a timely manner. Is there a full, simple example of using a UART (or 2) in a service? I have several questions:
1. If there is a temporary loss of connection, say a Bluetooth hiccup, what disconnected() do with the UARTs? There may be data in the buffers, will it be lost? Will the uart created by openUart() be destroyed/undefined? Should the setup() skip openUart() if it was opened in a previous setup()?
Thanks,
Kevin