mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Config
This commit is contained in:
parent
7c05adb802
commit
380f913d78
2 changed files with 61 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ package meshtastic;
|
|||
|
||||
option csharp_namespace = "Meshtastic.Protobufs";
|
||||
option go_package = "github.com/meshtastic/go/generated";
|
||||
option java_outer_classname = "CoTEventDescriptorProtos";
|
||||
option java_outer_classname = "CoTDescriptorProtos";
|
||||
option java_package = "com.geeksville.mesh";
|
||||
option swift_prefix = "";
|
||||
|
||||
|
|
@ -152,4 +152,46 @@ message Tasking {
|
|||
* TODO
|
||||
*/
|
||||
message Capability {
|
||||
}
|
||||
|
||||
/*
|
||||
* Role for EUD user
|
||||
*/
|
||||
enum Role {
|
||||
/*
|
||||
* Unspecifed
|
||||
*/
|
||||
Unspecifed = 0;
|
||||
/*
|
||||
* Team Member
|
||||
*/
|
||||
TeamMember = 1;
|
||||
/*
|
||||
* Team Lead
|
||||
*/
|
||||
TeamLead = 2;
|
||||
/*
|
||||
* Headquarters
|
||||
*/
|
||||
HQ = 3;
|
||||
/*
|
||||
* Airsoft enthusiast
|
||||
*/
|
||||
Sniper = 4;
|
||||
/*
|
||||
* Medic
|
||||
*/
|
||||
Medic = 5;
|
||||
/*
|
||||
* ForwardObserver
|
||||
*/
|
||||
ForwardObserver = 6;
|
||||
/*
|
||||
* Radio Telephone Operator
|
||||
*/
|
||||
RTO = 7;
|
||||
/*
|
||||
* Doggo
|
||||
*/
|
||||
K9 = 8;
|
||||
}
|
||||
|
|
@ -2,12 +2,15 @@ syntax = "proto3";
|
|||
|
||||
package meshtastic;
|
||||
|
||||
import "meshtastic/cot_descriptors.proto";
|
||||
|
||||
option csharp_namespace = "Meshtastic.Protobufs";
|
||||
option go_package = "github.com/meshtastic/go/generated";
|
||||
option java_outer_classname = "ModuleConfigProtos";
|
||||
option java_package = "com.geeksville.mesh";
|
||||
option swift_prefix = "";
|
||||
|
||||
|
||||
/*
|
||||
* Module Config
|
||||
*/
|
||||
|
|
@ -422,6 +425,16 @@ message ModuleConfig {
|
|||
uint32 air_quality_interval = 7;
|
||||
}
|
||||
|
||||
/*
|
||||
* Configuration for TAK team and CoT exchange
|
||||
*/
|
||||
message TakConfig {
|
||||
/*
|
||||
* Team role
|
||||
*/
|
||||
Role role = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
|
|
@ -582,6 +595,11 @@ message ModuleConfig {
|
|||
* TODO: REPLACE
|
||||
*/
|
||||
NeighborInfoConfig neighbor_info = 10;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
TakConfig tak = 11;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue