Skip to content

Commit

Permalink
Merge pull request #406 from meshtastic/revert-405-add-role-nodeinfo
Browse files Browse the repository at this point in the history
Revert "Add role to NodeInfo/Lite"
  • Loading branch information
thebentern authored Nov 26, 2023
2 parents a0e94e0 + 2966ac6 commit 9148427
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
6 changes: 0 additions & 6 deletions meshtastic/deviceonly.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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;
}

/*
Expand Down
10 changes: 5 additions & 5 deletions meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 9148427

Please sign in to comment.