[Simulator][TelemetrySimulator] Add persistent option to enable simulation when window is opened; Add option to pause simulation on window hide (was always true); Add option to set RSSI=0 on simulation pause to trigger “telemetry lost” alarm.

This commit is contained in:
Max Paperno
2018-07-06 14:03:41 -04:00
parent 5dd365238e
commit 23aaee9ecf
4 changed files with 431 additions and 367 deletions
+3
View File
@@ -383,6 +383,9 @@ class Profile: public CompStoreObj
// Simulator variables
PROPERTY(SimulatorOptions, simulatorOptions, SimulatorOptions())
PROPERTY(bool, telemSimEnabled, false)
PROPERTY(bool, telemSimPauseOnHide, true)
PROPERTY(bool, telemSimResetRssiOnStop, false)
// Firmware Variables
PROPERTYSTR2(beeper, "Beeper")