altosuilib: Detect pair programming by product name, not USB id
authorKeith Packard <keithp@keithp.com>
Sat, 14 Feb 2015 09:13:21 +0000 (01:13 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 14 Feb 2015 09:13:21 +0000 (01:13 -0800)
commitc4f9d96bdea192486f0e3f2d80b846c39a05c0ab
treea1e07514b7a8679582120544f67a22684e26b864
parent0e929ee2d0a3d1b1bacd36c2c3723ab860eb40b6
altosuilib: Detect pair programming by product name, not USB id

With TeleDongle, TeleBT and TeleMetrum coming in both pair- and self-
programmable versions, we can't use the USB id to tell them
apart. Instead, fetch the device name and use that instead.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosuilib/AltosFlashUI.java