Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
when using the close() method, it's not more possible to open() the ADK again #11
This wrong behavior is related to an ADK bug never fixed / merged to Android upstream. More information here:
For this reason, at the moment it's impossible through ADKToolkit to manage a "graceful shutdown" that allows to reopen the communication channel again. The only workaround that I found is to send continuous data from Arduino (so the reading thread never stuck) and call the
If we close the communication channel in the
I will merge these considerations in the docs.