Skip to content

Commit d57186d

Browse files
committed
protobufs: v2.4.0
1 parent a8d86de commit d57186d

7 files changed

Lines changed: 77 additions & 49 deletions

File tree

meshtastic/protobuf/config_pb2.py

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

meshtastic/protobuf/config_pb2.pyi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1378,6 +1378,7 @@ class Config(google.protobuf.message.Message):
13781378
OVERRIDE_DUTY_CYCLE_FIELD_NUMBER: builtins.int
13791379
SX126X_RX_BOOSTED_GAIN_FIELD_NUMBER: builtins.int
13801380
OVERRIDE_FREQUENCY_FIELD_NUMBER: builtins.int
1381+
PA_FAN_DISABLED_FIELD_NUMBER: builtins.int
13811382
IGNORE_INCOMING_FIELD_NUMBER: builtins.int
13821383
IGNORE_MQTT_FIELD_NUMBER: builtins.int
13831384
use_preset: builtins.bool
@@ -1465,6 +1466,10 @@ class Config(google.protobuf.message.Message):
14651466
Please respect your local laws and regulations. If you are a HAM, make sure you
14661467
enable HAM mode and turn off encryption.
14671468
"""
1469+
pa_fan_disabled: builtins.bool
1470+
"""
1471+
If true, disable the build-in PA FAN using pin define in RF95_FAN_EN.
1472+
"""
14681473
ignore_mqtt: builtins.bool
14691474
"""
14701475
If true, the device will not process any packets received via LoRa that passed via MQTT anywhere on the path towards it.
@@ -1494,10 +1499,11 @@ class Config(google.protobuf.message.Message):
14941499
override_duty_cycle: builtins.bool = ...,
14951500
sx126x_rx_boosted_gain: builtins.bool = ...,
14961501
override_frequency: builtins.float = ...,
1502+
pa_fan_disabled: builtins.bool = ...,
14971503
ignore_incoming: collections.abc.Iterable[builtins.int] | None = ...,
14981504
ignore_mqtt: builtins.bool = ...,
14991505
) -> None: ...
1500-
def ClearField(self, field_name: typing.Literal["bandwidth", b"bandwidth", "channel_num", b"channel_num", "coding_rate", b"coding_rate", "frequency_offset", b"frequency_offset", "hop_limit", b"hop_limit", "ignore_incoming", b"ignore_incoming", "ignore_mqtt", b"ignore_mqtt", "modem_preset", b"modem_preset", "override_duty_cycle", b"override_duty_cycle", "override_frequency", b"override_frequency", "region", b"region", "spread_factor", b"spread_factor", "sx126x_rx_boosted_gain", b"sx126x_rx_boosted_gain", "tx_enabled", b"tx_enabled", "tx_power", b"tx_power", "use_preset", b"use_preset"]) -> None: ...
1506+
def ClearField(self, field_name: typing.Literal["bandwidth", b"bandwidth", "channel_num", b"channel_num", "coding_rate", b"coding_rate", "frequency_offset", b"frequency_offset", "hop_limit", b"hop_limit", "ignore_incoming", b"ignore_incoming", "ignore_mqtt", b"ignore_mqtt", "modem_preset", b"modem_preset", "override_duty_cycle", b"override_duty_cycle", "override_frequency", b"override_frequency", "pa_fan_disabled", b"pa_fan_disabled", "region", b"region", "spread_factor", b"spread_factor", "sx126x_rx_boosted_gain", b"sx126x_rx_boosted_gain", "tx_enabled", b"tx_enabled", "tx_power", b"tx_power", "use_preset", b"use_preset"]) -> None: ...
15011507

15021508
@typing.final
15031509
class BluetoothConfig(google.protobuf.message.Message):

meshtastic/protobuf/module_config_pb2.py

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

meshtastic/protobuf/module_config_pb2.pyi

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ class ModuleConfig(google.protobuf.message.Message):
503503
NMEA: ModuleConfig.SerialConfig._Serial_Mode.ValueType # 4
504504
CALTOPO: ModuleConfig.SerialConfig._Serial_Mode.ValueType # 5
505505
"""NMEA messages specifically tailored for CalTopo"""
506+
WS85: ModuleConfig.SerialConfig._Serial_Mode.ValueType # 6
507+
"""Ecowitt WS85 weather station"""
506508

507509
class Serial_Mode(_Serial_Mode, metaclass=_Serial_ModeEnumTypeWrapper):
508510
"""
@@ -516,6 +518,8 @@ class ModuleConfig(google.protobuf.message.Message):
516518
NMEA: ModuleConfig.SerialConfig.Serial_Mode.ValueType # 4
517519
CALTOPO: ModuleConfig.SerialConfig.Serial_Mode.ValueType # 5
518520
"""NMEA messages specifically tailored for CalTopo"""
521+
WS85: ModuleConfig.SerialConfig.Serial_Mode.ValueType # 6
522+
"""Ecowitt WS85 weather station"""
519523

520524
ENABLED_FIELD_NUMBER: builtins.int
521525
ECHO_FIELD_NUMBER: builtins.int
@@ -701,6 +705,7 @@ class ModuleConfig(google.protobuf.message.Message):
701705
RECORDS_FIELD_NUMBER: builtins.int
702706
HISTORY_RETURN_MAX_FIELD_NUMBER: builtins.int
703707
HISTORY_RETURN_WINDOW_FIELD_NUMBER: builtins.int
708+
IS_SERVER_FIELD_NUMBER: builtins.int
704709
enabled: builtins.bool
705710
"""
706711
Enable the Store and Forward Module
@@ -721,6 +726,10 @@ class ModuleConfig(google.protobuf.message.Message):
721726
"""
722727
TODO: REPLACE
723728
"""
729+
is_server: builtins.bool
730+
"""
731+
Set to true to let this node act as a server that stores received messages and resends them upon request.
732+
"""
724733
def __init__(
725734
self,
726735
*,
@@ -729,8 +738,9 @@ class ModuleConfig(google.protobuf.message.Message):
729738
records: builtins.int = ...,
730739
history_return_max: builtins.int = ...,
731740
history_return_window: builtins.int = ...,
741+
is_server: builtins.bool = ...,
732742
) -> None: ...
733-
def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "heartbeat", b"heartbeat", "history_return_max", b"history_return_max", "history_return_window", b"history_return_window", "records", b"records"]) -> None: ...
743+
def ClearField(self, field_name: typing.Literal["enabled", b"enabled", "heartbeat", b"heartbeat", "history_return_max", b"history_return_max", "history_return_window", b"history_return_window", "is_server", b"is_server", "records", b"records"]) -> None: ...
734744

735745
@typing.final
736746
class RangeTestConfig(google.protobuf.message.Message):

meshtastic/protobuf/telemetry_pb2.py

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

meshtastic/protobuf/telemetry_pb2.pyi

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ class EnvironmentMetrics(google.protobuf.message.Message):
308308
WIND_DIRECTION_FIELD_NUMBER: builtins.int
309309
WIND_SPEED_FIELD_NUMBER: builtins.int
310310
WEIGHT_FIELD_NUMBER: builtins.int
311+
WIND_GUST_FIELD_NUMBER: builtins.int
312+
WIND_LULL_FIELD_NUMBER: builtins.int
311313
temperature: builtins.float
312314
"""
313315
Temperature measured
@@ -370,6 +372,14 @@ class EnvironmentMetrics(google.protobuf.message.Message):
370372
"""
371373
Weight in KG
372374
"""
375+
wind_gust: builtins.float
376+
"""
377+
Wind gust in m/s
378+
"""
379+
wind_lull: builtins.float
380+
"""
381+
Wind lull in m/s
382+
"""
373383
def __init__(
374384
self,
375385
*,
@@ -388,8 +398,10 @@ class EnvironmentMetrics(google.protobuf.message.Message):
388398
wind_direction: builtins.int = ...,
389399
wind_speed: builtins.float = ...,
390400
weight: builtins.float = ...,
401+
wind_gust: builtins.float = ...,
402+
wind_lull: builtins.float = ...,
391403
) -> None: ...
392-
def ClearField(self, field_name: typing.Literal["barometric_pressure", b"barometric_pressure", "current", b"current", "distance", b"distance", "gas_resistance", b"gas_resistance", "iaq", b"iaq", "ir_lux", b"ir_lux", "lux", b"lux", "relative_humidity", b"relative_humidity", "temperature", b"temperature", "uv_lux", b"uv_lux", "voltage", b"voltage", "weight", b"weight", "white_lux", b"white_lux", "wind_direction", b"wind_direction", "wind_speed", b"wind_speed"]) -> None: ...
404+
def ClearField(self, field_name: typing.Literal["barometric_pressure", b"barometric_pressure", "current", b"current", "distance", b"distance", "gas_resistance", b"gas_resistance", "iaq", b"iaq", "ir_lux", b"ir_lux", "lux", b"lux", "relative_humidity", b"relative_humidity", "temperature", b"temperature", "uv_lux", b"uv_lux", "voltage", b"voltage", "weight", b"weight", "white_lux", b"white_lux", "wind_direction", b"wind_direction", "wind_gust", b"wind_gust", "wind_lull", b"wind_lull", "wind_speed", b"wind_speed"]) -> None: ...
393405

394406
global___EnvironmentMetrics = EnvironmentMetrics
395407

0 commit comments

Comments
 (0)