Skip to content

Commit

Permalink
Merge pull request meshtastic#135 from mc-hamster/location
Browse files Browse the repository at this point in the history
Modify roles
  • Loading branch information
mc-hamster authored Mar 30, 2022
2 parents bd0384e + ccd065c commit 99ce578
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions radioconfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,33 @@ enum RegionCode {
enum Role {

/*
* Default device role
* Client device role
*/
Default = 0;
Client = 0;

/*
* Router device role
* ClientMute device role
* This is like the client but packets will not hop over this node. Would be
* useful if you want to save power by not contributing to the mesh.
*/
Router = 1;
ClientMute = 1;

/*
* Router device role.
* Uses an agressive algirithem for the flood networking so packets will
* prefer to be routed over this node. Also assume that this will be generally
* unattended and so will turn off the wifi/ble radio as well as the oled screen.
*/
Router = 2;

/*
* RouterClient device role
* Uses an agressive algirithem for the flood networking so packets will
* prefer to be routed over this node. Similiar power management as a regular
* client, so the RouterClient can be used as both a Router and a Client. Useful
* as a well placed base station that you could also use to send messages.
*/
RouterClient = 3;

}

Expand Down

0 comments on commit 99ce578

Please sign in to comment.