Skip to content

Commit c45c4eb

Browse files
authored
Merge pull request #2 from meshtastic/master
[pull] master from meshtastic:master
2 parents 589c1cc + 2edc5ab commit c45c4eb

5 files changed

Lines changed: 60 additions & 0 deletions

File tree

meshtastic/admin.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ message AdminMessage {
162162
* Traffic management module config
163163
*/
164164
TRAFFICMANAGEMENT_CONFIG = 14;
165+
166+
/*
167+
* TAK module config
168+
*/
169+
TAK_CONFIG = 15;
165170
}
166171

167172
enum BackupLocation {

meshtastic/config.proto

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,23 @@ message Config {
992992
LONG_TURBO = 9;
993993
}
994994

995+
enum FEM_LNA_Mode {
996+
/*
997+
* FEM_LNA is present but disabled
998+
*/
999+
DISABLED = 0;
1000+
1001+
/*
1002+
* FEM_LNA is present and enabled
1003+
*/
1004+
ENABLED = 1;
1005+
1006+
/*
1007+
* FEM_LNA is not present on the device
1008+
*/
1009+
NOT_PRESENT = 2;
1010+
}
1011+
9951012
/*
9961013
* When enabled, the `modem_preset` fields will be adhered to, else the `bandwidth`/`spread_factor`/`coding_rate`
9971014
* will be taked from their respective manually defined fields
@@ -1112,6 +1129,10 @@ message Config {
11121129
* Sets the ok_to_mqtt bit on outgoing packets
11131130
*/
11141131
bool config_ok_to_mqtt = 105;
1132+
/*
1133+
* Set where LORA FEM is enabled, disabled, or not present
1134+
*/
1135+
FEM_LNA_Mode fem_lna_mode = 106;
11151136
}
11161137

11171138
message BluetoothConfig {

meshtastic/localonly.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ message LocalModuleConfig {
141141
*/
142142
ModuleConfig.TrafficManagementConfig traffic_management = 16;
143143

144+
/*
145+
* TAK Config
146+
*/
147+
ModuleConfig.TAKConfig tak = 17;
148+
144149
/*
145150
* A version integer used to invalidate old save files when we make
146151
* incompatible changes This integer is set at build time and is private to

meshtastic/module_config.proto

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ syntax = "proto3";
22

33
package meshtastic;
44

5+
import "meshtastic/atak.proto";
6+
57
option csharp_namespace = "Meshtastic.Protobufs";
68
option go_package = "github.com/meshtastic/go/generated";
79
option java_outer_classname = "ModuleConfigProtos";
@@ -933,6 +935,27 @@ message ModuleConfig {
933935
* Traffic management module config for mesh network optimization
934936
*/
935937
TrafficManagementConfig traffic_management = 15;
938+
939+
/*
940+
* TAK team/role configuration for TAK_TRACKER
941+
*/
942+
TAKConfig tak = 16;
943+
}
944+
945+
/*
946+
* TAK team/role configuration
947+
*/
948+
message TAKConfig {
949+
/*
950+
* Team color.
951+
* Default Unspecifed_Color -> firmware uses Cyan
952+
*/
953+
Team team = 1;
954+
/*
955+
* Member role.
956+
* Default Unspecifed -> firmware uses TeamMember
957+
*/
958+
MemberRole role = 2;
936959
}
937960
}
938961

meshtastic/portnums.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ enum PortNum {
227227
*/
228228
POWERSTRESS_APP = 74;
229229

230+
/*
231+
* LoraWAN Payload Transport
232+
* ENCODING: compact binary LoRaWAN uplink (10-byte RF metadata + PHY payload) - see LoRaWANBridgeModule
233+
*/
234+
LORAWAN_BRIDGE = 75;
235+
230236
/*
231237
* Reticulum Network Stack Tunnel App
232238
* ENCODING: Fragmented RNS Packet. Handled by Meshtastic RNS interface

0 commit comments

Comments
 (0)