summaryrefslogtreecommitdiffstats
path: root/qdbd
diff options
context:
space:
mode:
authorKari Oikarinen <kari.oikarinen@qt.io>2016-08-29 12:10:11 +0300
committerKari Oikarinen <kari.oikarinen@qt.io>2016-10-18 12:36:31 +0000
commit1a8ff526eb750c6629c03c694c07be8d0bebffe2 (patch)
tree3a9d343562132413bb652d8a8a484d37a8a50840 /qdbd
parentc8cda60d49adb562405794ab5ac496c2fd01e1e3 (diff)
Handle multiple USB devices
Add a new qdb subcommand "devices". It lists the USB devices that are available and have a QDB interface. Their serial numbers are retrieved from the USB interface description. All the other commands now use --device option to decide which device to connect to. libusb_context is managed in a separate singleton, because managing its lifetime between the DeviceManager and UsbConnection would be awkward otherwise. The library-wide initialization is anyway meant to happen just once and the deinitialization just before quitting the executable. Task-number: QTBUG-54405 Change-Id: I8dd4f759e2e0906e0b9d121eb9f1221ee4de55ca Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'qdbd')
0 files changed, 0 insertions, 0 deletions