summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosDevice.java
Commit message (Collapse)AuthorAge
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: switch channel selector to combo box. Shorten displayed device namesKeith Packard2010-11-19
| | | | | | | | | A combo box displays the current value, which is quite nice to have. Add a 'toShortString' for AltosDevice so that the window frames and error messages don't have extra spaces generated by the altos_device toString method. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove some debug printfs.Keith Packard2010-09-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: conflating USB product and vendor IDs is a bad ideaKeith Packard2010-09-09
| | | | | | | | | | | We've now got a USB vendor ID called 'altusmetrum' for generic altusmetrum devices (old USB ID 0x000A) while the general vendor name for all devices is 'altusmetrum' as well. This patch splits vendors and products into separate name spaces, products are prefixed with product_ and vendor with (oddly) vendor_. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Display error dialog when AltOS JNI library can't be loadedKeith Packard2010-09-09
| | | | | | | Having an error dialog appear at application startup seems better than simply failing to present the device dialog later on. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Devices with USB id 0x000a always get listedKeith Packard2010-08-30
| | | | | | | List 'unknown' AltusMetrum devices anytime the UI needs a device name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Select devices by USB vendor/product ID.Keith Packard2010-08-17
| | | | | | | | Because Win7 doesn't expose the product name, we're swtiching to using the USB idProduct/idVendor values. This patch adds support for selecting devices by those new IDs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Catch errors opening USB devices. Limit list to relevant devicesKeith Packard2010-07-28
| | | | | | | Avoids a segfault when failing to open a device. Limit listed telemetry devices to just TeleDongle units. Signed-off-by: Keith Packard <keithp@keithp.com>
* Present list of altos devices in nice formatKeith Packard2010-07-26
|
* Switch AltosUI to libaltos for device accessKeith Packard2010-07-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add Linux device discoveryKeith Packard2010-04-05
AltosDeviceLinux.java scans /proc to locate suitable devices. This will be hooked up to the UI shortly.