| 
									
										
										
										
											2022-05-30 13:35:01 +00:00
										 |  |  | syntax = "proto3";
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-17 11:03:10 +00:00
										 |  |  | package meshtastic;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import "meshtastic/config.proto";
 | 
					
						
							|  |  |  | import "meshtastic/module_config.proto";
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-20 09:29:34 +00:00
										 |  |  | option csharp_namespace = "Meshtastic.Protobufs";
 | 
					
						
							|  |  |  | option go_package = "github.com/meshtastic/go/generated";
 | 
					
						
							|  |  |  | option java_outer_classname = "LocalOnlyProtos";
 | 
					
						
							|  |  |  | option java_package = "com.geeksville.mesh";
 | 
					
						
							|  |  |  | option swift_prefix = "";
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-30 13:35:01 +00:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * 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;
 | 
					
						
							| 
									
										
										
										
											2024-08-07 02:01:46 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |   /*
 | 
					
						
							|  |  |  |    * The part of the config that is specific to Security settings
 | 
					
						
							|  |  |  |    */
 | 
					
						
							|  |  |  |   Config.SecurityConfig security = 9;
 | 
					
						
							| 
									
										
										
										
											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-12-28 22:27:51 +00:00
										 |  |  |   /*
 | 
					
						
							| 
									
										
										
										
											2022-12-29 13:14:23 +00:00
										 |  |  |    * The part of the config that is specific to the Remote Hardware module
 | 
					
						
							| 
									
										
										
										
											2022-12-28 22:27:51 +00:00
										 |  |  |    */
 | 
					
						
							|  |  |  |   ModuleConfig.RemoteHardwareConfig remote_hardware = 10;
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-31 10:15:41 +00:00
										 |  |  |   /*
 | 
					
						
							|  |  |  |    * The part of the config that is specific to the Neighbor Info module
 | 
					
						
							|  |  |  |    */
 | 
					
						
							|  |  |  |   ModuleConfig.NeighborInfoConfig neighbor_info = 11;
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-13 11:43:07 +00:00
										 |  |  |   /*
 | 
					
						
							| 
									
										
										
										
											2023-08-14 00:02:39 +00:00
										 |  |  |    * The part of the config that is specific to the Ambient Lighting module
 | 
					
						
							| 
									
										
										
										
											2023-08-13 11:43:07 +00:00
										 |  |  |    */
 | 
					
						
							| 
									
										
										
										
											2024-03-29 09:23:22 +00:00
										 |  |  |   ModuleConfig.AmbientLightingConfig ambient_lighting = 12;
 | 
					
						
							| 
									
										
										
										
											2023-08-13 11:43:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |   /*
 | 
					
						
							| 
									
										
										
										
											2023-08-13 13:10:24 +00:00
										 |  |  |    * The part of the config that is specific to the Detection Sensor module
 | 
					
						
							| 
									
										
										
										
											2023-08-13 11:43:07 +00:00
										 |  |  |    */
 | 
					
						
							| 
									
										
										
										
											2023-08-13 13:10:24 +00:00
										 |  |  |   ModuleConfig.DetectionSensorConfig detection_sensor = 13;
 | 
					
						
							| 
									
										
										
										
											2023-08-13 11:43:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-17 13:36:48 +00:00
										 |  |  |   /*
 | 
					
						
							|  |  |  |    * Paxcounter Config
 | 
					
						
							|  |  |  |    */
 | 
					
						
							|  |  |  |   ModuleConfig.PaxcounterConfig paxcounter = 14;
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											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;
 | 
					
						
							| 
									
										
										
										
											2024-03-29 09:23:22 +00:00
										 |  |  | }
 |