diff --git a/meshtastic/deviceonly.proto b/meshtastic/deviceonly.proto index 4f6b9a9..864b4b1 100644 --- a/meshtastic/deviceonly.proto +++ b/meshtastic/deviceonly.proto @@ -7,6 +7,7 @@ import "meshtastic/localonly.proto"; import "meshtastic/mesh.proto"; import "meshtastic/telemetry.proto"; import "meshtastic/module_config.proto"; +import "meshtastic/config.proto"; option csharp_namespace = "Meshtastic.Protobufs"; option go_package = "github.com/meshtastic/go/generated"; @@ -116,6 +117,11 @@ message NodeInfoLite { * local channel index we heard that node on. Only populated if its not the default channel. */ uint32 channel = 7; + + /* + * Indicates that the device's role in the mesh + */ + Config.DeviceConfig.Role role = 8; } /* diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index e8eda53..4d7542c 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1046,6 +1046,11 @@ message NodeInfo { * local channel index we heard that node on. Only populated if its not the default channel. */ uint32 channel = 7; + + /* + * Indicates that the device's role in the mesh + */ + Config.DeviceConfig.Role role = 8; } /*