USBserial library

pecook

Member
Licensed User
Longtime User
Hi Erel,

As per my last thread i am facing long term stability issues during communication via USB library on HID profile. Other possibility is to use USBserial library, which works, but I need to connect two devices to Android. One FTDI usb converter collecting data from sensor and second Arduino board for other sfuff. Can be USBlibrary amended to allow to open two instances of USB ? Now are VID/PID definitions in .xml file. They can be for example passed as argument in Open() command to open particular device. This will solve my nightmare and It would be very handy for more people. Do you think its possible ?

Thank you, Tomas
 

pecook

Member
Licensed User
Longtime User
Thank you for info, but can You be more specific how to do this ? It means run two Activity modules in my App ? Use two xml files ? Sorry for questions, but I am working with b4A only 2 days so far and getting into it...
 
Upvote 0

pecook

Member
Licensed User
Longtime User
Aha, this is what I was afraid off. Not elegant solution..... I'll try other way to do it. Via CDC and see ho USB library can handle that.
 
Upvote 0
Top