add exit_simulator admin command

pull/18/head
Kevin Hester 2021-03-18 19:08:37 +08:00
rodzic 39bb8b26bb
commit b8c0499f28
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -55,5 +55,10 @@ message AdminMessage {
*/
bool confirm_set_channel = 32;
bool confirm_set_radio = 33;
/* This message is only supported for the simulator porduino build. If received the
* simulator will exit successfully/
*/
bool exit_simulator = 34;
}
}

Wyświetl plik

@ -94,6 +94,7 @@ is used to do settings operations to both remote AND local nodes.
| get_channel_response | [Channel](#Channel) | | |
| confirm_set_channel | [bool](#bool) | | Setting channels/radio config remotely carries the risk that you might send an invalid config and the radio never talks to your mesh again. Therefore if setting either of these properties remotely, you must send a confirm_xxx message within 10 minutes. If you fail to do so, the radio will assume loss of comms and revert your changes. These messages are optional when changing the local node. |
| confirm_set_radio | [bool](#bool) | | |
| exit_simulator | [bool](#bool) | | This message is only supported for the simulator porduino build. If received the simulator will exit successfully/ |