-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #340 from meshtastic/clientonly
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*DeviceProfile.long_name max_size:40 | ||
*DeviceProfile.short_name max_size:5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
syntax = "proto3"; | ||
|
||
package meshtastic; | ||
|
||
option java_package = "com.geeksville.mesh"; | ||
option java_outer_classname = "ClientOnlyProtos"; | ||
option go_package = "github.com/meshtastic/go/generated"; | ||
option csharp_namespace = "Meshtastic.Protobufs"; | ||
option swift_prefix = ""; | ||
|
||
|
||
import "meshtastic/localonly.proto"; | ||
|
||
/* | ||
* 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; | ||
|
||
/* | ||
* The url of the channels from our node | ||
*/ | ||
optional string channel_url = 3; | ||
|
||
/* | ||
* The Config of the node | ||
*/ | ||
optional LocalConfig config = 4; | ||
|
||
/* | ||
* The ModuleConfig of the node | ||
*/ | ||
optional LocalModuleConfig module_config = 5; | ||
} |