henrik1g

Results 15 comments of henrik1g

When using a serial terminal app on the android phone. All four ports show up and are functional. Latest version of LK8000 has the same problem as XCSoar though.

Yes. All four ports are working on the same phone. Using a serial terminal app. ![Screenshot_20220712-102741](https://user-images.githubusercontent.com/3287693/178446487-ba4daeff-7e22-4214-99ef-cb7acd4b5d8e.png) ![Screenshot_20220712-102836](https://user-images.githubusercontent.com/3287693/178446494-f7b25351-ba3c-44af-a412-bb4a105b7342.png)

Looking at the code it seems to me that the solution needs to start here: https://github.com/XCSoar/XCSoar/blob/2dca7496a558f0c963631ac79e56352a72d0d220/android/src/UsbSerialPort.java#L62 The call to the overloaded function createUsbSerialDevice() omits the option for the index of...

Since up to now noone of the experienced developers showed interest in this and stepped forward to help and I happen to have some quarantine time right now, I am...

Maybe your problem with similar adapters can be adressed in the same go. It's both related to how the Devices (and soon better "Interfaces") are labelled and kept track of...

I have some more success to report. =) With some modifications to UsbSerialHelper.java I am now able to access all four Interfaces via the Port picker menu and use them....

Tested working with FTDI4232 using the VID:PID:Interface scheme: https://github.com/henrik1g/XCSoar/tree/UsbSerial_MultiInterface

I also prefer the VID:PID:Interface way. However talking about "...give the user opportunity to see..." , in my current solution the VID:PID:IFace is the internal "address" with which XCS handles...

> We have tried the latest change with an android build based on the latest changeset (2), but still we see only one port, ttyS1, the console port of a...

> > It could happen if someone sponsors me a DSO-2250. > > i could publish my USB port online, but the latency would be terrible > naah, im already...