Christof Arnosti a34a81d120 android usb serial: Prepare device / driver select
This commit contains the serial_android_usb part of the changes proposed
in issue #2657.

What's implemented:
- A data structure that contains all the data that can be used to
  describe an usb device (including user-facing string).
- A function to get a list of all attached usb devices (optionally with
  selectable driver class).
- Changes in the serial_android_usb_open-function and in the Java part
  to use the information about the usb device and optionally selected
  driver when connecting.

This commit keeps compatibility with the current UI-Code in the case
that only one USB-Device is connected. If two devices are connected,
only the first one is tried.

There are still some small things to do:
- Change the user-facing string to something more descriptive.
- Parts which aren't uesd anymore when the UI-Part is implemented are
  simply marked as obsolete (to keep compatibility for now).

But generally it seems to work.

[Dirk Hohndel: some white space / coding style adjustments]

Signed-off-by: Christof Arnosti <charno@charno.ch>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-03-16 07:58:20 -07:00
..
2020-03-01 10:21:44 -08:00
2019-09-27 16:26:58 -07:00
2019-08-08 08:56:44 -07:00
2019-08-08 16:26:31 -07:00
2019-08-08 16:26:31 -07:00
2020-03-10 09:25:57 -07:00
2017-04-29 13:32:55 -07:00
2019-08-11 08:20:38 +02:00
2018-10-21 19:55:09 +03:00
2020-01-24 09:51:02 -08:00
2020-03-01 10:21:44 -08:00
2019-11-28 12:23:04 -08:00
2020-01-27 09:51:31 -08:00
2019-12-13 07:04:00 -05:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2020-03-10 17:42:54 -07:00
2020-03-10 17:42:54 -07:00
2019-11-09 19:19:04 +01:00