2022-05-30 13:35:01 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option java_package = "com.geeksville.mesh";
|
|
|
|
option optimize_for = LITE_RUNTIME;
|
2022-10-19 07:03:17 +00:00
|
|
|
option go_package = "github.com/meshtastic/go/generated";
|
2022-05-30 13:35:01 +00:00
|
|
|
|
|
|
|
import "config.proto";
|
|
|
|
import "module_config.proto";
|
|
|
|
|
|
|
|
option java_outer_classname = "LocalOnlyProtos";
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Protobuf structures common to apponly.proto and deviceonly.proto
|
|
|
|
* This is never sent over the wire, only for local use
|
|
|
|
*/
|
|
|
|
|
|
|
|
message LocalConfig {
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Device
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
Config.DeviceConfig device = 1;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the GPS Position
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
Config.PositionConfig position = 2;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Power settings
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
Config.PowerConfig power = 3;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Wifi Settings
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
2022-09-09 08:51:11 +00:00
|
|
|
Config.NetworkConfig network = 4;
|
2022-05-30 13:35:01 +00:00
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Display
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
Config.DisplayConfig display = 5;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Lora Radio
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
Config.LoRaConfig lora = 6;
|
2022-06-15 14:40:22 +00:00
|
|
|
|
2022-08-15 20:09:02 +00:00
|
|
|
/*
|
|
|
|
* The part of the config that is specific to the Bluetooth settings
|
|
|
|
*/
|
|
|
|
Config.BluetoothConfig bluetooth = 7;
|
|
|
|
|
2022-06-15 14:40:22 +00:00
|
|
|
/*
|
|
|
|
* A version integer used to invalidate old save files when we make
|
|
|
|
* incompatible changes This integer is set at build time and is private to
|
|
|
|
* NodeDB.cpp in the device code.
|
|
|
|
*/
|
2022-08-15 20:09:02 +00:00
|
|
|
uint32 version = 8;
|
2022-05-30 13:35:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message LocalModuleConfig {
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the MQTT module
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
ModuleConfig.MQTTConfig mqtt = 1;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Serial module
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
ModuleConfig.SerialConfig serial = 2;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the ExternalNotification module
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
ModuleConfig.ExternalNotificationConfig external_notification = 3;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Store & Forward module
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
ModuleConfig.StoreForwardConfig store_forward = 4;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the RangeTest module
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
ModuleConfig.RangeTestConfig range_test = 5;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Telemetry module
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
ModuleConfig.TelemetryConfig telemetry = 6;
|
|
|
|
|
|
|
|
/*
|
2022-06-15 14:40:22 +00:00
|
|
|
* The part of the config that is specific to the Canned Message module
|
2022-05-30 13:35:01 +00:00
|
|
|
*/
|
|
|
|
ModuleConfig.CannedMessageConfig canned_message = 7;
|
2022-06-15 14:40:22 +00:00
|
|
|
|
2022-11-02 12:46:35 +00:00
|
|
|
/*
|
|
|
|
* The part of the config that is specific to the Audio module
|
|
|
|
*/
|
|
|
|
ModuleConfig.AudioConfig audio = 9;
|
|
|
|
|
2022-06-15 14:40:22 +00:00
|
|
|
/*
|
|
|
|
* A version integer used to invalidate old save files when we make
|
|
|
|
* incompatible changes This integer is set at build time and is private to
|
|
|
|
* NodeDB.cpp in the device code.
|
|
|
|
*/
|
|
|
|
uint32 version = 8;
|
2022-05-30 13:35:01 +00:00
|
|
|
}
|