Skip to content

Commit 8717c60

Browse files
Update protobufs (#8142)
Co-authored-by: thebentern <[email protected]>
1 parent 067939c commit 8717c60

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ extern const pb_msgdesc_t meshtastic_ChannelSet_msg;
5555

5656
/* Maximum encoded size of messages (where known) */
5757
#define MESHTASTIC_MESHTASTIC_APPONLY_PB_H_MAX_SIZE meshtastic_ChannelSet_size
58-
#define meshtastic_ChannelSet_size 679
58+
#define meshtastic_ChannelSet_size 695
5959

6060
#ifdef __cplusplus
6161
} /* extern "C" */

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ typedef struct _meshtastic_ChannelSettings {
9797
/* Per-channel module settings. */
9898
bool has_module_settings;
9999
meshtastic_ModuleSettings module_settings;
100+
/* Whether or not we should receive notifactions / alerts through this channel */
101+
bool mute;
100102
} meshtastic_ChannelSettings;
101103

102104
/* A pair of a channel number, mode and the (sharable) settings for that channel */
@@ -128,10 +130,10 @@ extern "C" {
128130

129131

130132
/* Initializer values for message structs */
131-
#define meshtastic_ChannelSettings_init_default {0, {0, {0}}, "", 0, 0, 0, false, meshtastic_ModuleSettings_init_default}
133+
#define meshtastic_ChannelSettings_init_default {0, {0, {0}}, "", 0, 0, 0, false, meshtastic_ModuleSettings_init_default, 0}
132134
#define meshtastic_ModuleSettings_init_default {0, 0}
133135
#define meshtastic_Channel_init_default {0, false, meshtastic_ChannelSettings_init_default, _meshtastic_Channel_Role_MIN}
134-
#define meshtastic_ChannelSettings_init_zero {0, {0, {0}}, "", 0, 0, 0, false, meshtastic_ModuleSettings_init_zero}
136+
#define meshtastic_ChannelSettings_init_zero {0, {0, {0}}, "", 0, 0, 0, false, meshtastic_ModuleSettings_init_zero, 0}
135137
#define meshtastic_ModuleSettings_init_zero {0, 0}
136138
#define meshtastic_Channel_init_zero {0, false, meshtastic_ChannelSettings_init_zero, _meshtastic_Channel_Role_MIN}
137139

@@ -145,6 +147,7 @@ extern "C" {
145147
#define meshtastic_ChannelSettings_uplink_enabled_tag 5
146148
#define meshtastic_ChannelSettings_downlink_enabled_tag 6
147149
#define meshtastic_ChannelSettings_module_settings_tag 7
150+
#define meshtastic_ChannelSettings_mute_tag 8
148151
#define meshtastic_Channel_index_tag 1
149152
#define meshtastic_Channel_settings_tag 2
150153
#define meshtastic_Channel_role_tag 3
@@ -157,7 +160,8 @@ X(a, STATIC, SINGULAR, STRING, name, 3) \
157160
X(a, STATIC, SINGULAR, FIXED32, id, 4) \
158161
X(a, STATIC, SINGULAR, BOOL, uplink_enabled, 5) \
159162
X(a, STATIC, SINGULAR, BOOL, downlink_enabled, 6) \
160-
X(a, STATIC, OPTIONAL, MESSAGE, module_settings, 7)
163+
X(a, STATIC, OPTIONAL, MESSAGE, module_settings, 7) \
164+
X(a, STATIC, SINGULAR, BOOL, mute, 8)
161165
#define meshtastic_ChannelSettings_CALLBACK NULL
162166
#define meshtastic_ChannelSettings_DEFAULT NULL
163167
#define meshtastic_ChannelSettings_module_settings_MSGTYPE meshtastic_ModuleSettings
@@ -187,8 +191,8 @@ extern const pb_msgdesc_t meshtastic_Channel_msg;
187191

188192
/* Maximum encoded size of messages (where known) */
189193
#define MESHTASTIC_MESHTASTIC_CHANNEL_PB_H_MAX_SIZE meshtastic_Channel_size
190-
#define meshtastic_ChannelSettings_size 72
191-
#define meshtastic_Channel_size 87
194+
#define meshtastic_ChannelSettings_size 74
195+
#define meshtastic_Channel_size 89
192196
#define meshtastic_ModuleSettings_size 8
193197

194198
#ifdef __cplusplus

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ typedef enum _meshtastic_Config_DeviceConfig_Role {
2626
meshtastic_Config_DeviceConfig_Role_ROUTER_CLIENT = 3,
2727
/* Description: Infrastructure node for extending network coverage by relaying messages with minimal overhead. Not visible in Nodes list.
2828
Technical Details: Mesh packets will simply be rebroadcasted over this node. Nodes configured with this role will not originate NodeInfo, Position, Telemetry
29-
or any other packet type. They will simply rebroadcast any mesh packets on the same frequency, channel num, spread factor, and coding rate. */
29+
or any other packet type. They will simply rebroadcast any mesh packets on the same frequency, channel num, spread factor, and coding rate.
30+
Deprecated in v2.7.11 because it creates "holes" in the mesh rebroadcast chain. */
3031
meshtastic_Config_DeviceConfig_Role_REPEATER = 4,
3132
/* Description: Broadcasts GPS position packets as priority.
3233
Technical Details: Position Mesh packets will be prioritized higher and sent more frequently by default.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ extern const pb_msgdesc_t meshtastic_BackupPreferences_msg;
360360
/* Maximum encoded size of messages (where known) */
361361
/* meshtastic_NodeDatabase_size depends on runtime parameters */
362362
#define MESHTASTIC_MESHTASTIC_DEVICEONLY_PB_H_MAX_SIZE meshtastic_BackupPreferences_size
363-
#define meshtastic_BackupPreferences_size 2277
364-
#define meshtastic_ChannelFile_size 718
363+
#define meshtastic_BackupPreferences_size 2293
364+
#define meshtastic_ChannelFile_size 734
365365
#define meshtastic_DeviceState_size 1737
366366
#define meshtastic_NodeInfoLite_size 196
367367
#define meshtastic_PositionLite_size 28

0 commit comments

Comments
 (0)