Ian McEwen
56d1dcafe5
--dest doesn't work with --export-config
2024-04-21 10:35:59 -07:00
Ian McEwen
393c765557
Fix up tests
2024-04-21 10:32:07 -07:00
Ian McEwen
243b310eb2
Allow generating QR codes for remote nodes and for all channels
2024-04-21 09:41:07 -07:00
Ian McEwen
cd1ecab4e0
Don't allow --dest with --setlat/lon/alt. Fixes #545
2024-04-21 09:38:32 -07:00
Ian McEwen
70c5a30b77
protobufs: v2.3.6
2024-04-18 14:08:40 -07:00
Ian McEwen
4226201423
Don't export null altitude, but support importing null lat/lon/alt as 0s. Fixes #548
2024-04-18 12:15:58 -07:00
Ian McEwen
e8ba5581f6
Add a --request-position argument to request positions from nodes
2024-04-16 15:43:24 -07:00
Ian McEwen
948846e0f1
Send the position the node already thinks it's at when --no-time is absent, rather than an empty position
2024-04-16 15:13:53 -07:00
Ian McEwen
6c4dbb6fe6
Fix quotes
2024-04-16 14:58:50 -07:00
Ian McEwen
afbabf9538
Merge branch 'bugfix-466-yaml-import'
2024-04-16 13:56:00 -07:00
Ian McEwen
d8107122a2
Merge remote-tracking branch 'danwelch3/bugfix-466-yaml-import' into bugfix-466-yaml-import
2024-04-16 13:53:54 -07:00
Dan Welch
03c1f08e45
Fix Lint Error
...
- add docstring to traverseConfig function
2024-04-16 14:46:35 -06:00
Ian McEwen
760fcfcea7
Merge pull request #544 from holdenweb/new-globals
...
Refactor to avoid the use of a special global object.
2024-04-16 13:17:16 -07:00
Ian McEwen
a4830f5f62
Treat a message as an ack if there is an errorReason but it's set to NONE, not just if the errorReason is absent
2024-04-16 13:10:18 -07:00
Ian McEwen
ddad5f08b3
protobufs: v2.3.5
2024-04-14 12:30:14 -07:00
Ian McEwen
6e7933a3ce
Fix my own pylint mistakes
2024-04-11 18:40:10 -07:00
Ian McEwen
f449ff9506
Add a variety of type annotations, primarily in mesh_interface
2024-04-11 18:28:01 -07:00
Steve Holden
a07e853f69
Refactor to remove pylint issues.
...
Since one of pylint's complains was that the globals module was
shadowing the built-in, and since the name `config` was already
is use in several modules, globals.py was renamed as mt_config.py.
All tests now pass, and the only remaining local pylint errors
relate to the protobuf code, I'm hoping this will make the PR
valid.
2024-04-10 17:42:44 +01:00
Steve Holden
0d57449030
Begin to rationalise test data.
...
Also refactor to silence some CI issues.
2024-04-10 14:25:17 +01:00
Steve Holden
067cddd354
Refactor to avoid the use of a special global object.
...
The global object formerly used is now replaced by direct use
of the namespace opf the globals module. This eliminates the
redundant getters and setters and simplifies the code for
future maintainers.
Note that the globals module name conflicts (harmlessly at
present) with a Python built-in function. A future commit
should rename it `config` to remove this clash and better
represent its intended purpose.
2024-04-10 10:03:12 +01:00
AeroXuk
4af1b322da
Also accept nested settings in module_config.
...
Show full config path in output when nested.
2024-04-09 12:27:08 +01:00
AeroXuk
c580df15e1
Merge 'master' into 'bugfix-466-yaml-import'.
2024-04-09 12:20:04 +01:00
Ian McEwen
439b1ade2e
Add --remove-node ( fixes #514 )
2024-04-08 14:58:15 -07:00
Ian McEwen
278ca74a70
Show hops away when present in nodeDB ( fixes #539 )
2024-04-08 11:24:21 -07:00
Ian McEwen
7cea3cefc8
protobufs: v2.3.4
2024-04-08 10:12:50 -07:00
Ian McEwen
157f9cd276
Group and organize arguments a bit more
2024-04-07 23:20:02 -07:00
Ian McEwen
e742b5c0b8
Split out connection-related args into their own function & group
2024-04-05 15:22:26 -07:00
Ian McEwen
b57d1d81ff
Fix up pylint from merged PR
2024-04-02 15:15:22 -07:00
Ian McEwen
4c97866875
Merge pull request #511 from flavoromission/506-show-all-module-settings
...
feat:506 show all module settings
2024-04-02 13:11:35 -07:00
Ian McEwen
8bb0cdf21b
Merge pull request #528 from ianmcorvidae/protobufs-mypy
...
Protobuf type interfaces for type-checking & undoing protobufs hack
2024-04-01 10:50:24 -07:00
Ian McEwen
917d6b2214
update docs for --listen too
2024-03-30 11:06:01 -07:00
Ian McEwen
523a855238
When --listen is set, turn on debug-level logging as though --debug was, even if it wasn't explicitly provided
...
Fixes #513
2024-03-30 11:04:33 -07:00
Jorropo
5f92ac3995
in --help indicate --setalt takes meters
2024-03-30 10:36:56 +01:00
Ian McEwen
59091664db
Check against proper full name for moved protobufs
2024-03-29 18:38:26 -07:00
Ian McEwen
4baef92523
Fix assorted mypy-detected errors
2024-03-29 18:38:25 -07:00
Ian McEwen
4528cbf407
Update dependencies, regen-protobufs, protobufs, etc. to support types & mypy
2024-03-29 18:38:25 -07:00
Ian McEwen
ad8dbeab14
List unknown node IDs always with 8 hex digits, padded with 0s
2024-03-29 16:15:57 -07:00
Ian McEwen
5a277ab4bd
Guard against lack of decoded message in --reply
2024-03-29 09:23:06 -07:00
Ian McEwen
1a278db65e
protobufs: v2.3.3
2024-03-29 09:20:39 -07:00
Ian McEwen
f3f6a6327d
fixing copypaste error
2024-03-25 22:36:33 -07:00
Ian McEwen
d03c78518d
Add missing portnums to the dict for automatic decoding as protocol buffers/text
2024-03-25 19:54:53 -07:00
Ian McEwen
f4120102b3
Fix things for nanopb.proto
2024-03-25 14:03:58 -07:00
Ian McEwen
05e181dece
protobufs: v2.3.2
2024-03-25 13:17:23 -07:00
Ian McEwen
daa5587443
re-fix pylint
2024-03-23 22:17:49 -07:00
Ian McEwen
a139d180b8
Fix up or comment out broken tests, to get CI (hopefully) happy
2024-03-23 22:07:17 -07:00
Ian McEwen
09f8405422
Remove --sendping as REPLY_APP portnum is disabled in firmware now
2024-03-23 21:25:38 -07:00
Ian McEwen
85a6d4c21b
Remove stale device_metadata_pb2 whose .proto file no longer exists
2024-03-22 11:46:29 -07:00
Ben Meadors
5537778b64
2.3.1 protobufs
2024-03-20 10:27:19 -05:00
Ian McEwen
9b5943192d
Make pylint happy with ble_interface.py
2024-03-19 13:18:15 -07:00
Ian McEwen
bf56521a53
Create Tunnel.TunnelError for specialized errors in that file
2024-03-19 13:00:06 -07:00