+ public void sendTelemetry(AltosState state) {
+ last_state = state;
+ mHandler.obtainMessage(MSG_TELEMETRY, state).sendToTarget();
+ }
+
+ public void sendLocation(Location location) {
+ last_location = location;
+ mHandler.obtainMessage(MSG_LOCATION, location).sendToTarget();
+ }
+
+ public void sendCrcErrors(int crc_errors) {
+ last_crc_errors = crc_errors;
+ mHandler.obtainMessage(MSG_CRC_ERROR, new Integer(crc_errors)).sendToTarget();
+ }
+