android/usb: guess the actual manufacturer and product

For a small number of dive computers we can actually figure out the
real information which we can then later show to the user.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-03-14 17:12:52 -07:00
parent d953c645e9
commit c2077992ff
2 changed files with 43 additions and 6 deletions

View file

@ -11,6 +11,8 @@ struct android_usb_serial_device_descriptor {
std::string uiRepresentation; /* The string that can be used for the user interface. */
// Device information
std::string usbManufacturer;
std::string usbProduct;
std::string manufacturer;
std::string product;
uint16_t pid;