mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Missing protos for requests
This commit is contained in:
parent
5e255c01ed
commit
742152daeb
2 changed files with 31 additions and 0 deletions
|
|
@ -244,5 +244,10 @@ message AdminMessage {
|
|||
* Tell the node to factory reset, all device settings will be returned to factory defaults.
|
||||
*/
|
||||
int32 factory_reset = 99;
|
||||
|
||||
/*
|
||||
* Tell the node to reset the nodedb.
|
||||
*/
|
||||
int32 nodedb_reset = 100;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
26
config.proto
26
config.proto
|
|
@ -341,6 +341,22 @@ message Config {
|
|||
OSGR = 5;
|
||||
}
|
||||
|
||||
/*
|
||||
* Unit display preference
|
||||
*/
|
||||
enum DisplayUnits {
|
||||
|
||||
/*
|
||||
* Metric (Default)
|
||||
*/
|
||||
METRIC = 0;
|
||||
|
||||
/*
|
||||
* Imperial
|
||||
*/
|
||||
IMPERIAL = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Number of seconds the screen stays on after pressing the user button or receiving a message
|
||||
* 0 for default of one minute MAXUINT for always on
|
||||
|
|
@ -363,6 +379,16 @@ message Config {
|
|||
* (top of display is heading direction) is used.
|
||||
*/
|
||||
bool compass_north_top = 4;
|
||||
|
||||
/*
|
||||
* Flip screen vertically, for cases that mount the screen upside down
|
||||
*/
|
||||
bool flip_screen = 5;
|
||||
|
||||
/*
|
||||
* Perferred display units
|
||||
*/
|
||||
DisplayUnits units = 6;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue