altos: Complete new telemetry switchover
authorKeith Packard <keithp@keithp.com>
Tue, 5 Jul 2011 06:39:21 +0000 (23:39 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 5 Jul 2011 06:39:21 +0000 (23:39 -0700)
commitef3ce687d73c1274ce5368432f4d449b063ce5c0
tree5b5688d72cc3256bd75dd0db813aa4b8dee87bef
parent359681f23e2f71bc8f4975a4a76ae28c08ecab2e
altos: Complete new telemetry switchover

This involved rewriting the GPS code to use the telemetry structures
directly so that a memcpy could be used to transfer the data to the
telemetry packets, saving a bunch of code space, along with fixing up
the gps testing programs to deal with the structure changes.

In addition, the teledongle code needed to have the monitoring code
split into separate radio receiver and USB writer threads as the
packets are now back-to-back, and hence come too fast to wait for the
USB data to be sent to the host after each one.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao.h
src/ao_gps_print.c
src/ao_gps_report.c
src/ao_gps_sirf.c
src/ao_gps_skytraq.c
src/ao_gps_test.c
src/ao_gps_test_skytraq.c
src/ao_monitor.c
src/ao_telemetry.c