Dear all,
I have an android application and in this application, when a certain button is clicked, I would like to make a connection to ioio-otg, send TWI commands and then disconnect from ioio-otg.
I would like to do these steps seamlessly on the background. I believe, in order to do that, I need to have a separate class with connect, setup, disconnect etc. functions implemented. Moreover, I need to be able to create an instance of this class in my android application and call the necessary functions.
Is there a good example demonstrates such use case ?
Thank you in advance,
All the bests.