2023-04-08 13:18:36 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package meshtastic;
|
|
|
|
|
2023-05-20 09:29:34 +00:00
|
|
|
import "meshtastic/localonly.proto";
|
|
|
|
|
2023-04-08 13:18:36 +00:00
|
|
|
option csharp_namespace = "Meshtastic.Protobufs";
|
2023-05-20 09:29:34 +00:00
|
|
|
option go_package = "github.com/meshtastic/go/generated";
|
|
|
|
option java_outer_classname = "ClientOnlyProtos";
|
|
|
|
option java_package = "com.geeksville.mesh";
|
2023-04-08 13:18:36 +00:00
|
|
|
option swift_prefix = "";
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This abstraction is used to contain any configuration for provisioning a node on any client.
|
|
|
|
* It is useful for importing and exporting configurations.
|
|
|
|
*/
|
|
|
|
message DeviceProfile {
|
|
|
|
/*
|
|
|
|
* Long name for the node
|
|
|
|
*/
|
|
|
|
optional string long_name = 1;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Short name of the node
|
|
|
|
*/
|
|
|
|
optional string short_name = 2;
|
|
|
|
|
|
|
|
/*
|
2023-04-08 13:55:52 +00:00
|
|
|
* The url of the channels from our node
|
2023-04-08 13:18:36 +00:00
|
|
|
*/
|
2023-04-08 13:55:52 +00:00
|
|
|
optional string channel_url = 3;
|
2023-04-08 13:18:36 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The Config of the node
|
|
|
|
*/
|
|
|
|
optional LocalConfig config = 4;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The ModuleConfig of the node
|
|
|
|
*/
|
|
|
|
optional LocalModuleConfig module_config = 5;
|
2023-05-20 09:29:34 +00:00
|
|
|
}
|