I'm developing a PWA that should communicate with a custom device by usb through an Android 9.0 tablet.
When I'm first trying to claim an interface the PWA cannot claim it because it's says that the interface is busy, If i try to use the usb device through a native app it works fine. I tried to use the usb Device through the native app, when I disconnected the connection from the native app then I was able to claim the interface through the PWA.
- I found that it may not work because the android device auto claim the interface, can I do something directly from the PWA to claim the used interface?
- If not, will it work with the Serial API?
- I have some control over the device, maybe should I ask that it will implement another interface which I will be able to claim?
Thanks for your help!