From 022a8a1017dcf351303a50ae8b9dbc9181a283d6 Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Wed, 1 May 2024 09:40:04 -0700 Subject: [PATCH] protobufs: v2.3.8 --- meshtastic/channel_pb2.py | 12 ++++++------ meshtastic/channel_pb2.pyi | 9 ++++++++- protobufs | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/meshtastic/channel_pb2.py b/meshtastic/channel_pb2.py index 4ce5202..2e66fe8 100644 --- a/meshtastic/channel_pb2.py +++ b/meshtastic/channel_pb2.py @@ -13,7 +13,7 @@ _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18meshtastic/channel.proto\x12\nmeshtastic\"\xb8\x01\n\x0f\x43hannelSettings\x12\x17\n\x0b\x63hannel_num\x18\x01 \x01(\rB\x02\x18\x01\x12\x0b\n\x03psk\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\n\n\x02id\x18\x04 \x01(\x07\x12\x16\n\x0euplink_enabled\x18\x05 \x01(\x08\x12\x18\n\x10\x64ownlink_enabled\x18\x06 \x01(\x08\x12\x33\n\x0fmodule_settings\x18\x07 \x01(\x0b\x32\x1a.meshtastic.ModuleSettings\",\n\x0eModuleSettings\x12\x1a\n\x12position_precision\x18\x01 \x01(\r\"\xa1\x01\n\x07\x43hannel\x12\r\n\x05index\x18\x01 \x01(\x05\x12-\n\x08settings\x18\x02 \x01(\x0b\x32\x1b.meshtastic.ChannelSettings\x12&\n\x04role\x18\x03 \x01(\x0e\x32\x18.meshtastic.Channel.Role\"0\n\x04Role\x12\x0c\n\x08\x44ISABLED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02\x42\x62\n\x13\x63om.geeksville.meshB\rChannelProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18meshtastic/channel.proto\x12\nmeshtastic\"\xb8\x01\n\x0f\x43hannelSettings\x12\x17\n\x0b\x63hannel_num\x18\x01 \x01(\rB\x02\x18\x01\x12\x0b\n\x03psk\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\n\n\x02id\x18\x04 \x01(\x07\x12\x16\n\x0euplink_enabled\x18\x05 \x01(\x08\x12\x18\n\x10\x64ownlink_enabled\x18\x06 \x01(\x08\x12\x33\n\x0fmodule_settings\x18\x07 \x01(\x0b\x32\x1a.meshtastic.ModuleSettings\"E\n\x0eModuleSettings\x12\x1a\n\x12position_precision\x18\x01 \x01(\r\x12\x17\n\x0fis_client_muted\x18\x02 \x01(\x08\"\xa1\x01\n\x07\x43hannel\x12\r\n\x05index\x18\x01 \x01(\x05\x12-\n\x08settings\x18\x02 \x01(\x0b\x32\x1b.meshtastic.ChannelSettings\x12&\n\x04role\x18\x03 \x01(\x0e\x32\x18.meshtastic.Channel.Role\"0\n\x04Role\x12\x0c\n\x08\x44ISABLED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02\x42\x62\n\x13\x63om.geeksville.meshB\rChannelProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtastic.channel_pb2', globals()) @@ -26,9 +26,9 @@ if _descriptor._USE_C_DESCRIPTORS == False: _CHANNELSETTINGS._serialized_start=41 _CHANNELSETTINGS._serialized_end=225 _MODULESETTINGS._serialized_start=227 - _MODULESETTINGS._serialized_end=271 - _CHANNEL._serialized_start=274 - _CHANNEL._serialized_end=435 - _CHANNEL_ROLE._serialized_start=387 - _CHANNEL_ROLE._serialized_end=435 + _MODULESETTINGS._serialized_end=296 + _CHANNEL._serialized_start=299 + _CHANNEL._serialized_end=460 + _CHANNEL_ROLE._serialized_start=412 + _CHANNEL_ROLE._serialized_end=460 # @@protoc_insertion_point(module_scope) diff --git a/meshtastic/channel_pb2.pyi b/meshtastic/channel_pb2.pyi index d4a8a05..ff23a5f 100644 --- a/meshtastic/channel_pb2.pyi +++ b/meshtastic/channel_pb2.pyi @@ -125,16 +125,23 @@ class ModuleSettings(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor POSITION_PRECISION_FIELD_NUMBER: builtins.int + IS_CLIENT_MUTED_FIELD_NUMBER: builtins.int position_precision: builtins.int """ Bits of precision for the location sent in position packets. """ + is_client_muted: builtins.bool + """ + Controls whether or not the phone / clients should mute the current channel + Useful for noisy public channels you don't necessarily want to disable + """ def __init__( self, *, position_precision: builtins.int = ..., + is_client_muted: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal["position_precision", b"position_precision"]) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["is_client_muted", b"is_client_muted", "position_precision", b"position_precision"]) -> None: ... global___ModuleSettings = ModuleSettings diff --git a/protobufs b/protobufs index 86640f2..e21899a 160000 --- a/protobufs +++ b/protobufs @@ -1 +1 @@ -Subproject commit 86640f20db7b9b5be42949d18e8d96ad10d47a68 +Subproject commit e21899aa6b2b49863cfa2758e5e3b6faacf04bba