@@ -64,7 +64,12 @@ typedef enum _meshtastic_Config_DeviceConfig_Role {
64
64
in areas not already covered by other routers, or to bridge around problematic terrain,
65
65
but should not be given priority over other routers in order to avoid unnecessaraily
66
66
consuming hops. */
67
- meshtastic_Config_DeviceConfig_Role_ROUTER_LATE = 11
67
+ meshtastic_Config_DeviceConfig_Role_ROUTER_LATE = 11 ,
68
+ /* Description: Treats packets from or to favorited nodes as ROUTER, and all other packets as CLIENT.
69
+ Technical Details: Used for stronger attic/roof nodes to distribute messages more widely
70
+ from weaker, indoor, or less-well-positioned nodes. Recommended for users with multiple nodes
71
+ where one CLIENT_BASE acts as a more powerful base station, such as an attic/roof node. */
72
+ meshtastic_Config_DeviceConfig_Role_CLIENT_BASE = 12
68
73
} meshtastic_Config_DeviceConfig_Role ;
69
74
70
75
/* Defines the device's behavior for how messages are rebroadcast */
@@ -646,8 +651,8 @@ extern "C" {
646
651
647
652
/* Helper constants for enums */
648
653
#define _meshtastic_Config_DeviceConfig_Role_MIN meshtastic_Config_DeviceConfig_Role_CLIENT
649
- #define _meshtastic_Config_DeviceConfig_Role_MAX meshtastic_Config_DeviceConfig_Role_ROUTER_LATE
650
- #define _meshtastic_Config_DeviceConfig_Role_ARRAYSIZE ((meshtastic_Config_DeviceConfig_Role)(meshtastic_Config_DeviceConfig_Role_ROUTER_LATE +1))
654
+ #define _meshtastic_Config_DeviceConfig_Role_MAX meshtastic_Config_DeviceConfig_Role_CLIENT_BASE
655
+ #define _meshtastic_Config_DeviceConfig_Role_ARRAYSIZE ((meshtastic_Config_DeviceConfig_Role)(meshtastic_Config_DeviceConfig_Role_CLIENT_BASE +1))
651
656
652
657
#define _meshtastic_Config_DeviceConfig_RebroadcastMode_MIN meshtastic_Config_DeviceConfig_RebroadcastMode_ALL
653
658
#define _meshtastic_Config_DeviceConfig_RebroadcastMode_MAX meshtastic_Config_DeviceConfig_RebroadcastMode_CORE_PORTNUMS_ONLY
0 commit comments