add admin.reboot_seconds message

pull/19/head
Kevin Hester 2021-03-27 10:04:22 +08:00
rodzic 0fc3437573
commit f9c4f87581
2 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -60,5 +60,9 @@ message AdminMessage {
* simulator will exit successfully/
*/
bool exit_simulator = 34;
/** Tell the node to reboot in this many seconds (or <0 to cancel reboot)
*/
int32 reboot_seconds = 35;
}
}

Wyświetl plik

@ -95,6 +95,7 @@ is used to do settings operations to both remote AND local nodes.
| 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/ |
| reboot_seconds | [int32](#int32) | | Tell the node to reboot in this many seconds (or &lt;0 to cancel reboot) |