summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altosdroid: Move bluetooth check to first taskMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: add rssi/serial/flight, and re-work UI orderingMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: rename ambiguous TextView nameMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: formatting/whitespace, correct idsMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: rework lat/lon to more common formatMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: rename azimuth/altitude to elevation/height respectively.Mike Beattie2012-08-30
| | | | | | (Matches altoslib, altosui, altos) Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: move units into code, to match altosuiMike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: initial attempt at a UI.Mike Beattie2012-08-30
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: update Makefile.am for source file changes.Mike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add Dumper class for testingMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: add timer to stop serviceMike Beattie2012-08-28
| | | | | | * Stops when no UI clients, and no bluetooth connection remains Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: do service start/bind/unbind in start/stop, not create/destroy.Mike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: move methods aroundMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: tidy up old messagesMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: stop sending device name, just send config dataMike Beattie2012-08-28
| | | | | | | | * 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>
* altosdroid: whitespaceMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: override add_reply() to add android based debuggingMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: more logical name for connection_lost() method.Mike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: rework ConnectThreadMike Beattie2012-08-28
| | | | | | | * Start input_thread after connection, otherwise it's painful to kill on connect failure. Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: fix a connection retry having a null pointerMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: fix double call of stopAltosBluetooth()Mike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Miscellaneous comments/debug/etc cleanupMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: miscellaneous cleanupMike Beattie2012-08-28
| | | | | | | | | * Copyright info * whitespace * comments * unused imports Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add passing of Device Config at connectMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add new "TelemetryReader" class to handle TelemetryMike Beattie2012-08-28
| | | | | | | | | | | | | * 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>
* altosdroid: create connected() methodMike Beattie2012-08-28
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Let a freshly connected client know what the device name is!Mike Beattie2012-08-27
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add Connected/Connect_failed messagesMike Beattie2012-08-27
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: don't need keys for Bundles anymoreMike Beattie2012-08-27
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Toast() requests don't need BundlesMike Beattie2012-08-27
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: really don't need to store a local copy of the device nameMike Beattie2012-08-27
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: remove complexity around message passingMike Beattie2012-08-27
| | | | | | | * 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>
* altosdroid: begin adding TextToSpeech support.Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: whitespace cleanupMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Send device name and connected state back to TelemetryServiceMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: re-work connect/thread handling in AltosBluetoothMike Beattie2012-08-26
| | | | | | | * Much more resilient to failure * handles multiple blocked threads better Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: remove old commented codeMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: add handling when restarting BT. delay start after stop.Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: set devicename and pass on to clientsMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Send current state to client on connectMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: add missing break; (just in case!)Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: debugging statementsMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: forgot change to IncomingHandler constructor call. oops!Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Strings and Layout changesMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: lots of debugging statementsMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: need sendMessageToClients() for setState().. oops!Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Need access to handler inside AltosBluetoothMike Beattie2012-08-26
| | | | | | * Also move add_monitor() call Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: reflect change in message nameMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: begin adding state supportMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: init device variable... oops!Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>