mirror of
https://github.com/meshtastic/python.git
synced 2026-05-18 21:35:07 -04:00
Merge pull request #511 from flavoromission/506-show-all-module-settings
feat:506 show all module settings
This commit is contained in:
@@ -35,6 +35,7 @@ from meshtastic.util import (
|
||||
our_exit,
|
||||
remove_keys_from_dict,
|
||||
stripnl,
|
||||
message_to_json,
|
||||
)
|
||||
|
||||
|
||||
@@ -108,10 +109,10 @@ class MeshInterface:
|
||||
owner = f"Owner: {self.getLongName()} ({self.getShortName()})"
|
||||
myinfo = ""
|
||||
if self.myInfo:
|
||||
myinfo = f"\nMy info: {stripnl(MessageToJson(self.myInfo))}"
|
||||
myinfo = f"\nMy info: {message_to_json(self.myInfo)}"
|
||||
metadata = ""
|
||||
if self.metadata:
|
||||
metadata = f"\nMetadata: {stripnl(MessageToJson(self.metadata))}"
|
||||
metadata = f"\nMetadata: {message_to_json(self.metadata)}"
|
||||
mesh = "\n\nNodes in mesh: "
|
||||
nodes = {}
|
||||
if self.nodes:
|
||||
|
||||
Reference in New Issue
Block a user