From b8c0499f28f9673d1df17d04da562e30703f01cb Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Thu, 18 Mar 2021 19:08:37 +0800 Subject: [PATCH] add exit_simulator admin command --- admin.proto | 5 +++++ docs/docs.md | 1 + 2 files changed, 6 insertions(+) diff --git a/admin.proto b/admin.proto index 4ae4a1d..c831b3a 100644 --- a/admin.proto +++ b/admin.proto @@ -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; } } \ No newline at end of file diff --git a/docs/docs.md b/docs/docs.md index 8ff61ce..1d14e0d 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -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/ |