I need to find a way exchange raw data (series of bytes) between a Panda II
and an Android device using the USB connector on the Panda and the USB/OTG connector on an android device.
On the Android side I’m using Mono for Android, which is why I can’t (currently) simply use the CDC feature of Panda
as there is no support for SerialPort in Mono for Android (not sure that’s even available in Java either)
I’ve seen some samples that start out with: 'USBClientController.StandardDevices.StartMouse();'
But that just throws an Invalid operation on the Panda II.
Is there an example somewhere on how to do this with a Panda?
How would it work, does the Panda simulate an HID device where the Android device would act as a host?
(I’m also hoping to avoid Java samples)
Update: Just to be clear
- On the Android side I’ll build a simple app (for testing) that will send or receive some bytes
- On the Panda II side I want to do the same, so I get those bytes from one device to another
Meaning that as far as software is concerned I control both sides of the connection