Skip to content

Commit fb6463a

Browse files
committed
Add meshtastic_Config_DeviceConfig_Role_CLIENT_BASE = 12 from meshtastic/protobufs#763
1 parent 2987e18 commit fb6463a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/mesh/generated/meshtastic/config.pb.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ typedef enum _meshtastic_Config_DeviceConfig_Role {
6464
in areas not already covered by other routers, or to bridge around problematic terrain,
6565
but should not be given priority over other routers in order to avoid unnecessaraily
6666
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
6873
} meshtastic_Config_DeviceConfig_Role;
6974

7075
/* Defines the device's behavior for how messages are rebroadcast */
@@ -646,8 +651,8 @@ extern "C" {
646651

647652
/* Helper constants for enums */
648653
#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))
651656

652657
#define _meshtastic_Config_DeviceConfig_RebroadcastMode_MIN meshtastic_Config_DeviceConfig_RebroadcastMode_ALL
653658
#define _meshtastic_Config_DeviceConfig_RebroadcastMode_MAX meshtastic_Config_DeviceConfig_RebroadcastMode_CORE_PORTNUMS_ONLY

0 commit comments

Comments
 (0)