Skip to content

Commit

Permalink
add admin.reboot_seconds message
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksville committed Mar 27, 2021
1 parent 0fc3437 commit f9c4f87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions admin.proto
Expand Up @@ -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;
}
}
1 change: 1 addition & 0 deletions docs/docs.md
Expand Up @@ -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) |



Expand Down

1 comment on commit f9c4f87

@geeksville
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Meshtastic. There might be relevant details there:

https://meshtastic.discourse.group/t/meshtastic-cli-function-to-reboot/2976/9

Please sign in to comment.