Closed lavafroth closed 2 weeks ago
I will make the necessary changes in a day's worth of time. Thanks again for the review :D
I cleaned the code a bit with functions that could be called either with a custom private key or not.
I also remove the thread(s) spawned to get devices, if no device is find at the time an error is raised
Thank you very much! I like that you are explicitly refusing to handle multiple devices under autodetect. Makes sense.
Should we expose the search_adb_devices function or something similar that allows the user to query all matching VIDs and PIDs?
I think we can keep it private for now and see if there are people needing it
good call
Changes
autodetect
toautodetect_with_custom_private_key
toADBUSBDevice
vendor_id
andproduct_id
USB arguments optional and default to aforementioned methods