meshcore-cli 1.3.6__py3-none-any.whl → 1.3.7__py3-none-any.whl
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.
- meshcore_cli/meshcore_cli.py +5 -5
- {meshcore_cli-1.3.6.dist-info → meshcore_cli-1.3.7.dist-info}/METADATA +1 -1
- meshcore_cli-1.3.7.dist-info/RECORD +8 -0
- meshcore_cli-1.3.6.dist-info/RECORD +0 -8
- {meshcore_cli-1.3.6.dist-info → meshcore_cli-1.3.7.dist-info}/WHEEL +0 -0
- {meshcore_cli-1.3.6.dist-info → meshcore_cli-1.3.7.dist-info}/entry_points.txt +0 -0
- {meshcore_cli-1.3.6.dist-info → meshcore_cli-1.3.7.dist-info}/licenses/LICENSE +0 -0
meshcore_cli/meshcore_cli.py
CHANGED
|
@@ -10,7 +10,7 @@ import getopt, json, shlex, re
|
|
|
10
10
|
import logging
|
|
11
11
|
import requests
|
|
12
12
|
from bleak import BleakScanner, BleakClient
|
|
13
|
-
from bleak.exc import BleakError
|
|
13
|
+
from bleak.exc import BleakError, BleakDBusError
|
|
14
14
|
import serial.tools.list_ports
|
|
15
15
|
from pathlib import Path
|
|
16
16
|
import traceback
|
|
@@ -32,7 +32,7 @@ import re
|
|
|
32
32
|
from meshcore import MeshCore, EventType, logger
|
|
33
33
|
|
|
34
34
|
# Version
|
|
35
|
-
VERSION = "v1.3.
|
|
35
|
+
VERSION = "v1.3.7"
|
|
36
36
|
|
|
37
37
|
# default ble address is stored in a config file
|
|
38
38
|
MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/"
|
|
@@ -3473,7 +3473,7 @@ async def main(argv):
|
|
|
3473
3473
|
for d in devices :
|
|
3474
3474
|
if not d.name is None and d.name.startswith("MeshCore-"):
|
|
3475
3475
|
print(f" {d.address} {d.name}")
|
|
3476
|
-
except BleakError:
|
|
3476
|
+
except (BleakError, BleakDBusError):
|
|
3477
3477
|
print(" No BLE HW")
|
|
3478
3478
|
print("\nSerial ports:")
|
|
3479
3479
|
ports = serial.tools.list_ports.comports()
|
|
@@ -3488,7 +3488,7 @@ async def main(argv):
|
|
|
3488
3488
|
for d in devices:
|
|
3489
3489
|
if not d.name is None and d.name.startswith("MeshCore-"):
|
|
3490
3490
|
choices.append(({"type":"ble","device":d}, f"{d.address:<22} {d.name}"))
|
|
3491
|
-
except BleakError:
|
|
3491
|
+
except (BleakError, BleakDBusError):
|
|
3492
3492
|
logger.info("No BLE Device")
|
|
3493
3493
|
|
|
3494
3494
|
ports = serial.tools.list_ports.comports()
|
|
@@ -3559,7 +3559,7 @@ async def main(argv):
|
|
|
3559
3559
|
|
|
3560
3560
|
try :
|
|
3561
3561
|
mc = await MeshCore.create_ble(address=address, device=device, client=client, debug=debug, only_error=json_output, pin=pin)
|
|
3562
|
-
except BleakError :
|
|
3562
|
+
except (BleakError, BleakDBusError):
|
|
3563
3563
|
print("BLE connection asked (default behaviour), but no BLE HW found")
|
|
3564
3564
|
print("Call meshcore-cli with -h for some more help (on commands)")
|
|
3565
3565
|
command_usage()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshcore-cli
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.7
|
|
4
4
|
Summary: Command line interface to meshcore companion radios
|
|
5
5
|
Project-URL: Homepage, https://github.com/fdlamotte/meshcore-cli
|
|
6
6
|
Project-URL: Issues, https://github.com/fdlamotte/meshcore-cli/issues
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
meshcore_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
meshcore_cli/__main__.py,sha256=PfYgibmu2LEtC-OV7L1UgmvV3swJ5rQ4bbXHlwUFlgE,83
|
|
3
|
+
meshcore_cli/meshcore_cli.py,sha256=iRrICDi9pCAngyuY6_Jc6teubgi4gomJ8l_NHXYNFrE,151869
|
|
4
|
+
meshcore_cli-1.3.7.dist-info/METADATA,sha256=0o6ju0KlttNIOFoy3_0-rUEIlVwSymgsHDLkkr-So5w,17137
|
|
5
|
+
meshcore_cli-1.3.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
+
meshcore_cli-1.3.7.dist-info/entry_points.txt,sha256=77V29Pyth11GteDk7tneBN3MMk8JI7bTlS-BGSmxCmI,103
|
|
7
|
+
meshcore_cli-1.3.7.dist-info/licenses/LICENSE,sha256=F9s987VtS0AKxW7LdB2EkLMkrdeERI7ICdLJR60A9M4,1066
|
|
8
|
+
meshcore_cli-1.3.7.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
meshcore_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
meshcore_cli/__main__.py,sha256=PfYgibmu2LEtC-OV7L1UgmvV3swJ5rQ4bbXHlwUFlgE,83
|
|
3
|
-
meshcore_cli/meshcore_cli.py,sha256=T4WVxfscFpfjSs1MkqaQ1L3sG4EfNSyXFI02wc0l9d8,151800
|
|
4
|
-
meshcore_cli-1.3.6.dist-info/METADATA,sha256=Fv1DS6ckI3a3dUq4HFQUsGcCLDmnzAL3A3s6S6bEn8E,17137
|
|
5
|
-
meshcore_cli-1.3.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
-
meshcore_cli-1.3.6.dist-info/entry_points.txt,sha256=77V29Pyth11GteDk7tneBN3MMk8JI7bTlS-BGSmxCmI,103
|
|
7
|
-
meshcore_cli-1.3.6.dist-info/licenses/LICENSE,sha256=F9s987VtS0AKxW7LdB2EkLMkrdeERI7ICdLJR60A9M4,1066
|
|
8
|
-
meshcore_cli-1.3.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|