summaryrefslogtreecommitdiff
path: root/altosui/AltosConfig.java
Commit message (Collapse)AuthorAge
* altosui: Reset all config data on 'reset' commandKeith Packard2011-08-22
| | | | | | This lets you switch altimeters without getting any stale data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Only 'show' config dialog onceKeith Packard2011-08-22
| | | | | | | Otherwise, the dialog jumps back to the initial position each time the data is updated. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: fix 'magic' string to signal end of config dataKeith Packard2011-08-22
| | | | | | | | Was using "done", which happens to be displayed by the 'l' command. Switch to 'all finished' which doesn't appear in the config data output. Yes, this method is a kludge. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Can't configure flight log max on TeleMiniKeith Packard2011-08-22
| | | | | | It's only got space for one flight. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/altosui: Add ability to disable telemetry/rdf completelyKeith Packard2011-08-20
| | | | | | | This turns off the telemetry system so that it never transmits telemetry or RDF tones. In idle mode, it will still accept packet mode connections. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Disable 'max flight log' config when there are stored flightsKeith Packard2011-08-20
| | | | | | | | | When flights are stored in flash, the maximum flight log value cannot be changed as the flight data might need to be moved around in memory. Check for this case by looking for stored flights and disabling the combo box when storage is not empty. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Respect storage limits in flight log max config0.9.6.0Keith Packard2011-08-14
| | | | | | | | Compute the maximum flight log using the data returned from the 'f' command (total storage and erase block size). Limit menu to choices which fall within this limit, complain if the user asks for too big a value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/altosui: Report log format in the version commandKeith Packard2011-08-13
| | | | | | | | This will make it easier to figure out what the contents of the flash should look like from altosui; the current 'guessing' mechanism will not scale to many more formats. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Have single radio_to_frequency functionKeith Packard2011-08-08
| | | | | | | This takes all three radio params (setting, cal, channel) and computes the current frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Must set radio calibration before radio settingKeith Packard2011-08-08
| | | | | | | | | | | Setting the radio calibration erases any previous radio setting as the radio calibration change invalidates any previously computed radio setting for a specific frequency. Hence, the radio setting must be configured *after* the radio calibration value lest it be ignored. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Convert from channels to frequenciesKeith Packard2011-08-08
| | | | | | | | | | | | | Major areas: * Preferences are stored as frequencies instead of channels * Serial configuration is done using frequencies * UI is presented with frequency lists Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/altosui: Add pad orientation configure optionKeith Packard2011-08-02
| | | | | | | | | | | Allow TeleMetrum to be operated with the antenna pointing downwards on the pad. This provides some additional flexibility when designing an ebay. The accelerometer calibration levels are flipped around to match, so no re-calibration should be required. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos, altosui: Add igniter mode (dual, apogee, main)split-telemetryKeith Packard2011-07-17
| | | | | | This provides for redundant charges for either apogee or main. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Create abstract AltosDevice classKeith Packard2011-04-14
| | | | | | | This will wrap either USB or BT devices. The USB device constants have been moved to Altos.java Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Allow radio channel to be configured over the radio linkKeith Packard2011-03-27
| | | | | | | | | | | TeleMini/TeleNano can't be configured via USB, so we need to allow the radio channel to be set over the radio link. This change carefully sets the new radio channel, disables the remote link and then sets the teledongle channel to the new value and brings the link back up. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Allow TM config connection to be canceled.Keith Packard2011-03-26
| | | | | | | | | This leaves the config UI connection attempt running and pops up a dialog box when it takes 'too long' in the remote case so that users with Tm or Tn devices can bring up the UI, and then boot the Tm/Tn without needing to time things carefully. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add configuration of flight log sizeKeith Packard2011-01-07
| | | | | | | This adds to the TeleMetrum configuration UI the ability to set the maximum flight log size. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eliminate unnecessary thread from config UIKeith Packard2010-11-25
| | | | | | | There's no reason to use a thread to run a dialog box, and swing doesn't like threads anyways. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
Signed-off-by: Keith Packard <keithp@keithp.com>