Merge pull request #406 from meshtastic/revert-405-add-role-nodeinfo

Revert "Add role to NodeInfo/Lite"
This commit is contained in:
Ben Meadors 2023-11-26 15:14:10 -06:00 committed by GitHub
commit 9148427a3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 11 deletions

View file

@ -7,7 +7,6 @@ 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";
@ -117,11 +116,6 @@ 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;
}
/*

View file

@ -512,6 +512,11 @@ message User {
* Also, "long_name" should be their licence number.
*/
bool is_licensed = 6;
/*
* Indicates that the user's role in the mesh
*/
Config.DeviceConfig.Role role = 7;
}
/*
@ -1046,11 +1051,6 @@ 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;
}
/*