meshtastic-protobuf/localonly.proto

109 wiersze
2.6 KiB
Protocol Buffer
Czysty Zwykły widok Historia

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";
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
*/
Config.DeviceConfig device = 1;
/*
2022-06-15 14:40:22 +00:00
* The part of the config that is specific to the GPS Position
*/
Config.PositionConfig position = 2;
/*
2022-06-15 14:40:22 +00:00
* The part of the config that is specific to the Power settings
*/
Config.PowerConfig power = 3;
/*
2022-06-15 14:40:22 +00:00
* The part of the config that is specific to the Wifi Settings
*/
Config.NetworkConfig network = 4;
/*
2022-06-15 14:40:22 +00:00
* The part of the config that is specific to the Display
*/
Config.DisplayConfig display = 5;
/*
2022-06-15 14:40:22 +00:00
* The part of the config that is specific to the Lora Radio
*/
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;
}
message LocalModuleConfig {
/*
2022-06-15 14:40:22 +00:00
* The part of the config that is specific to the MQTT module
*/
ModuleConfig.MQTTConfig mqtt = 1;
/*
2022-06-15 14:40:22 +00:00
* The part of the config that is specific to the Serial module
*/
ModuleConfig.SerialConfig serial = 2;
/*
2022-06-15 14:40:22 +00:00
* The part of the config that is specific to the ExternalNotification module
*/
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
*/
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
*/
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
*/
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
*/
ModuleConfig.CannedMessageConfig canned_message = 7;
2022-06-15 14:40:22 +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;
}