Skip to content

Commit

Permalink
Add role to NodeInfo/Lite
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Nov 26, 2023
1 parent c845b78 commit da22c44
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meshtastic/deviceonly.proto
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,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;

Check failure on line 123 in meshtastic/deviceonly.proto

View workflow job for this annotation

GitHub Actions / build

field meshtastic.NodeInfoLite.role: unknown type Config.DeviceConfig.Role
}

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

/*
Expand Down

0 comments on commit da22c44

Please sign in to comment.