fw/altos
8 years agoupdate changelogs for Debian build debian/0.8.1+42+g646e192
Bdale Garbee [Sat, 15 Jan 2011 01:01:16 +0000 (18:01 -0700)]
update changelogs for Debian build

8 years agoupdate changelogs for Debian build debian/0.8.1+41+gd908c2e
Bdale Garbee [Sat, 15 Jan 2011 01:01:00 +0000 (18:01 -0700)]
update changelogs for Debian build

8 years agoaltosui: Add preference for serial debugging.
Keith Packard [Sat, 15 Jan 2011 00:47:36 +0000 (16:47 -0800)]
altosui: Add preference for serial debugging.

This dumps serial input/output to stdout.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Ensure serial line is flushed after disabling remote link
Keith Packard [Sat, 15 Jan 2011 00:47:19 +0000 (16:47 -0800)]
altosui: Ensure serial line is flushed after disabling remote link

Flush the '~' character.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Show dialog after successful delete or when no flights
Keith Packard [Sat, 15 Jan 2011 00:44:50 +0000 (16:44 -0800)]
altosui: Show dialog after successful delete or when no flights

Make sure the user always sees confirmation for flight log management.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoupdate changelogs for Debian build debian/0.8.1+37+g97b1ca9
Bdale Garbee [Fri, 14 Jan 2011 21:31:19 +0000 (14:31 -0700)]
update changelogs for Debian build

8 years agoupdate changelogs for Debian build debian/0.8.1+36+gd794ef9
Bdale Garbee [Fri, 14 Jan 2011 21:30:49 +0000 (14:30 -0700)]
update changelogs for Debian build

8 years agoaltos: check for valid flight number in ao_log_delete
Keith Packard [Wed, 12 Jan 2011 20:41:26 +0000 (12:41 -0800)]
altos: check for valid flight number in ao_log_delete

Zero is not a valid flight number, and ao_log_flight uses that to
indicate 'no flight in this slot'. Check the user-provided input for
zero before looking through the slots.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Add eeprom 'manage' ui to download and delete multiple flights
Keith Packard [Wed, 12 Jan 2011 20:40:45 +0000 (12:40 -0800)]
altosui: Add eeprom 'manage' ui to download and delete multiple flights

This shows the list of available flights and provides options to
download and/or delete each one.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Add support for parsing list of flights from the 'l' command
Keith Packard [Wed, 12 Jan 2011 05:28:07 +0000 (21:28 -0800)]
altosui: Add support for parsing list of flights from the 'l' command

This adds parsing support to enumerate the available flights, but does
not yet provide any UI to use it.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: oops -- 'e' command was only showing 7 of the 8 bytes per line
Keith Packard [Wed, 12 Jan 2011 05:26:41 +0000 (21:26 -0800)]
altos: oops -- 'e' command was only showing 7 of the 8 bytes per line

Just a silly off-by-one error when printing out the data received from flash.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Split eeprom download code apart
Keith Packard [Tue, 11 Jan 2011 23:39:24 +0000 (15:39 -0800)]
altosui: Split eeprom download code apart

Create separate 'download config data', 'read single record' and 'read
block' functions. This code will be shared with future multi-log
reading code for new firmware.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Remove redundant initialization of ao_interval variables
Anthony Towns [Sat, 8 Jan 2011 05:00:10 +0000 (21:00 -0800)]
altos: Remove redundant initialization of ao_interval variables

These are all initialized in the ao_flight_drogue state transition.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Remove unused accel_vel_mach and accel_vel_boost variables
Anthony Towns [Sat, 8 Jan 2011 04:52:33 +0000 (20:52 -0800)]
altos: Remove unused accel_vel_mach and accel_vel_boost variables

Presumably left-over debugging code.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Add configuration of flight log size
Keith Packard [Sat, 8 Jan 2011 04:46:29 +0000 (20:46 -0800)]
altosui: Add configuration of flight log size

This adds to the TeleMetrum configuration UI the ability to set the
maximum flight log size.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Check for full log and complain
Keith Packard [Sat, 8 Jan 2011 04:26:39 +0000 (20:26 -0800)]
altos: Check for full log and complain

Reports special tone along with the continuity checks.
Reports flight 0 in telemetry.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Check requested log max size against available space
Keith Packard [Sat, 8 Jan 2011 04:25:09 +0000 (20:25 -0800)]
altos: Check requested log max size against available space

Make sure the amount of memory requested for a single log isn't more
than is available on the device.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Optimize Morse code generation
Anthony Towns [Sat, 8 Jan 2011 04:18:25 +0000 (20:18 -0800)]
altos: Optimize Morse code generation

This reduces the size of data and code needed to report the
flight states

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: ensure erase mark is written when erasing flights
Keith Packard [Sat, 8 Jan 2011 04:13:28 +0000 (20:13 -0800)]
altos: ensure erase mark is written when erasing flights

It was getting called only when *failing* to erase a flight (oops),
secondly, it wasn't getting written because ao_storage_flush wasn't
getting called.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: report flight log offsets in hex block numbers instead of bytes
Keith Packard [Sat, 8 Jan 2011 01:56:06 +0000 (17:56 -0800)]
altos: report flight log offsets in hex block numbers instead of bytes

makes them compatible with the 'e' command.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: white space fix
Keith Packard [Sat, 8 Jan 2011 01:55:54 +0000 (17:55 -0800)]
altos: white space fix

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Speed up at45 and 25lc erase speeds
Keith Packard [Sat, 8 Jan 2011 01:54:54 +0000 (17:54 -0800)]
altos: Speed up at45 and 25lc erase speeds

No need to read the block to be erased before erasing it.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: support storage of multiple flights.
Keith Packard [Fri, 7 Jan 2011 22:58:39 +0000 (14:58 -0800)]
altos: support storage of multiple flights.

This adds the logging support for dealing with multiple flights

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Add configuration parameter for maximum flight log size
Keith Packard [Fri, 7 Jan 2011 18:05:11 +0000 (10:05 -0800)]
altos: Add configuration parameter for maximum flight log size

This parameter will permit available storage to be split into multiple
separate flight logs.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoupdate changelogs for Debian build debian/0.8.1+18+g408a3e0
Bdale Garbee [Fri, 7 Jan 2011 07:52:50 +0000 (00:52 -0700)]
update changelogs for Debian build

8 years agoaltos: Mark end of available flight list with 'done' to make the UI
Keith Packard [Fri, 7 Jan 2011 07:38:13 +0000 (23:38 -0800)]
altos: Mark end of available flight list with 'done' to make the UI
code easier to write

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Rip out 'optimization' in ao_log_scan
Keith Packard [Fri, 7 Jan 2011 07:35:31 +0000 (23:35 -0800)]
altos: Rip out 'optimization' in ao_log_scan

Remove premature optimization to avoid re-scanning the flight logs for
the best empty entry.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Move common storage code to ao_storage.c. Add M25P80 driver
Keith Packard [Fri, 7 Jan 2011 06:37:38 +0000 (22:37 -0800)]
altos: Move common storage code to ao_storage.c. Add M25P80 driver

This reworks the storage API so that you erase blocks and then store
data to them so that the M25P80 driver will work.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Require manual flight erasing.
Keith Packard [Fri, 7 Jan 2011 01:34:58 +0000 (17:34 -0800)]
altos: Require manual flight erasing.

This supports flash chips that require larger erase blocks.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Simplify storage API
Keith Packard [Thu, 6 Jan 2011 20:51:39 +0000 (12:51 -0800)]
altos: Simplify storage API

This removes the config-specific APIs and exposes global variables for
the available storage space, block size and config storage location.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: packet and usb i/o routines use 'char', not 'uint8_t'
Keith Packard [Thu, 6 Jan 2011 19:28:35 +0000 (11:28 -0800)]
altos: packet and usb i/o routines use 'char', not 'uint8_t'

Just fixing the type of a local variable holding a character
passed from the packet link to usb.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Add telemetrum-v1.1 directory
Keith Packard [Thu, 23 Dec 2010 05:13:56 +0000 (21:13 -0800)]
altos: Add telemetrum-v1.1 directory

This just clones the v1.0 build; changes will be added on top of this.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Split out SPI driver.
Keith Packard [Thu, 23 Dec 2010 05:06:22 +0000 (21:06 -0800)]
altos: Split out SPI driver.

For TM with the companion connector, the SPI bus will be shared among
multiple devices. Split out the existing SPI code into a common
driver, with the SPI bus protected by a mutex.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agowindows: Update NSIS installer file to use compatibility IDs
Keith Packard [Sun, 28 Nov 2010 08:24:54 +0000 (00:24 -0800)]
windows: Update NSIS installer file to use compatibility IDs

This allows the file to contain a single InitDriverSetup function,
making things shorter and (I hope) clearer.

8 years agowindows: Add compatibility IDs to telemetrum.inf
Keith Packard [Sun, 28 Nov 2010 08:22:14 +0000 (00:22 -0800)]
windows: Add compatibility IDs to telemetrum.inf

This will allow the .nsi file to reference just the compatibility ID
instead of needing to have all of the USB IDs listed.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: eliminate ao_wake_task
Keith Packard [Sat, 27 Nov 2010 01:39:40 +0000 (17:39 -0800)]
altos: eliminate ao_wake_task

Waking up a task waiting on some random object is a bad idea. Fix
the waiters to look for suitable signalling.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: clean up radio abort paths. Share radio code.
Keith Packard [Sat, 27 Nov 2010 00:14:15 +0000 (16:14 -0800)]
altos: clean up radio abort paths. Share radio code.

Instead of aborting the DMA and radio operation and expecting that to
be handled reasonably by the radio receiving task, rewrite things so
that the abort function just wakes the receiving task while that
terminates the DMA and cleans up the radio.

This eliminates all kinds of nasty bugs dealing with radio abort
smashing the radio registers at the wrong time, or interrupting a
radio transmission.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: move maps to subdir, fix E/W mismatch
Anthony Towns [Mon, 13 Dec 2010 17:40:18 +0000 (03:40 +1000)]
altosui: move maps to subdir, fix E/W mismatch

8 years agoupdate changelogs for Debian build debian/0.8.1+4+gea95c06
Bdale Garbee [Wed, 1 Dec 2010 07:15:17 +0000 (00:15 -0700)]
update changelogs for Debian build

8 years agofix symlink paths in rules file
Bdale Garbee [Wed, 1 Dec 2010 07:12:05 +0000 (00:12 -0700)]
fix symlink paths in rules file

8 years agoupdate changelogs for Debian build debian/0.8.1+2+gea7130e
Bdale Garbee [Wed, 1 Dec 2010 07:03:23 +0000 (00:03 -0700)]
update changelogs for Debian build

8 years agomodify Debian package build to deliver one copy of background.png for
Bdale Garbee [Wed, 1 Dec 2010 07:00:58 +0000 (00:00 -0700)]
modify Debian package build to deliver one copy of background.png for
the themes and symlink it into place for gdm and slim

8 years agoupdate changelogs for Debian build debian/0.8.1
Bdale Garbee [Tue, 30 Nov 2010 04:47:13 +0000 (21:47 -0700)]
update changelogs for Debian build

8 years agoreleasing 0.8.1 0.8.1
Bdale Garbee [Tue, 30 Nov 2010 04:46:02 +0000 (21:46 -0700)]
releasing 0.8.1

8 years agoAdd minimal release testing plan to Releasing
Keith Packard [Tue, 30 Nov 2010 04:41:49 +0000 (20:41 -0800)]
Add minimal release testing plan to Releasing

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoMove "Releasing" to top level
Keith Packard [Tue, 30 Nov 2010 04:34:27 +0000 (20:34 -0800)]
Move "Releasing" to top level

This file documents the AltOS release process for all systems.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agowindows: Add jfreechart.jar and jcommon.jar to windows install image
Keith Packard [Tue, 30 Nov 2010 04:17:35 +0000 (20:17 -0800)]
windows: Add jfreechart.jar and jcommon.jar to windows install image

These are necessary for the Graph Data button to do anything useful.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoadding Bdale's release process document to the source tree
Bdale Garbee [Tue, 30 Nov 2010 04:29:14 +0000 (21:29 -0700)]
adding Bdale's release process document to the source tree

8 years agofix an Altos vs Altus typo in the docs
Bdale Garbee [Mon, 29 Nov 2010 21:40:27 +0000 (14:40 -0700)]
fix an Altos vs Altus typo in the docs

8 years agofix section layering
Bdale Garbee [Mon, 29 Nov 2010 05:42:43 +0000 (22:42 -0700)]
fix section layering

8 years agofix publish target in doc/Makefile
Bdale Garbee [Mon, 29 Nov 2010 02:46:03 +0000 (19:46 -0700)]
fix publish target in doc/Makefile

8 years agomoved doc dir in web content to AltOS tree
Bdale Garbee [Mon, 29 Nov 2010 01:48:31 +0000 (18:48 -0700)]
moved doc dir in web content to AltOS tree

8 years agoupdate changelogs for Debian build debian/0.8
Bdale Garbee [Mon, 29 Nov 2010 01:32:17 +0000 (18:32 -0700)]
update changelogs for Debian build

8 years agorewind changelog to recover from stupid build failure 0.8
Bdale Garbee [Mon, 29 Nov 2010 01:31:26 +0000 (18:31 -0700)]
rewind changelog to recover from stupid build failure

8 years agoupdate changelogs for Debian build
Bdale Garbee [Mon, 29 Nov 2010 01:24:00 +0000 (18:24 -0700)]
update changelogs for Debian build

8 years agoupdate changelogs for Debian build
Bdale Garbee [Mon, 29 Nov 2010 01:23:17 +0000 (18:23 -0700)]
update changelogs for Debian build

8 years agodeclaring 0.8 released
Bdale Garbee [Mon, 29 Nov 2010 01:21:31 +0000 (18:21 -0700)]
declaring 0.8 released

8 years agowindows: Bump .inf file version
Keith Packard [Sun, 28 Nov 2010 07:08:41 +0000 (23:08 -0800)]
windows: Bump .inf file version

8 years agowindows: more .inf file hacking
Keith Packard [Sun, 28 Nov 2010 07:04:50 +0000 (23:04 -0800)]
windows: more .inf file hacking

Add a LayoutFile reference
Add the FakeModemCopyFileSection

Copy AltosMetrum.Install section to AltusMetrum.Install.NT section. I
don't know what this might do; existing files seem inconsistent.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agowindows: remove some non-existent .inf file section references
Keith Packard [Sun, 28 Nov 2010 06:39:31 +0000 (22:39 -0800)]
windows: remove some non-existent .inf file section references

The mfglt and VerboseResultCodes sections are not present in the .inf
file, so remove refernces to them.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agowindows: try harder to get windows install to work
Keith Packard [Sun, 28 Nov 2010 06:35:18 +0000 (22:35 -0800)]
windows: try harder to get windows install to work

Add devIDs to .nsi file. Fix install section name mapping from the
hot-plug info.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Correct windows hardware IDs for nsis installer file
Keith Packard [Sun, 28 Nov 2010 00:30:29 +0000 (16:30 -0800)]
altosui: Correct windows hardware IDs for nsis installer file

Need real hardware IDs (encoded USB ids) to get windows to
auto-install the driver?

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoupdate changelogs for Debian build debian/0.7.1+168+gcb08bc2
Bdale Garbee [Fri, 26 Nov 2010 05:31:33 +0000 (22:31 -0700)]
update changelogs for Debian build

8 years agochanged main document name from telemetrum-doc to altusmetrum
Bdale Garbee [Fri, 26 Nov 2010 05:29:01 +0000 (22:29 -0700)]
changed main document name from telemetrum-doc to altusmetrum

8 years agoupdate fat target in Makefiles to reflect move of altosui and libaltos
Bdale Garbee [Fri, 26 Nov 2010 02:30:02 +0000 (19:30 -0700)]
update fat target in Makefiles to reflect move of altosui and libaltos

8 years agoaltosui: Clean up flash code to ensure swing gets called from right thread
Keith Packard [Fri, 26 Nov 2010 01:29:28 +0000 (17:29 -0800)]
altosui: Clean up flash code to ensure swing gets called from right thread

This moves all of the flash code to a separate thread and passes
messages back to the swing thread to keep the UI up to date.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Remove gratuitous threading from device flashing UI
Keith Packard [Fri, 26 Nov 2010 00:28:04 +0000 (16:28 -0800)]
altosui: Remove gratuitous threading from device flashing UI

There's no need for a thread here, and swing doesn't want us to use
one anyways.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Flight data download GUI operations called only from main thread
Keith Packard [Fri, 26 Nov 2010 00:23:18 +0000 (16:23 -0800)]
altosui: Flight data download GUI operations called only from main thread

Swing doesn't like UI functions being called from non-dispatch thread,
so fix up the eeprom download code to use SwingUtilities.invokeLater
to make sure this works right.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Eliminate unnecessary thread from config UI
Keith Packard [Fri, 26 Nov 2010 00:09:37 +0000 (16:09 -0800)]
altosui: Eliminate unnecessary thread from config UI

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>
8 years agoaltosui: Only call swing display functions from main thread.
Keith Packard [Thu, 25 Nov 2010 23:56:42 +0000 (15:56 -0800)]
altosui: Only call swing display functions from main thread.

Swing insists that all display functions be called from a single
thread, and the flight window wasn't following this for display
updates. Use SwingUtilities.invokeLater to make sure the flight UI
updates happen in the right context.

Fixes a UI freeze on Mac OS.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoUpdated AltOS PKGBUILD to track makefile changes
Bob Finch [Thu, 25 Nov 2010 20:30:48 +0000 (13:30 -0700)]
Updated AltOS PKGBUILD to track makefile changes

8 years agoaltosui: Hack up standalone makefile to maybe build altosui again
Keith Packard [Thu, 25 Nov 2010 19:16:55 +0000 (11:16 -0800)]
altosui: Hack up standalone makefile to maybe build altosui again

This isn't tested, but at least the paths are more likely to be correct

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Make windows bits build after moving altosui directory
Keith Packard [Thu, 25 Nov 2010 19:16:28 +0000 (11:16 -0800)]
altosui: Make windows bits build after moving altosui directory

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoRevert "altos: Don't abort radio transmissions with ao_radio_abort"
Keith Packard [Thu, 25 Nov 2010 07:54:08 +0000 (23:54 -0800)]
Revert "altos: Don't abort radio transmissions with ao_radio_abort"

This reverts commit 54468e5dc567aaac5c5c20e921859b7cec28bb88.

With this patch in place, TD could not be placed in 'packet' mode.

8 years agodoc: Rename telemetrum-doc as altusmetrum
Keith Packard [Thu, 25 Nov 2010 06:55:08 +0000 (22:55 -0800)]
doc: Rename telemetrum-doc as altusmetrum

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agodoc: Add more authors, fix URL formatting, note that AltosUI actually exists
Keith Packard [Thu, 25 Nov 2010 06:49:33 +0000 (22:49 -0800)]
doc: Add more authors, fix URL formatting, note that AltosUI actually exists

Add aj and bfinch as authors. Insert an acknowledgements section. Fill
in the Fire Igniter section in the AltosUI chapter. Then change the
section talking about the future plans for Java to mention that they
actually exist now.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agodoc: Reformat altos to use sections for each function
Keith Packard [Thu, 25 Nov 2010 05:39:18 +0000 (21:39 -0800)]
doc: Reformat altos to use sections for each function

This places them in the TOC, making them easier to find.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoMerge branch 'buttonbox'
Keith Packard [Thu, 25 Nov 2010 05:00:52 +0000 (21:00 -0800)]
Merge branch 'buttonbox'

Conflicts:
doc/telemetrum-doc.xsl

Pull the buttbox version of the docs in as it had been updated.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agomanually fold in documentation work from the master branch buttonbox
Bdale Garbee [Thu, 25 Nov 2010 04:44:53 +0000 (21:44 -0700)]
manually fold in documentation work from the master branch

8 years agotweak rev history
Bdale Garbee [Thu, 25 Nov 2010 04:21:53 +0000 (21:21 -0700)]
tweak rev history

8 years agofix missing section close in Site Map content
Bdale Garbee [Thu, 25 Nov 2010 03:53:36 +0000 (20:53 -0700)]
fix missing section close in Site Map content

8 years agoMerge remote branch 'aj/buttonbox' into buttonbox
Keith Packard [Thu, 25 Nov 2010 02:57:35 +0000 (18:57 -0800)]
Merge remote branch 'aj/buttonbox' into buttonbox

8 years agoMissing change to top level Makefile to build altosui
Keith Packard [Thu, 25 Nov 2010 02:50:46 +0000 (18:50 -0800)]
Missing change to top level Makefile to build altosui

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agodoc: Document altosui "Site Map" tab
Anthony Towns [Wed, 24 Nov 2010 23:52:30 +0000 (09:52 +1000)]
doc: Document altosui "Site Map" tab

8 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Wed, 24 Nov 2010 23:10:50 +0000 (09:10 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

8 years agoMove altosui to the top level, placing libaltos inside it.
Keith Packard [Wed, 24 Nov 2010 22:57:57 +0000 (14:57 -0800)]
Move altosui to the top level, placing libaltos inside it.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agodocs: Document altosui "Graph Data" button
Anthony Towns [Wed, 24 Nov 2010 23:07:34 +0000 (09:07 +1000)]
docs: Document altosui "Graph Data" button

8 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Wed, 24 Nov 2010 22:47:36 +0000 (08:47 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

8 years agoaltosui: Make sure packet mode is turned off when the connection fails
Keith Packard [Wed, 24 Nov 2010 18:55:18 +0000 (10:55 -0800)]
altosui: Make sure packet mode is turned off when the connection fails

When the packet connection times out, turn packet mode off when
closing the serial port.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Let people fire igniters that don't read as 'ready'
Keith Packard [Wed, 24 Nov 2010 04:17:44 +0000 (20:17 -0800)]
altosui: Let people fire igniters that don't read as 'ready'

This provides for igniter testing with LEDs or other materials that
don't look like regular igniters.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Disable radio configation over packet link.
Keith Packard [Wed, 24 Nov 2010 03:09:31 +0000 (19:09 -0800)]
altosui: Disable radio configation over packet link.

Attempting to configure the radio over the packet link will only end
up confusing the user, so disable it. This also works around a bug in
older TM code which would lock up when trying to do this.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: New AltosSerial.set_radio function sets channel/call
Keith Packard [Wed, 24 Nov 2010 03:08:07 +0000 (19:08 -0800)]
altosui: New AltosSerial.set_radio function sets channel/call

Use this anytime you need to set the device radio channel and call
sign, either for telemetry reception or packet mode origination. This
uses the saved callsign and per-device radio channel number. Do not
use this when opening a telemetrum as there won't be a saved channel number.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltosui: Make AltosSerial.flush_input keep reading while non-empty
Keith Packard [Wed, 24 Nov 2010 03:04:55 +0000 (19:04 -0800)]
altosui: Make AltosSerial.flush_input keep reading while non-empty

Flushing the input buffer can take a while, especially over the packet
link. Keep reading while stuff is appearing on the reply queue.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Make radio test command careful with the radio mutex.
Keith Packard [Wed, 24 Nov 2010 03:02:54 +0000 (19:02 -0800)]
altos: Make radio test command careful with the radio mutex.

Remember whether the radio test mode is on or off and don't try to do
either of them twice to prevent the mutex from being acquired or
released twice.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: Don't abort radio transmissions with ao_radio_abort
Keith Packard [Wed, 24 Nov 2010 02:57:49 +0000 (18:57 -0800)]
altos: Don't abort radio transmissions with ao_radio_abort

We only want to abort pending radio reception to release the radio for
other use, or to change the radio channel. Let radio transmission
proceed. This fixes a problem with using packet mode to configure the
radio channel; if the packet transmission is aborted, the TM ends up
wedged.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoaltos: remove unused variable from ao_igniter
Keith Packard [Wed, 24 Nov 2010 02:56:46 +0000 (18:56 -0800)]
altos: remove unused variable from ao_igniter

The 'status' variable used to hold a reported status value from the
igniter after firing, but we ignore that now.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Wed, 24 Nov 2010 02:14:11 +0000 (12:14 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

8 years agolose the placeholder on how GPS works, as it's going to be a
Bdale Garbee [Wed, 24 Nov 2010 01:58:11 +0000 (18:58 -0700)]
lose the placeholder on how GPS works, as it's going to be a
while before I tackle that, if ever.

8 years agoMerge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
Anthony Towns [Wed, 24 Nov 2010 01:55:14 +0000 (11:55 +1000)]
Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

8 years agomerge Keith's AltosUI documention into "the big book"
Bdale Garbee [Wed, 24 Nov 2010 01:53:18 +0000 (18:53 -0700)]
merge Keith's AltosUI documention into "the big book"