summaryrefslogtreecommitdiff
path: root/altosdroid/src
Commit message (Collapse)AuthorAge
...
* 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>
* altosdroid: Rename Connect message, add connected messageMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: init telem blocking list.. oops!Mike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: disable NotificationManager stuff for nowMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Convert handlers to use weakreferencesMike Beattie2012-08-26
| | | | | | * Also renamed bluetooth start/stop methods Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Remove Binder import from TelemetryServiceMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add State constants for future usageMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: begin adding IPC to TelemetryServiceMike Beattie2012-08-26
| | | | | | * And add imports for LinkedBlockingQueue... oops! Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: remove old Binder from TelemetryServiceMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: begin adding IPC to main threadMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add TBT initialisation to AltosBluetoothMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add debugging statements to AltosBluetoothMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Add input thread for reading from TBTMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: Move constructor for AltosBluetoothMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: clean up stub functions in AltosBluetooth.javaMike Beattie2012-08-26
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosdroid: AltosBluetooth.javaMike Beattie2012-08-26
| | | | | | * clean up variables/comments Signed-off-by: Mike Beattie <mike@ethernal.org>