I want to connect some custom USB CDC device(STM32) to android phone. I already have made most of other parts of app in the Visual Studio 2022 with xamarin for android. Based on my internet search I will need some external lib for xamarin USB android combination. Most internet sources direct to this lib: https://github.com/anotherlab/UsbSerialForAndroid
However, I find their example code very strange. I have looked at the code but I don't really know which part is doing what. Another problem is that I was not able to run the example app , to compare it with code...
Can anybody please show me some simplest example code with this lib? Something like this:
- connect to USB CDC device if found
- listen to com rx port if any char has been received
thanks