+ private Message frequency_message() {
+ if (D) Log.d(TAG, String.format("frequency_message %f\n", mAltosBluetooth.frequency()));
+ return Message.obtain(null, AltosDroid.MSG_FREQUENCY, mAltosBluetooth.frequency());
+ }
+
+ private Message telemetry_rate_message() {
+ if (D) Log.d(TAG, String.format("telemetry_rate_message %d\n", mAltosBluetooth.telemetry_rate()));
+ return Message.obtain(null, AltosDroid.MSG_TELEMETRY_RATE, mAltosBluetooth.telemetry_rate());
+ }
+