diff --git a/admin.proto b/admin.proto index 3dc9f21..87cf0e6 100644 --- a/admin.proto +++ b/admin.proto @@ -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; } } diff --git a/config.proto b/config.proto index 63fb0a4..4a024a9 100644 --- a/config.proto +++ b/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; } /*