summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * altos/stmf0: Need ao_exti.h for pin configurationKeith Packard2015-03-07
| | | | | | | | | | | | Flash loader uses pin configuration to set up GPIOs for boot selection Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add makefile for chaoskey flash loaderKeith Packard2015-03-07
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Build chaoskey by defaultKeith Packard2015-03-07
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add .gitignore for chaoskeyKeith Packard2015-03-07
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * doc: Update telemetry docs to include new packet formatsKeith Packard2015-03-07
| | | | | | | | | | | | | | | | | | | | Add TeleMega TeleMetrum v2 and companion data packet formats. List which radio parts each product uses. Document modulation parameters for new data rates. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Deal with bluetooth connection failures betterKeith Packard2015-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remember when we've closed the bluetooth connection so that we stop operations, including reporting connection status messages or even starting a connection attempt. Pass the AltosBluetooth object back in connection status messages so that TelemetryService can tell when messages from closed objects get delivered. There's a queue between the two, so the above fix catches most of these instances, but not all of them. Stick a delay during reconnect -- if the TeleBT device is getting power-cycled, it will need a few seconds to reconfigure the device at startup, if AltosDroid manages to connect during that time, the configuration commands will be ignored. Unlock the AltosBluetooth device while we connect so that cancel calls will actually work. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui/telegps: Change from variable-units snuck into masterKeith Packard2015-03-02
| | | | | | | | | | | | show_units_name(double) only exists on the variable-units branch... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Missing pad field in TMv2 data packetKeith Packard2015-03-02
| | | | | | | | | | | | | | | | | | | | The normal ARM padding would have filled this in correctly, but it's best to be explicit about the structure. This also adds a test to make sure the resulting telemetry declaration is exactly 32 bytes, Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Wait for BT disconnect before sending commandKeith Packard2015-03-02
| | | | | | | | | | | | | | | | | | | | | | If AltosDroid manages to connect to the BT module before we've configured it, we won't be able to talk to it as we can't force the module to ignore connection attempts. Wait for AltosDroid to give up and let us configure the device. Eventually, we'll manage, if AltosDroid's delay interval is longer than the time it takes to configure the unit. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools: Add ao-flash-stm32f0xKeith Packard2015-03-02
| | | | | | | | | | | | This new script uses openocd to flash stm32f0x parts Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Round frequency when configuring radioKeith Packard2015-03-02
| | | | | | | | | | | | | | This makes sure we set the right frequency, instead of being off by 1kHz on a regular basis... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui/telegps: Add config option for APRS formatKeith Packard2015-03-02
| | | | | | | | | | | | Allow configuration of APRS compressed/uncompressed Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make APRS format (compressed/uncompressed) configurableKeith Packard2015-03-02
| | | | | | | | | | | | | | | | This provides a choice of compressed vs uncompressed when sending APRS packets to deal with receivers that still do not have support for the more useful compressed format. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/usbtrng: Split out random number generating code to separate driverKeith Packard2015-02-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add chaoskey flash loaderKeith Packard2015-02-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Create chaoskey productKeith Packard2015-02-28
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Allocate USB buffers at startupKeith Packard2015-02-28
| | | | | | | | | | | | | | This lets the extra allocations used from ao_usb_alloc_buffers be allocated before the first USB connection happens. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Typo in ao_crc_stm.cKeith Packard2015-02-28
| | | | | | | | | | | | Extra semicolon Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Fix fast ADC interfaceKeith Packard2015-02-28
| | | | | | | | | | | | | | This was configuring the hardware wrong, and wasn't keeping the output ring full. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Allow software to offer other USB interface classes than CDCKeith Packard2015-02-28
| | | | | | | | | | | | | | This lets some boards offer non-CDC class USB interfaces so that the modem driver doesn't pick them up. Signed-off-by: Keith Packard <keithp@keithp.com>
* | add debian branch spec to vcs-git: line in control so Debian tools work rightBdale Garbee2015-07-11
|/
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2015-02-22
|\
| * altosdroid: Ignore automatic tab changing while activity is savedKeith Packard2015-02-16
| | | | | | | | | | | | | | | | | | | | When the activity state is saved (after onSaveInstanceState()), we can't update the UI until the activity is restarted or restored; that means any UI changes we make, like switching tabs, must deal with this by allowing those changes to be ignored, using commitAllowingStateLoss instead of commit. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Missing file: DeviceAddress.javaKeith Packard2015-02-16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Only speak when GUI is runningKeith Packard2015-02-16
| | | | | | | | | | | | | | Create voice in onStart, stop it in onStop. This way, if some other application is in use, the voice won't be annoying you. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Explicitly disconnect BT on termination or 'disconnect'Keith Packard2015-02-16
| | | | | | | | | | | | | | | | | | | | This adds an explicit message to the telemetry service telling it when to stop trying to talk to the bluetooth device. Until this message is received, the service will reconnect to the specified BT device. That message is sent when you 'quit' the application, or when you 'disconnect'. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Lots of bluetooth connection changesKeith Packard2015-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | Appears to more reliably abort in-progress connection attempts so you can switch TBT devices without having the previous device in operation. Shows which device the connection is being attempted for. Eliminate the 10-second timer and just disable the service when the GUI shuts down while no BT connection is running. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Changes for telebt for keith's hackingKeith Packard2015-02-16
| | | | | | | | | | | | | | Make the programming device auto-detect by username. Load binary from ~/altusmetrumllc Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Remove some accidental debug printfs from ao_packet.cKeith Packard2015-02-15
| | | | | | | | | | | | | | While fixing the cc1200 configuration, I added some debug printfs to this code. They were accidentally committed with the fix... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1200: Adjust bit-sync configurationKeith Packard2015-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | The default bit timing adjustment mechanism allows for only a 0.2% deviation from the programmed bit timing. I found one TeleMini device which is beyond that tolerance as it was built with an older crystal with more error. Switch to the more expensive synchronization mechanism which allows up to 2% timing error, but requires a multi-byte preamble (which we have). This fixes packet mode nicely. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: embed ao_alarm and ao_clear_alarm in ao_sleep_forKeith Packard2015-02-14
| | | | | | | | | | | | | | sdcc won't embed these itself, and thus consumes too much flash for telemetrum-v1.0 Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup/turnon_telemini: Detect which programmer to use by $USERKeith Packard2015-02-14
| | | | | | | | | | | | Bdale uses TD 100, keithp uses TD 186. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Detect pair programming by product name, not USB idKeith Packard2015-02-14
| | | | | | | | | | | | | | | | 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>
| * altosui: Run all igniter status requests from non-GUI threadKeith Packard2015-02-14
| | | | | | | | | | | | | | | | | | | | Anything run from the UI thread blocks the UI entirely; the Fire Igniters startup code to collect the number of pyro channels when building the UI was doing that from the UI thread. Switch that around so that the UI doesn't get built until that reply comes back, allowing the user to see the 'connecting' dialog, and cancel it if required. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Replace ao_alarm/ao_clear_alarm with ao_sleep_forKeith Packard2015-02-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having arbitrary alarms firing in the middle of complicated device logic makes no sense at all. Therefore only correct use of ao_alarm and ao_clear_alarm was around a specific ao_sleep call, with correct recovery in case the alarm fires. This patch replaces all uses of ao_alarm/ao_sleep/ao_clear_alarm with ao_sleep_for, a new function which takes the alarm timeout directly. A few cases which weren't simply calling ao_sleep have been reworked to pass the timeout value down to the place where sleep *is* being called, and having that code deal with the return correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Added continuous output option to ao-usbtrngTom Marble2015-02-11
| |
| * altos/stmf0: Add ao_crc_stm.cKeith Packard2015-02-09
| | | | | | | | | | | | Tom discovered that this was missing Signed-off-by: Keith Packard <keithp@keithp.com>
| * Minor typo in man pageTom Marble2015-02-09
| |
* | swap names so v3.0 is the default TeleDongle version to turn onBdale Garbee2015-02-22
|/
* document addition of TeleDongle to the set of ARM targets to save binaries forBdale Garbee2015-02-07
|
* 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>
* altosuilib: Don't offer to graph some GPS details that TM doesn't logKeith Packard2015-02-07
| | | | | | | | When using a TM eeprom file, various minor GPS details are logged (course, ground speed, climb rate, etc). Make sure these aren't offered up for graphing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Get the Eeprom download progress bar working againKeith Packard2015-02-07
| | | | | | | | | | | | The eeprom download code wasn't computing the start of each state transition correctly, so the progress bar was snapping to the end of the chunk for each state. Invalid state values would snap the bar to the right side. Landed state wasn't ever seen, so the bar would not ever fill. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: update 1.6 release notes with recent bug fixesKeith Packard2015-02-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Set the icon and title of the telemetry scanning dialogKeith Packard2015-02-07
| | | | | | Just need to call 'super' to get the window configured correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clear saved TelemetryReader state instead of resetting in ScanUIKeith Packard2015-02-07
| | | | | | | Instead of attempting to mash the saved state from AltosScanUI, just throw it away in AltosTelemetryReader.reset. Much cleaner, and more reliable. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Reset telemetry state after processing itKeith Packard2015-02-07
| | | | | | | | This avoids re-using stale state after switching telemetry reception parameters around, which otherwise generates spurious entries for the wrong frequencies in the scan results list. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Drop telemetry packets processed while monitoring is disabledKeith Packard2015-02-07
| | | | | | | | A lag between the thread queuing telemetry packets and one pulling them out can result in stale telemetry data being returned to the reader. Fix this by dropping telemetry read while monitoring is disabled. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Wait for product data while scanningKeith Packard2015-02-07
| | | | | | | Now that Altos only sends config information once every 5 seconds, we want to keep waiting for that if we're receiving packets successfully. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Mark listener as 'not running' on EOF.Keith Packard2015-02-07
| | | | | | | | | | | | | | This adds a 'running' member to the AltosListenerState class, and when the replay reader reaches EOF, marks the listener as no longer running. AltosUI and TeleGPS now display 'done' in the 'Age' field when this occurs, to let the user know that the replay is over. Also make sure that the display timers are stopped when this happens, or when the window is closed. Signed-off-by: Keith Packard <keithp@keithp.com>