/*
- * Copyright © 2011 Keith Packard <keithp@keithp.com>
- * Copyright © 2012 Mike Beattie <mike@ethernal.org>
+ * Copyright © 2011 Keith Packard <keithp@keithp.com>
+ * Copyright © 2012 Mike Beattie <mike@ethernal.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
input = null;
output = null;
AltosBluetooth.this.notifyAll();
+ handler.obtainMessage(TelemetryService.MSG_CONNECT_FAILED).sendToTarget();
if (D) Log.e(TAG, "ConnectThread: Failed to establish connection");
return;
}
private void connection_failed() {
if (D) Log.e(TAG, "Bluetooth Socket IO failed!");
+ handler.obtainMessage(TelemetryService.MSG_DISCONNECTED).sendToTarget();
}
public void print(String data) {