greatscottgadgets / ubertooth

Software, firmware, and hardware designs for Ubertooth
https://greatscottgadgets.com/ubertoothone/
GNU General Public License v2.0
1.92k stars 430 forks source link

Add start/connect using U1 micro id serial number #488

Open tranzmatt opened 2 years ago

tranzmatt commented 2 years ago

I've added the ability for an ubertooth to have start/connect functionality by referencing its micro id number (aka serial number)

ubertooth.c: static struct libusb_device_handle find_ubertooth_device_serial(char serial_number) ubertooth.c: int ubertooth_connect_serial(ubertooth_t ut, char serial_number) ubertooth.c: ubertooth_t ubertooth_start_serial(char serial_number)

The utilities were also updated to allow -D to specify the serial number instead of -U

My branch also has debian packaging rules I imported from salsa, but those aren't intended to be in the PR.