Although this is not a hardware specific question, the title describes in general what I'm attempting to do.
So the USB hardware appears tobe working fine. I've gotten devices to enumerate through the hub when they are connected, I'm using the Tivaware 2.0 USB library stack to do all the USB servicing. But the Samsung Tablet is an odd beast. It appears as a Image class device as 1 of 2 existing (on the tablet) PIDs. So I wrote a simple Class driver to get it to enumerate. The problem is that when the device emulation on the tablet is switched, while its plugged in, the stack enumerates the new device without disconnecting the first one. Then if the tablet is unplugged the first device instance still remains. At some point in the near future we will be developing an app which will hopefully cause the tablet to have another, proprietary, possible device (PID) so we can send and receive data from our system. When looking at the Android docs on the web it appears that they want the host to act like a device when communicating to it using their open accessory interface. I'm a bit lost and would appreciate any ideas and help.
Thanks
Lou