Missing protos for requests

This commit is contained in:
Sacha Weatherstone 2022-09-12 00:08:19 +10:00
parent 5e255c01ed
commit 742152daeb
No known key found for this signature in database
GPG key ID: 7AB2D7E206124B31
2 changed files with 31 additions and 0 deletions

View file

@ -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;
}
}

View file

@ -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;
}
/*