fw/altos
9 years agoaltosdroid: Implement voice just like altosui
Mike Beattie [Thu, 30 Aug 2012 09:08:41 +0000 (21:08 +1200)]
altosdroid: Implement voice just like altosui

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Move bluetooth check to first task
Mike Beattie [Thu, 30 Aug 2012 09:08:06 +0000 (21:08 +1200)]
altosdroid: Move bluetooth check to first task

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: add rssi/serial/flight, and re-work UI ordering
Mike Beattie [Thu, 30 Aug 2012 01:23:29 +0000 (13:23 +1200)]
altosdroid: add rssi/serial/flight, and re-work UI ordering

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: rename ambiguous TextView name
Mike Beattie [Thu, 30 Aug 2012 01:23:04 +0000 (13:23 +1200)]
altosdroid: rename ambiguous TextView name

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: formatting/whitespace, correct ids
Mike Beattie [Thu, 30 Aug 2012 01:21:38 +0000 (13:21 +1200)]
altosdroid: formatting/whitespace, correct ids

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: rework lat/lon to more common format
Mike Beattie [Thu, 30 Aug 2012 01:20:10 +0000 (13:20 +1200)]
altosdroid: rework lat/lon to more common format

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: rename azimuth/altitude to elevation/height respectively.
Mike Beattie [Thu, 30 Aug 2012 01:19:41 +0000 (13:19 +1200)]
altosdroid: rename azimuth/altitude to elevation/height respectively.

(Matches altoslib, altosui, altos)

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: move units into code, to match altosui
Mike Beattie [Thu, 30 Aug 2012 01:13:20 +0000 (13:13 +1200)]
altosdroid: move units into code, to match altosui

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: initial attempt at a UI.
Mike Beattie [Wed, 29 Aug 2012 13:01:06 +0000 (01:01 +1200)]
altosdroid: initial attempt at a UI.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: update Makefile.am for source file changes.
Mike Beattie [Tue, 28 Aug 2012 11:20:04 +0000 (23:20 +1200)]
altosdroid: update Makefile.am for source file changes.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add Dumper class for testing
Mike Beattie [Tue, 28 Aug 2012 10:26:12 +0000 (22:26 +1200)]
altosdroid: Add Dumper class for testing

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: add timer to stop service
Mike Beattie [Tue, 28 Aug 2012 10:10:26 +0000 (22:10 +1200)]
altosdroid: add timer to stop service

* Stops when no UI clients, and no bluetooth connection remains

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: do service start/bind/unbind in start/stop, not create/destroy.
Mike Beattie [Tue, 28 Aug 2012 10:09:34 +0000 (22:09 +1200)]
altosdroid: do service start/bind/unbind in start/stop, not create/destroy.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: move methods around
Mike Beattie [Tue, 28 Aug 2012 10:08:49 +0000 (22:08 +1200)]
altosdroid: move methods around

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: tidy up old messages
Mike Beattie [Tue, 28 Aug 2012 10:08:19 +0000 (22:08 +1200)]
altosdroid: tidy up old messages

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: stop sending device name, just send config data
Mike Beattie [Tue, 28 Aug 2012 10:07:39 +0000 (22:07 +1200)]
altosdroid: stop sending device name, just send config data

* Kinda complicated, but ultimately more sensible
* Just send the config data as an arg to MSG_CONNECTED
* keep retrying connection till we actually get config data

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: whitespace
Mike Beattie [Tue, 28 Aug 2012 10:00:14 +0000 (22:00 +1200)]
altosdroid: whitespace

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: override add_reply() to add android based debugging
Mike Beattie [Tue, 28 Aug 2012 09:59:40 +0000 (21:59 +1200)]
altosdroid: override add_reply() to add android based debugging

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: more logical name for connection_lost() method.
Mike Beattie [Tue, 28 Aug 2012 09:59:15 +0000 (21:59 +1200)]
altosdroid: more logical name for connection_lost() method.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: rework ConnectThread
Mike Beattie [Tue, 28 Aug 2012 09:58:47 +0000 (21:58 +1200)]
altosdroid: rework ConnectThread

* Start input_thread after connection, otherwise it's painful to kill
  on connect failure.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: fix a connection retry having a null pointer
Mike Beattie [Tue, 28 Aug 2012 09:55:40 +0000 (21:55 +1200)]
altosdroid: fix a connection retry having a null pointer

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: fix double call of stopAltosBluetooth()
Mike Beattie [Tue, 28 Aug 2012 09:54:05 +0000 (21:54 +1200)]
altosdroid: fix double call of stopAltosBluetooth()

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Miscellaneous comments/debug/etc cleanup
Mike Beattie [Tue, 28 Aug 2012 09:53:01 +0000 (21:53 +1200)]
altosdroid: Miscellaneous comments/debug/etc cleanup

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: miscellaneous cleanup
Mike Beattie [Tue, 28 Aug 2012 05:37:45 +0000 (17:37 +1200)]
altosdroid: miscellaneous cleanup

* Copyright info
* whitespace
* comments
* unused imports

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add passing of Device Config at connect
Mike Beattie [Tue, 28 Aug 2012 05:36:41 +0000 (17:36 +1200)]
altosdroid: Add passing of Device Config at connect

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add new "TelemetryReader" class to handle Telemetry
Mike Beattie [Tue, 28 Aug 2012 05:35:11 +0000 (17:35 +1200)]
altosdroid: Add new "TelemetryReader" class to handle Telemetry

* Add MSG_TELEMETRY messages to both AltosDroid and TelemetryService
  to handle passing of AltosState object all the way back to the UI.
* Remove linkedblockinglist from TelemetryService
* (MSG_TELEMETRY is a rename of MSG_INCOMING_TELEM in AltosDroid)
* commented code in case statement inside AltosDroind - won't work with
  the objects it is currently passed.
* Add new "MSG_DEVCONFIG" message to AltosDroid - allows TelemetryService
  to pass information about the connected device back to the UI.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: create connected() method
Mike Beattie [Tue, 28 Aug 2012 05:26:09 +0000 (17:26 +1200)]
altosdroid: create connected() method

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Let a freshly connected client know what the device name is!
Mike Beattie [Mon, 27 Aug 2012 07:41:47 +0000 (19:41 +1200)]
altosdroid: Let a freshly connected client know what the device name is!

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add Connected/Connect_failed messages
Mike Beattie [Mon, 27 Aug 2012 07:41:29 +0000 (19:41 +1200)]
altosdroid: Add Connected/Connect_failed messages

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: don't need keys for Bundles anymore
Mike Beattie [Mon, 27 Aug 2012 07:40:30 +0000 (19:40 +1200)]
altosdroid: don't need keys for Bundles anymore

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Toast() requests don't need Bundles
Mike Beattie [Mon, 27 Aug 2012 07:39:53 +0000 (19:39 +1200)]
altosdroid: Toast() requests don't need Bundles

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: really don't need to store a local copy of the device name
Mike Beattie [Mon, 27 Aug 2012 07:39:09 +0000 (19:39 +1200)]
altosdroid: really don't need to store a local copy of the device name

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: remove complexity around message passing
Mike Beattie [Mon, 27 Aug 2012 07:37:16 +0000 (19:37 +1200)]
altosdroid: remove complexity around message passing

* Don't really need to use bundles
* TelemetryService: Use a local variable to store the bluetooth device object

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: begin adding TextToSpeech support.
Mike Beattie [Sun, 26 Aug 2012 11:38:33 +0000 (23:38 +1200)]
altosdroid: begin adding TextToSpeech support.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: whitespace cleanup
Mike Beattie [Sun, 26 Aug 2012 11:38:10 +0000 (23:38 +1200)]
altosdroid: whitespace cleanup

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Send device name and connected state back to TelemetryService
Mike Beattie [Sun, 26 Aug 2012 11:37:58 +0000 (23:37 +1200)]
altosdroid: Send device name and connected state back to TelemetryService

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: re-work connect/thread handling in AltosBluetooth
Mike Beattie [Sun, 26 Aug 2012 11:37:33 +0000 (23:37 +1200)]
altosdroid: re-work connect/thread handling in AltosBluetooth

* Much more resilient to failure
* handles multiple blocked threads better

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: remove old commented code
Mike Beattie [Sun, 26 Aug 2012 11:34:59 +0000 (23:34 +1200)]
altosdroid: remove old commented code

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: add handling when restarting BT. delay start after stop.
Mike Beattie [Sun, 26 Aug 2012 11:34:45 +0000 (23:34 +1200)]
altosdroid: add handling when restarting BT. delay start after stop.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: set devicename and pass on to clients
Mike Beattie [Sun, 26 Aug 2012 11:34:28 +0000 (23:34 +1200)]
altosdroid: set devicename and pass on to clients

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Send current state to client on connect
Mike Beattie [Sun, 26 Aug 2012 11:30:45 +0000 (23:30 +1200)]
altosdroid: Send current state to client on connect

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: add missing break; (just in case!)
Mike Beattie [Sun, 26 Aug 2012 11:30:00 +0000 (23:30 +1200)]
altosdroid: add missing break; (just in case!)

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: debugging statements
Mike Beattie [Sun, 26 Aug 2012 11:29:25 +0000 (23:29 +1200)]
altosdroid: debugging statements

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: forgot change to IncomingHandler constructor call. oops!
Mike Beattie [Sun, 26 Aug 2012 11:28:59 +0000 (23:28 +1200)]
altosdroid: forgot change to IncomingHandler constructor call. oops!

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Strings and Layout changes
Mike Beattie [Sun, 26 Aug 2012 11:28:26 +0000 (23:28 +1200)]
altosdroid: Strings and Layout changes

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: lots of debugging statements
Mike Beattie [Sun, 26 Aug 2012 11:26:58 +0000 (23:26 +1200)]
altosdroid: lots of debugging statements

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: need sendMessageToClients() for setState().. oops!
Mike Beattie [Sun, 26 Aug 2012 11:24:13 +0000 (23:24 +1200)]
altosdroid: need sendMessageToClients() for setState().. oops!

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Need access to handler inside AltosBluetooth
Mike Beattie [Sun, 26 Aug 2012 11:23:33 +0000 (23:23 +1200)]
altosdroid: Need access to handler inside AltosBluetooth

* Also move add_monitor() call

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: reflect change in message name
Mike Beattie [Sun, 26 Aug 2012 11:20:01 +0000 (23:20 +1200)]
altosdroid: reflect change in message name

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: begin adding state support
Mike Beattie [Sun, 26 Aug 2012 11:19:06 +0000 (23:19 +1200)]
altosdroid: begin adding state support

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: init device variable... oops!
Mike Beattie [Sun, 26 Aug 2012 11:16:49 +0000 (23:16 +1200)]
altosdroid: init device variable... oops!

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Rename Connect message, add connected message
Mike Beattie [Sun, 26 Aug 2012 11:16:04 +0000 (23:16 +1200)]
altosdroid: Rename Connect message, add connected message

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: init telem blocking list.. oops!
Mike Beattie [Sun, 26 Aug 2012 11:14:09 +0000 (23:14 +1200)]
altosdroid: init telem blocking list.. oops!

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: disable NotificationManager stuff for now
Mike Beattie [Sun, 26 Aug 2012 11:13:33 +0000 (23:13 +1200)]
altosdroid: disable NotificationManager stuff for now

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Convert handlers to use weakreferences
Mike Beattie [Sun, 26 Aug 2012 11:12:48 +0000 (23:12 +1200)]
altosdroid: Convert handlers to use weakreferences

* Also renamed bluetooth start/stop methods

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Remove Binder import from TelemetryService
Mike Beattie [Sun, 26 Aug 2012 03:28:58 +0000 (15:28 +1200)]
altosdroid: Remove Binder import from TelemetryService

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add State constants for future usage
Mike Beattie [Sun, 26 Aug 2012 03:28:36 +0000 (15:28 +1200)]
altosdroid: Add State constants for future usage

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: begin adding IPC to TelemetryService
Mike Beattie [Sun, 26 Aug 2012 03:28:09 +0000 (15:28 +1200)]
altosdroid: begin adding IPC to TelemetryService

* And add imports for LinkedBlockingQueue... oops!

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: remove old Binder from TelemetryService
Mike Beattie [Sun, 26 Aug 2012 03:24:19 +0000 (15:24 +1200)]
altosdroid: remove old Binder from TelemetryService

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: begin adding IPC to main thread
Mike Beattie [Sun, 26 Aug 2012 03:23:17 +0000 (15:23 +1200)]
altosdroid: begin adding IPC to main thread

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add TBT initialisation to AltosBluetooth
Mike Beattie [Sun, 26 Aug 2012 03:22:23 +0000 (15:22 +1200)]
altosdroid: Add TBT initialisation to AltosBluetooth

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add debugging statements to AltosBluetooth
Mike Beattie [Sun, 26 Aug 2012 03:21:57 +0000 (15:21 +1200)]
altosdroid: Add debugging statements to AltosBluetooth

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add input thread for reading from TBT
Mike Beattie [Sun, 26 Aug 2012 03:21:36 +0000 (15:21 +1200)]
altosdroid: Add input thread for reading from TBT

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Move constructor for AltosBluetooth
Mike Beattie [Sun, 26 Aug 2012 03:20:42 +0000 (15:20 +1200)]
altosdroid: Move constructor for AltosBluetooth

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: clean up stub functions in AltosBluetooth.java
Mike Beattie [Sun, 26 Aug 2012 03:18:44 +0000 (15:18 +1200)]
altosdroid: clean up stub functions in AltosBluetooth.java

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: AltosBluetooth.java
Mike Beattie [Sun, 26 Aug 2012 03:11:12 +0000 (15:11 +1200)]
altosdroid: AltosBluetooth.java

* clean up variables/comments

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: AltosBluetooth.java
Mike Beattie [Sun, 26 Aug 2012 03:10:15 +0000 (15:10 +1200)]
altosdroid: AltosBluetooth.java

* Clean up imports
* Convert from reflection to using Well Known UUID for SPP.
* clean up local variables
* Add debug conditionals to logging
* remove references to socket type

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Clean up imports in TelemetryService
Mike Beattie [Sun, 26 Aug 2012 03:03:54 +0000 (15:03 +1200)]
altosdroid: Clean up imports in TelemetryService

* Begin adding AltosLib usage

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Add service start/bind/unbind to AltosDroid
Mike Beattie [Sun, 26 Aug 2012 03:00:23 +0000 (15:00 +1200)]
altosdroid: Add service start/bind/unbind to AltosDroid

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Remove AltosLib import from main thread
Mike Beattie [Sun, 26 Aug 2012 02:57:04 +0000 (14:57 +1200)]
altosdroid: Remove AltosLib import from main thread

9 years agoaltosdroid: whitespace
Mike Beattie [Sun, 26 Aug 2012 02:55:19 +0000 (14:55 +1200)]
altosdroid: whitespace

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Re-locate TextView initialisation
Mike Beattie [Sun, 26 Aug 2012 02:54:54 +0000 (14:54 +1200)]
altosdroid: Re-locate TextView initialisation

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: remove UI components/imports no longer used
Mike Beattie [Sun, 26 Aug 2012 02:54:06 +0000 (14:54 +1200)]
altosdroid: remove UI components/imports no longer used

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: excise BluetoothChatService example code
Mike Beattie [Sun, 26 Aug 2012 02:52:30 +0000 (14:52 +1200)]
altosdroid: excise BluetoothChatService example code

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: remove TelemetryService activities
Mike Beattie [Sun, 26 Aug 2012 02:48:48 +0000 (14:48 +1200)]
altosdroid: remove TelemetryService activities

service start/stop will be handled by AltosDroid/itself now.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: whitespace (spaces to tabs) (part2)
Mike Beattie [Sun, 26 Aug 2012 02:44:09 +0000 (14:44 +1200)]
altosdroid: whitespace (spaces to tabs) (part2)

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: whitespace (spaces to tabs) (part1)
Mike Beattie [Sun, 26 Aug 2012 02:29:36 +0000 (14:29 +1200)]
altosdroid: whitespace (spaces to tabs) (part1)

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoaltosdroid: Update copyrights
Mike Beattie [Sun, 26 Aug 2012 00:41:24 +0000 (12:41 +1200)]
altosdroid: Update copyrights

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoAdjust service to be persistent.
Mike Beattie [Sun, 26 Feb 2012 09:30:09 +0000 (22:30 +1300)]
Adjust service to be persistent.

* Run as a foreground service -> high priority
* Notification set to display as "Ongoing".

Changed logo to be in colour at keithp's request. Greyscale logos still present as *_g.png

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoReduce size of textview.
Mike Beattie [Thu, 2 Aug 2012 11:38:26 +0000 (23:38 +1200)]
Reduce size of textview.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoAltosDroid: Begin re-working Bluetooth code
Mike Beattie [Thu, 2 Aug 2012 10:09:24 +0000 (22:09 +1200)]
AltosDroid: Begin re-working Bluetooth code

* Move to using explicit 'magic' UUID, rather than java reflection
* Re-work UI to make it more useful for testing
* Use Insecure RFCOMM only, and remove code that differentiates.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoFix min/target SDK versions
Mike Beattie [Thu, 2 Aug 2012 09:20:23 +0000 (21:20 +1200)]
Fix min/target SDK versions

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoMerge branch 'master' of ssh://mjb@git.ethernal.org/~/git/altos
Mike Beattie [Thu, 2 Aug 2012 09:18:15 +0000 (21:18 +1200)]
Merge branch 'master' of ssh://mjb@git.ethernal.org/~/git/altos

9 years agoRe-work external lib support for newer Android SDK
Mike Beattie [Thu, 2 Aug 2012 09:16:54 +0000 (21:16 +1200)]
Re-work external lib support for newer Android SDK

* Remove older *.properties methods of locating lib dir
* clean up Eclipse classpath file
* adjust Makefile.am to link AltosLib.jar into libs/

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoIgnore autogenerated file: altosui/Info.plist
Mike Beattie [Tue, 31 Jul 2012 08:05:35 +0000 (20:05 +1200)]
Ignore autogenerated file: altosui/Info.plist

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoDon't build ao-stmload if stlink is not available.
Mike Beattie [Tue, 31 Jul 2012 08:04:34 +0000 (20:04 +1200)]
Don't build ao-stmload if stlink is not available.

Signed-off-by: Mike Beattie <mike@ethernal.org>
9 years agoAdd ability to re-play telemetry through TeleDongle
Keith Packard [Sun, 29 Jul 2012 23:22:23 +0000 (16:22 -0700)]
Add ability to re-play telemetry through TeleDongle

This adds a new command to TeleDongle to send arbitrary data, and then
creates a new tool, 'ao-send-telem' that replays existing telemetry
files through TeleDongle.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Move ao_radio_cmac.c to core (it doesn't depend on hardware)
Keith Packard [Sun, 22 Jul 2012 22:18:27 +0000 (15:18 -0700)]
altos: Move ao_radio_cmac.c to core (it doesn't depend on hardware)

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Move AltosIgnite.java to altoslib
Keith Packard [Sun, 22 Jul 2012 18:53:44 +0000 (11:53 -0700)]
altosui: Move AltosIgnite.java to altoslib

To be shared with altosdroid eventually

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agotools: Use pkgconfig to find stlink for ao-stmload
Keith Packard [Fri, 20 Jul 2012 19:04:17 +0000 (12:04 -0700)]
tools: Use pkgconfig to find stlink for ao-stmload

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd stlink pinout
Keith Packard [Fri, 20 Jul 2012 18:08:22 +0000 (11:08 -0700)]
Add stlink pinout

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Delay starting KML output for flight and GPS coords
Keith Packard [Thu, 19 Jul 2012 16:46:20 +0000 (09:46 -0700)]
altosui: Delay starting KML output for flight and GPS coords

Don't start outputing KML data until the telem record containing
flight number and GPS coordinates are present.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agotelescience: correctly calculating rate values with higher resolution
Robert Garbee [Thu, 19 Jul 2012 00:41:00 +0000 (18:41 -0600)]
telescience: correctly calculating rate values with higher resolution

9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Robert Garbee [Wed, 18 Jul 2012 20:25:27 +0000 (14:25 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agoICP3 working
Robert Garbee [Wed, 18 Jul 2012 20:24:05 +0000 (14:24 -0600)]
ICP3 working

9 years agoTimer 3 working with slower clock and all 16 bits.
Robert Garbee [Wed, 18 Jul 2012 19:41:27 +0000 (13:41 -0600)]
Timer 3 working with slower clock and all 16 bits.

9 years agoaltosdroid: Start adding an AltosLink subclass for android
Keith Packard [Wed, 18 Jul 2012 07:03:54 +0000 (00:03 -0700)]
altosdroid: Start adding an AltosLink subclass for android

Will talks over bluetooth while providing an AltosLink APi

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Make scan UI handle incremental telem data
Keith Packard [Wed, 18 Jul 2012 07:01:51 +0000 (00:01 -0700)]
altosui: Make scan UI handle incremental telem data

The new telem format doesn't send everything in each telem packet, so
we need to handle updating information incrementally in the scan
results. This involved clearing old scan data when switching
frequencies and then updating existing entries with new data as it arrives.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Toggling telemetry monitoring would replay the telem queue
Keith Packard [Wed, 18 Jul 2012 06:59:13 +0000 (23:59 -0700)]
altos: Toggling telemetry monitoring would replay the telem queue

Using the 'm' command to turn telem off and back on would end up going
around the whole telemetry queue replaying everything there as the
wait loop would exit when disabling monitoring even if the ring was empty.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: With debug cables disconnected, CC1120 seems happy at +16dBm
Keith Packard [Wed, 18 Jul 2012 04:06:07 +0000 (21:06 -0700)]
altos: With debug cables disconnected, CC1120 seems happy at +16dBm

Let's see how it goes...

Signed-off-by: Keith Packard <keithp@keithp.com>