From ccd065cb506a86124053a0b81d6bf87247cb69a3 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Tue, 29 Mar 2022 21:44:02 -0700 Subject: [PATCH] Modify roles --- radioconfig.proto | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/radioconfig.proto b/radioconfig.proto index ce2bbd3..f022591 100644 --- a/radioconfig.proto +++ b/radioconfig.proto @@ -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; }