mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #866 from niccellular/feature/tak-atak-config
enhancement: Add ATAKConfig for on-device TAK team/role config
This commit is contained in:
commit
f7f7c8d2e4
3 changed files with 33 additions and 0 deletions
|
|
@ -162,6 +162,11 @@ message AdminMessage {
|
|||
* Traffic management module config
|
||||
*/
|
||||
TRAFFICMANAGEMENT_CONFIG = 14;
|
||||
|
||||
/*
|
||||
* TAK module config
|
||||
*/
|
||||
TAK_CONFIG = 15;
|
||||
}
|
||||
|
||||
enum BackupLocation {
|
||||
|
|
|
|||
|
|
@ -141,6 +141,11 @@ message LocalModuleConfig {
|
|||
*/
|
||||
ModuleConfig.TrafficManagementConfig traffic_management = 16;
|
||||
|
||||
/*
|
||||
* TAK Config
|
||||
*/
|
||||
ModuleConfig.TAKConfig tak = 17;
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@ syntax = "proto3";
|
|||
|
||||
package meshtastic;
|
||||
|
||||
import "meshtastic/atak.proto";
|
||||
|
||||
option csharp_namespace = "Meshtastic.Protobufs";
|
||||
option go_package = "github.com/meshtastic/go/generated";
|
||||
option java_outer_classname = "ModuleConfigProtos";
|
||||
|
|
@ -933,6 +935,27 @@ message ModuleConfig {
|
|||
* Traffic management module config for mesh network optimization
|
||||
*/
|
||||
TrafficManagementConfig traffic_management = 15;
|
||||
|
||||
/*
|
||||
* TAK team/role configuration for TAK_TRACKER
|
||||
*/
|
||||
TAKConfig tak = 16;
|
||||
}
|
||||
|
||||
/*
|
||||
* TAK team/role configuration
|
||||
*/
|
||||
message TAKConfig {
|
||||
/*
|
||||
* Team color.
|
||||
* Default Unspecifed_Color -> firmware uses Cyan
|
||||
*/
|
||||
Team team = 1;
|
||||
/*
|
||||
* Member role.
|
||||
* Default Unspecifed -> firmware uses TeamMember
|
||||
*/
|
||||
MemberRole role = 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue