mirror of
https://github.com/meshtastic/python.git
synced 2026-01-01 12:27:59 -05:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eebaa10d13 | ||
|
|
5076119b4f | ||
|
|
e25b183c23 | ||
|
|
236d30f7c1 |
File diff suppressed because one or more lines are too long
@@ -874,6 +874,10 @@ class MeshInterface:
|
|||||||
self.localNode.moduleConfig.detection_sensor.CopyFrom(
|
self.localNode.moduleConfig.detection_sensor.CopyFrom(
|
||||||
fromRadio.moduleConfig.detection_sensor
|
fromRadio.moduleConfig.detection_sensor
|
||||||
)
|
)
|
||||||
|
elif fromRadio.moduleConfig.HasField("ambient_lighting"):
|
||||||
|
self.localNode.moduleConfig.ambient_lighting.CopyFrom(
|
||||||
|
fromRadio.moduleConfig.ambient_lighting
|
||||||
|
)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
logging.debug("Unexpected FromRadio payload")
|
logging.debug("Unexpected FromRadio payload")
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -192,6 +192,8 @@ class Node:
|
|||||||
p.set_module_config.neighbor_info.CopyFrom(self.moduleConfig.neighbor_info)
|
p.set_module_config.neighbor_info.CopyFrom(self.moduleConfig.neighbor_info)
|
||||||
elif config_name == "detection_sensor":
|
elif config_name == "detection_sensor":
|
||||||
p.set_module_config.detection_sensor.CopyFrom(self.moduleConfig.detection_sensor)
|
p.set_module_config.detection_sensor.CopyFrom(self.moduleConfig.detection_sensor)
|
||||||
|
elif config_name == "ambient_lighting":
|
||||||
|
p.set_module_config.ambient_lighting.CopyFrom(self.moduleConfig.ambient_lighting)
|
||||||
else:
|
else:
|
||||||
our_exit(f"Error: No valid config with name {config_name}")
|
our_exit(f"Error: No valid config with name {config_name}")
|
||||||
|
|
||||||
|
|||||||
Submodule protobufs updated: 175a5c97fb...6290ee0f6a
2
setup.py
2
setup.py
@@ -13,7 +13,7 @@ with open("README.md", "r") as fh:
|
|||||||
# This call to setup() does all the work
|
# This call to setup() does all the work
|
||||||
setup(
|
setup(
|
||||||
name="meshtastic",
|
name="meshtastic",
|
||||||
version="2.2.9",
|
version="2.2.10",
|
||||||
description="Python API & client shell for talking to Meshtastic devices",
|
description="Python API & client shell for talking to Meshtastic devices",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
Reference in New Issue
Block a user