| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
| |
Otherwise, reads block writes and vice-versa. Crazy stuff.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This lets us create the windows distribution on Linux.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This allows the mac bits to be built on Linux.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
| |
Builds Windows .dll correctly now and sample app.
Moves linux install target to end so it is not default
Adds .NOTPARALLEL to disable parallel gnumake.
Removes -g debugging flags to shrink file size.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Need stdlib.h to get calloc/free defined, remove debug printfs, fix
serial timeouts.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
Who ships this stuff, anyway? Instead of blocking, we'll poll every 100ms now,
otherwise, we won't be able to abort the read when the device is closed. Yay!
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This shouldn't happen, but it's easy enough to get back in sync by just
skipping lines with weird contents.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
monitor automatically
(yes, this should be two patches, but the diffs in AltosSerial were merged together).
First, this replaces the existing flush/flush_reply mess with two simple functions,
one to flush output to the serial device, making sure that all data written will be seen
while we wait for input. The other sucks any pending input off of the serial line and
discards it.
Second, AltosSerial now tracks whether the serial line is being used for telemetry
monitoring. If so, it enables monitoring, otherwise it disables it. Eliminates a
bunch of manual state tracking elsewhere.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
List all usb devices, picking those with AltusMetrum IDs.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
debian/control
|
| | |
|
| | |
|
| |
| |
| |
| | |
the desktop file
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| | |
| | |
| | | |
new-package-format
|
| |\ \
| | | |
| | | |
| | | | |
new-package-format
|
| | | | |
|
|\ \ \ \ |
|
| | | | | |
|
| | | | | |
|
| |_|_|/
|/| | |
| | | |
| | | | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make syntax errors in telem files just skip the current line and move
on to the next one instead of abandoning the whole file.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We read bytes from the serial line and need to convert each line into
a string. So, save the bytes and at EOL, pass the whole mess to the
string constructor with the appropriate encoding info.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This lets the code read telemetry files from pre-released versions of
the software. Not strictly necessary for production, but useful for
analysing old files.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It was supposed to use record.tick instead of the (unset) state.tick
value.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Just adds a couple more fields to the CSV files that might be interesting.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds constructurs from AltosGPS pairs and also one from empty
args (which defines both distance and bearing as 0).
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This moves these shared functions to the global shared class.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We use replies in debug mode a lot and depend on them matching the
expected parameters. The case which caused trouble was using
TeleMetrum to reprogram TeleDongle -- sending the 'm 0' command (to
disable telemetry monitoring on TeleDongle) to the TeleMetrum caused
it to reply 'Syntax Error' which confused the subsequent flashing
operation. Flushing that reply gets things back in sync.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
USB serial number is encoded in UCS2 as a part of the string
descriptors. Place those right after the other rom config bits so that
altosui can find it. altosui is changed to write the serial number there.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The flash operation may be abandoned before it even starts; this makes
sure the UI doesn't flash up on the screen.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This creates a comma separated value file to export data for
external programs.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Move file opening logic into logfile chooser as it can be shared that way.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
This dialog will be shared with the CSV file generating code, so split
it out instead of duplicating it.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Altosui can now reprogram Altusmetrum devices.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
|
| | | |
|
| | | |
|