summaryrefslogtreecommitdiff
path: root/altosui/AltosConfig.java
Commit message (Collapse)AuthorAge
* altosui: Rename AltosConfig -> AltosConfigFCKeith Packard2017-07-23
| | | | | | Now the class name says that this configures the flight computer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib,altosuilib: Bump library version numbersKeith Packard2017-06-13
| | | | | | The API and ABI have changed a bit since 1.7 Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2016-05-12
| | | | | | Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
* Update java library version numbersKeith Packard2016-04-21
| | | | | | Prepare for 1.6.3 release. Signed-off-by: Keith Packard <keithp@keithp.com>
* Update java library versionsKeith Packard2016-01-10
| | | | | | altoslib is API incompatible with 1.6.1 release due to altos.state updates. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump Java library versionsKeith Packard2015-07-15
| | | | | | Avoid problems if you have an old version of the library installed Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Update library version to 7Keith Packard2015-05-25
| | | | | | So many ABI/API changes Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2015-02-07
| | | | | | | Lots of minor API/ABI changes; make sure people can install both 1.5 and 1.6 at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Bump java library versions for next releaseKeith Packard2014-06-16
| | | | | | Prepare for future release by bumping java versions now Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/telegps: Change log size configurationKeith Packard2014-06-10
| | | | | | | | | | | | | * Use new log-space value provided by firmware when available. * Divide that up into 1-8 flights and offer those sizes as options to the user instead of a fixed set of sizes. * Show how many flights each selection will store * This also checks values provided by the user Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Display error message when parsing pyro channel values failsKeith Packard2014-06-02
| | | | | | | | | Build an exception handling chain to get numeric parse errors propagated all the way back to the original 'save' command and up into a dialog window, including the pyro channel, field and value that were in error. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Change versions to altoslib:4, altosuilib:2Keith Packard2014-05-25
| | | | | | API has changed for these libraries, time to bump the file versions Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Bump library versionKeith Packard2013-12-20
| | | | | | | Prepare for next release by making sure we notice that the API/ABI for this library has changed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Pass InterruptedException up the stack instead of hiding itKeith Packard2013-12-18
| | | | | | | | | | When interrupting a thread that is talking to a serial device, it's important not to have that thread discard the InterruptedException so that it will actually terminate. This patch removes a bunch of places that were discarding InterruptedExceptions and lets higher level code see them so that they can exit cleanly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Finish AltosState changes. Update version number.Keith Packard2013-09-05
| | | | | | | Removes all of the AltosRecord bits, changes the monitor idle bits to have per-object state updaters. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add version numbers to java librariesKeith Packard2013-01-29
| | | | | | | Make our private java library names include a version number so we can ship and install multiple versions at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* Change AltosLib to altoslibKeith Packard2013-01-29
| | | | | | Follow Java conventions Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use shared AltosDeviceDialogKeith Packard2013-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Call config UI from AltosConfigData directlyKeith Packard2012-12-07
| | | | | | | | Don't make AltosConfig have a pile of config code, stick that in AltosConfigData instead. This uses a new interface, AltosConfigValues to get from AltosConfigData to the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use AltosConfigData for altosui configuration dialogKeith Packard2012-12-07
| | | | | | Instead of a separate config language parser, share with altoslib Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Allow AltosConfig to abort before serial line startsKeith Packard2012-10-25
| | | | | | Check to see if the serial line is active before trying to close it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Allow any non-basestation to be configuredKeith Packard2012-10-22
| | | | | | TelePyro has some configuration bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/altoslib: Add support for configuring pyro channelsKeith Packard2012-10-22
| | | | | | | This provides a UI on devices which have pyro channels other than main/apogee. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: remove redundant catchesMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: remove un-used importsMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Reverted package name to 'altosui' from 'AltosUI'Tom Marble2012-09-11
| | | | Also added emacs backup regex (*~) to .gitignore
* Changed package name from altosui to AltosUITom Marble2012-09-10
|
* altosui: Move product definitions from AltosUI to AltosLibKeith Packard2012-06-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Complete split out of separate java libraryKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Split out UI-specific preferencesKeith Packard2012-06-02
| | | | | | Prepare to create library shared with android application. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add apogee lockout configurationKeith Packard2012-04-14
| | | | | | Provide suggested values of 5/10/15/20 seconds. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Radio channel gets set to zero by altos when frequency is setKeith Packard2012-04-07
| | | | | | Just remember what the channe is going to get set to. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Sanity check values from device configurationKeith Packard2012-03-27
| | | | | | | If someone has down-graded and re up-graded the firmware, the config entries may be garbage. Sanity check them to avoid crashing the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Configure radio with new direct frequency settingKeith Packard2012-03-27
| | | | | | Instead of computing the radio setting in altosui, let the radio do it directly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Report error message back from libaltosKeith Packard2011-08-28
| | | | | | | This includes changing all of the error dialogs to show the error message rather than just the file name. Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>