SpudGunMan
f6f1b748dc
hashGen fix
...
using from https://raw.githubusercontent.com/pdxlocations/mudp/refs/heads/main/mudp/encryption.py
@pdxlocations
2025-10-22 14:21:46 -07:00
SpudGunMan
d2d9c03bc8
tidy up the autobot
2025-10-22 14:19:52 -07:00
SpudGunMan
c44f9b1bb4
Add Channel Hash Utility to Node class
...
### Summary
- Added a new method `get_channels_with_hash()` to the `Node` class.
- This method returns a list of dictionaries, each containing the channel index, role, name, and a hash value derived from the channel name and PSK.
- The hash is calculated using the existing `generate_hash` utility, ensuring consistency with other parts of the codebase.
- This utility makes it easier to programmatically access channel metadata, including a unique hash, for scripting, debugging, or integration purposes.
### Motivation
- The protobuf `Channel` objects do not include a hash value by default.
- This addition provides a Pythonic, easy-to-use way to access channel info and a unique hash for each channel, which can be useful for diagnostics, scripting, or UI display.
### Example Usage
```python
channels = node.get_channels_with_hash()
for ch in channels:
print(f"Index {ch['index']}: {ch['role']} name='{ch['name']}' hash={ch['hash']}")
```
### Impact
- No breaking changes; existing APIs and CLI output remain unchanged.
- The new method is additive and can be used where needed for enhanced channel introspection.
2025-10-22 10:42:54 -07:00
Ian McEwen
dcd077d85e
Merge pull request #839 from horrible-knots/master
...
Plumb timeout from --timeout through MeshInterface
2025-10-17 08:47:42 -07:00
horrible-knots
2de7c30a27
Plumb timeout from --timeout through MeshInterface
...
Fix C0301: Line too long
Ignore the pylint for 6 positional arguments
2025-10-13 17:35:30 -04:00
Ian McEwen
7554c03a26
protobufs: v2.7.10
2025-09-24 21:20:49 -07:00
github-actions
3615135e97
bump version to 2.7.3
2.7.3
2025-09-18 16:42:32 +00:00
Ian McEwen
cfb23788e1
Merge pull request #812 from shukari/loggingHandler2
...
Added Logging Handler Names & windows pytest support
2025-09-18 09:26:55 -07:00
Ian McEwen
14ff3eb9c4
Merge branch 'master' into loggingHandler2
2025-09-18 09:26:32 -07:00
Ian McEwen
47e5b04d3b
protobufs: v2.7.9
2025-09-18 09:24:33 -07:00
github-actions
e5159f1156
bump version to 2.7.2
2.7.2
2025-09-12 16:49:34 +00:00
Ian McEwen
593b05dbcd
protobufs: v2.7.8
2025-09-12 09:46:52 -07:00
Ian McEwen
f519d1f2d2
Merge pull request #818 from pdxlocations/check-module-bitmask
...
Fix Getting and Setting Excluded Modules: Ringtone and Canned Messages
2025-09-12 09:44:29 -07:00
Ian McEwen
8b36561406
Merge pull request #821 from shukari/contributionHelp
...
Added Github CONTRIBUTING.md file
2025-09-12 09:43:30 -07:00
shukari
e2b4948d45
Github CONTRIBUTING.md file
2025-09-09 18:17:29 +02:00
pdxlocations
7e3d347b63
remove trailing whitespaces
2025-08-29 23:19:22 -07:00
pdxlocations
c6efccdbd2
init
2025-08-29 23:11:26 -07:00
shukari
fe093ac34b
fix errors and better linux/windows handling in tests
2025-08-21 15:56:10 +02:00
Ian McEwen
2b10459db0
remove dangling submodule
2025-08-20 10:13:27 -07:00
shukari
dd238dcbe3
ignore pathlib import
2025-08-19 22:03:37 +02:00
shukari
e330afc899
more paths to os.path.join
2025-08-19 13:38:59 +02:00
shukari
a63f3f6e94
use os.path.join for path
2025-08-19 11:23:22 +02:00
shukari
52eb112b95
new Parameter --debuglib for only meshtastic debug, more termios fixes for windows tests
...
(cherry picked from commit 4fc4d41d3d29998bb7b697bf412be5c1449ea950)
2025-08-19 11:14:38 +02:00
github-actions
d53ced216c
bump version to 2.7.1
2.7.1
2025-08-18 19:40:36 +00:00
Ian McEwen
f5ecd28705
protobufs: v2.7.5
2025-08-18 09:52:48 -07:00
Ian McEwen
82ad9b2f51
Merge pull request #813 from pdxlocations/unmess-unmessageable
...
Fix --set-owner by calling setOwner!
2025-08-18 09:50:28 -07:00
shukari
cbf7b9befe
pylint: test_mesh_interface.py line too long
2025-08-09 16:58:48 +02:00
shukari
f3ba660cf4
fix: lint error
2025-08-07 13:30:47 +02:00
shukari
4b143030d3
system independent path separators; pytest for windows fixes
2025-08-07 12:05:43 +02:00
pdxlocations
03aaa4c98e
always call setOwner
2025-08-06 21:58:42 -07:00
shukari
a79e17a575
fix test_exit_with_exception test, pytest for windows
...
- test are now runable on windows, some are ignored and a fake termios for the decorators
- test_exit_with_exception with a true exception
2025-08-06 23:01:40 +02:00
shukari
38b163fa89
move logger init to the end of the import block for mesh_interface
2025-08-06 20:00:42 +02:00
shukari
af4947d020
move logger init to the end of the import block
2025-08-06 19:54:08 +02:00
shukari
db1891b651
Added Logging Handler Names
2025-08-06 18:21:32 +02:00
github-actions
d7d9c7219a
bump version to 2.7.0
2.7.0
2025-08-01 22:56:21 +00:00
Ian McEwen
c60b5d4b05
Add some extra fields that now appear in MyNodeInfo to tests
2025-08-01 15:53:13 -07:00
Ian McEwen
83d82c518a
Merge pull request #807 from pdxlocations/export-true-defaults
...
Export missing defaults when set False
2025-08-01 15:51:05 -07:00
Ian McEwen
8a95ce4636
protobufs: v2.7.4
2025-08-01 15:48:32 -07:00
pdxlocations
0261313fc5
add test
2025-07-27 12:10:05 -07:00
pdxlocations
c1a6234694
make tuple type hint explicit
2025-07-26 23:16:50 -07:00
pdxlocations
66e32f812a
fix launch.json punctuation
2025-07-26 22:35:18 -07:00
pdxlocations
eb85439000
rename function
2025-07-26 22:27:10 -07:00
pdxlocations
885eb4898d
init
2025-07-26 22:20:19 -07:00
Ian McEwen
172c123990
protobufs: v2.7.3
2025-07-22 17:26:15 -07:00
Ian McEwen
fcdd83838b
Merge pull request #795 from pdxlocations/canned-config
...
Add Ringtone and Canned Messages to --export-config and --configure
2025-07-22 17:22:11 -07:00
Ian McEwen
58967e1d91
Merge pull request #794 from pdxlocations/is-unmessageable
...
add --set-is-unmessageable to CLI commands
2025-07-22 17:07:50 -07:00
pdxlocations
17f7e8e20e
don't check for typoed keyword
2025-07-22 11:23:45 -07:00
pdxlocations
9b5a889676
combine arguments
2025-07-22 10:17:40 -07:00
pdxlocations
ce7c61861f
Merge branch 'master' into is-unmessageable
2025-07-22 10:15:19 -07:00
Ian McEwen
4adcbb6787
Merge pull request #743 from ianmcorvidae/client-notifications
...
Add handling of clientNotification on FromRadio
2025-07-22 09:55:19 -07:00