Ian McEwen
915066e0af
add metavars for a bunch of arguments for nicer docs
2024-10-03 19:45:03 -07:00
Ian McEwen
6be3969577
Add a number of argument groups to organize the help output
2024-10-01 18:10:14 -07:00
Ian McEwen
b73cc1f499
Make it so wantconfig isn't a 1 in 4294967296 lottery for getting no nodes
2024-10-01 14:00:06 -07:00
Ian McEwen
65305af184
protobufs/alpha version: 2.5.2
2024-09-29 14:34:53 -07:00
Ian McEwen
cbd3c119fe
Fix pylint errors
2024-09-28 20:15:08 -07:00
Ian McEwen
bbd6d6a541
Change order of logging and parsing fromRadioBytes, and add a bit more traceback logging at that point
2024-09-28 20:11:52 -07:00
Ian McEwen
81db38956b
Silence pylint
2024-09-28 18:37:05 -07:00
Ian McEwen
27729995d2
Default to pkiEncrypted always on for admin messages
2024-09-28 11:13:04 -07:00
Ian McEwen
40019a9712
Add a --set-time command that set's the node time using a provided timestamp or the host system clock.
2024-09-22 09:32:04 -07:00
DJ Holt
40353a387e
Fix tests for remote position configs
2024-09-19 03:31:01 -06:00
DJ Holt
9949d144a1
Enable setting and removing fixed position via remote admin
2024-09-19 02:39:49 -06:00
Ian McEwen
48a06c6e1e
protobufs & alpha version number: v2.5.1
2024-09-18 14:58:05 -07:00
Ian McEwen
c696d59b90
Set list-type keys differently, excluding 0-like values and resetting whole list
2024-09-17 21:52:57 -07:00
Ian McEwen
4fdbcb9679
Fix test_fuzz_fromStr for floats
2024-09-17 21:10:57 -07:00
Ian McEwen
5d6dfb877b
Merge pull request #673 from djholt/feature/tcp-port
...
Allow port number to be specified with tcp hostname
2024-09-17 21:08:03 -07:00
DJ Holt
5cc9627e21
Refactor default port number to variable
2024-09-16 23:41:44 -06:00
DJ Holt
bf904c6906
Allow port number to be specified with tcp hostname
2024-09-16 23:24:03 -06:00
Derek Arnold
2026212a00
please pylint with a docstring and newline
2024-09-15 16:27:40 -05:00
Derek Arnold
34f9be255e
fix unrelated bug when fromStr input is short hex
...
For example, 0x0 will generate an unhandled ValueError. This was caught
during a random unit test run for 3.9, so I figure I'd fix it.
This is unrelated to the PR otherwise.
2024-09-15 16:20:50 -05:00
Derek Arnold
e561222ea7
add docstrings
2024-09-15 16:06:44 -05:00
Derek Arnold
73a1bbc7d5
add test coverage for changes to requestChannels
2024-09-15 16:02:59 -05:00
Derek Arnold
8f2c397fbf
missed one reference for requestChannelRetries 🤡
2024-09-15 14:01:41 -05:00
Derek Arnold
62f5201a38
Add test covering retry logic
2024-09-15 12:04:22 -05:00
Derek Arnold
9e7d5e96ab
Rename "retries" to "attempts"
...
Otherwise, semantically, it's off-by-one.
2024-09-15 12:03:51 -05:00
Derek Arnold
aa74db46cb
update message check in test to reflect new message
2024-09-15 11:59:03 -05:00
Derek Arnold
1967519deb
correct type issue during initial assignment
2024-09-15 11:52:27 -05:00
Derek Arnold
662aea049a
Merge branch 'master' into remote-admin-retry
2024-09-15 11:46:32 -05:00
Derek Arnold
44cfd72a80
make sure new_index is always an int
2024-09-15 11:39:10 -05:00
Derek Arnold
abe1dd47ca
add type to argument
2024-09-15 11:36:23 -05:00
Ian McEwen
584a14f578
Merge pull request #668 from ianmcorvidae/channel-preset-optimize
...
Change modem preset shortcuts to not request channels, and to request remote config when needed
2024-09-12 16:20:59 -07:00
Ian McEwen
cc2067b729
clean up settings response to use CopyFrom to be better at repeated and nested fields
2024-09-11 17:10:04 -07:00
Ian McEwen
3bbd02c915
Detect repeating fields using field labels, enabling admin key to be set
2024-09-11 16:34:03 -07:00
Ian McEwen
21ff4a1a4a
Split factory reset into two variants
2024-09-11 09:40:26 -07:00
Ian McEwen
43b0993aaa
Merge branch 'master' into 2.5
2024-09-11 09:19:43 -07:00
Ian McEwen
33a13f715e
2.4.3 prep (protobufs, alpha version)
2024-09-11 09:12:41 -07:00
Ian McEwen
8ba92da7cf
Change modem preset shortcuts to not request channels, and to request remote config when needed
2024-09-06 23:38:52 -07:00
Ian McEwen
0d26c26f7e
update protobufs to master
2024-09-06 23:13:31 -07:00
Ian McEwen
78d8403bbd
Update telemetry in interface.nodes on receiving device metrics packets
2024-09-06 00:08:20 -07:00
Ian McEwen
0813e8dba6
protobufs: v2.4.2; bump to alpha version
2024-09-05 14:27:38 -07:00
Ian McEwen
399dd477b8
Merge branch 'master' into 2.5
2024-09-05 14:00:35 -07:00
Ian McEwen
17f3605736
Ensure set-owner combined with set-owner-short sets both values
2024-09-05 13:58:02 -07:00
Ian McEwen
a689fd73a2
Deprecate --no-time and remove behavior, followup to #663
2024-09-05 13:49:28 -07:00
Ian McEwen
da30e1141a
Merge pull request #663 from meshtastic/outtatime
...
Don't automatically set the time from Python
2024-09-05 13:47:36 -07:00
Derek Arnold
3811226a61
add a configurable timeout
2024-09-03 22:12:03 -05:00
Derek Arnold
b6547c9737
actually link up the retry args from the commandline to getNode
2024-09-03 22:11:52 -05:00
Derek Arnold
9612aea9b9
Add in a retry mechanism for channel settings
...
Attempts multiple times to fetch things over the admin channel
before giving up.
2024-09-03 21:58:16 -05:00
Derek Arnold
aed4f25cf5
Reuse node to prevent overwriting channel settings to be sent out over the admin channel
2024-09-03 17:41:05 -05:00
Jonathan Bennett
5c312bedc1
Remove assert from test, due to removed position time
2024-08-30 01:15:40 -05:00
Jonathan Bennett
428e9a228c
Remove unused time variable
2024-08-29 23:09:04 -05:00
Jonathan Bennett
4500850063
Don't automatically set the time from Python
...
The Python MO is to do as little as possible beyond what the user has intentionally instructed. So don't try to set the time automatically.
2024-08-29 22:29:20 -05:00