mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #149 from meshtastic/LocalConfig
Define a new object to hold all of our nested config.
This commit is contained in:
commit
30584d8498
2 changed files with 33 additions and 6 deletions
|
|
@ -144,7 +144,7 @@ message Config {
|
|||
uint32 position_broadcast_secs = 1;
|
||||
|
||||
/*
|
||||
* We should send our position this often (but only if it has changed significantly)
|
||||
* Disable adaptive position braoadcast, which is now the default.
|
||||
*/
|
||||
bool position_broadcast_smart_disabled = 2;
|
||||
|
||||
|
|
@ -155,11 +155,6 @@ message Config {
|
|||
*/
|
||||
bool fixed_position = 3;
|
||||
|
||||
/*
|
||||
* Should we disbale location sharing with other nodes (or the local phone)
|
||||
*/
|
||||
bool location_share_disabled = 4;
|
||||
|
||||
/*
|
||||
* Should the GPS be disabled for this node?
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ option optimize_for = LITE_RUNTIME;
|
|||
option go_package = "github.com/meshtastic/gomeshproto";
|
||||
|
||||
import "channel.proto";
|
||||
import "config.proto";
|
||||
import "mesh.proto";
|
||||
|
||||
option java_outer_classname = "DeviceOnly";
|
||||
|
|
@ -135,3 +136,34 @@ message OEMStore {
|
|||
string oem_text = 5;
|
||||
}
|
||||
|
||||
message LocalConfig {
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
Config.DeviceConfig device = 1;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
Config.PositionConfig position = 2;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
Config.PowerConfig power = 3;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
Config.WiFiConfig wifi = 4;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
Config.DisplayConfig display = 5;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
Config.LoRaConfig lora = 6;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue