mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d953c645e9
commit
c2077992ff
2 changed files with 43 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue