meshcore-cli 1.6.9__tar.gz → 1.6.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: meshcore-cli
3
- Version: 1.6.9
3
+ Version: 1.6.10
4
4
  Summary: Command line interface to meshcore companion radios and repeaters
5
5
  Project-URL: Homepage, https://github.com/fdlamotte/meshcore-cli
6
6
  Project-URL: Issues, https://github.com/fdlamotte/meshcore-cli/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "meshcore-cli"
7
- version = "1.6.9"
7
+ version = "1.6.10"
8
8
  authors = [
9
9
  { name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
10
10
  ]
@@ -35,7 +35,7 @@ except ImportError:
35
35
  from meshcore import MeshCore, EventType, logger
36
36
 
37
37
  # Version
38
- VERSION = "v1.6.9"
38
+ VERSION = "v1.6.10"
39
39
 
40
40
  # default ble address is stored in a config file
41
41
  MCCLI_CONFIG_DIR = os.path.expanduser("~/.config/meshcore/")
@@ -769,6 +769,8 @@ def make_completion_dict(contacts, pending=None, to=None, channels=None):
769
769
  "at": None,
770
770
  "scope": None,
771
771
  "send_raw": None,
772
+ "gps" : {"on":None,"off":None,"sync":None,"once":None,"diag":None,"fix":None,"fix_stats":None,"period":None,
773
+ },
772
774
  "set" : {
773
775
  "name" : None,
774
776
  "pin" : None,
@@ -829,6 +831,8 @@ def make_completion_dict(contacts, pending=None, to=None, channels=None):
829
831
  "ui.backlight_on_msgs": None,
830
832
  "ui.auto_off_blank": None,
831
833
  "ui.max_partial": None,
834
+ "ui.nd_name": None,
835
+ "ui.gps_action": {"toggle":None, "once":None,},
832
836
  },
833
837
  "get" : {"name":None,
834
838
  "bat":None,
@@ -974,7 +978,8 @@ def make_completion_dict(contacts, pending=None, to=None, channels=None):
974
978
  "req_clock" :None,
975
979
  "setperm":contact_list,
976
980
  "region" : {"get":None, "allowf": None, "denyf": None, "put": None, "remove": None, "save": None, "home": None},
977
- "gps" : {"on":None,"off":None,"sync":None,"setloc":None,
981
+ "gps" : {"on":None,"off":None,"sync":None,"once":None,"diag":None,"fix":None,"fix_stats":None,"period":None,
982
+ "setloc":None,
978
983
  "advert" : {"none": None, "share": None, "prefs": None},
979
984
  },
980
985
  "powersaving" : {"on":None,"off":None},
@@ -990,6 +995,7 @@ def make_completion_dict(contacts, pending=None, to=None, channels=None):
990
995
  "flood.advert.interval" : None,
991
996
  "flood.max":None,
992
997
  "advert.interval" : None,
998
+ "advert.loc" : None,
993
999
  "guest.password" : None,
994
1000
  "owner.info":None,
995
1001
  "rxdelay": None,
@@ -1019,6 +1025,7 @@ def make_completion_dict(contacts, pending=None, to=None, channels=None):
1019
1025
  "flood.advert.interval" : None,
1020
1026
  "flood.max" : None,
1021
1027
  "advert.interval" : None,
1028
+ "advert.loc" : {"none": None, "shared": None, "prefs": None},
1022
1029
  "guest.password" : None,
1023
1030
  "owner.info":None,
1024
1031
  "allow.read.only" : {"on": None, "off": None},
@@ -2753,7 +2760,7 @@ async def next_cmd(mc, cmds, json_output=False, sink=sys.stdout, end="\n"):
2753
2760
  auc = (cmds[2] == "on") or (cmds[2] == "true") or (cmds[2] == "yes") or (cmds[2] == "1")
2754
2761
  mc.auto_update_contacts=auc
2755
2762
  case "telemetry_mode_base":
2756
- if (cmds[2] == "2") or (cmds[2] == "all") or (cmds[2] == "yes") or (cmds[2] == "on") :
2763
+ if (cmds[2] == "2") or (cmds[2].startswith("al")) or (cmds[2] == "yes") or (cmds[2] == "on") :
2757
2764
  mode = 2
2758
2765
  elif (cmds[2] == "1") or (cmds[2] == "selected") or (cmds[2] == "dev") :
2759
2766
  mode = 1
@@ -5514,8 +5521,8 @@ async def main(argv):
5514
5521
  first_device = False
5515
5522
  quiet = False
5516
5523
  force_interactive = False
5517
- serial_dtr = True
5518
- serial_rts = False
5524
+ serial_dtr = None
5525
+ serial_rts = None
5519
5526
 
5520
5527
  # basic logger configuration (was removed from meshcore_py)
5521
5528
  logging.basicConfig(level=logging.INFO)
File without changes
File without changes
File without changes
File without changes
File without changes