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
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
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
Ian McEwen
593b05dbcd
protobufs: v2.7.8
2025-09-12 09:46:52 -07: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
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
Ian McEwen
f5ecd28705
protobufs: v2.7.5
2025-08-18 09:52:48 -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
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
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
125f63419e
Merge branch 'master' into client-notifications
2025-07-22 09:54:17 -07:00
Ian McEwen
cad5d18aff
Merge pull request #798 from pdxlocations/export-utf8
...
Allow forced UTF-8 encoding for --export-config
2025-07-22 09:28:14 -07:00
Ian McEwen
706d0649c1
Merge pull request #801 from Cyclic3/master
...
Plumb reply_id into sendText and sendData
2025-07-22 09:23:02 -07:00
Ian McEwen
167044907d
for some reason pylint likes this better
2025-07-16 19:16:16 -07:00
flockofsparrows
d633f8c895
Add seeed xiao esp32s3 to supported devices
2025-07-09 16:23:21 -04:00
Cyclic3
ca82e1ce2b
plumb reply_id into sendText and sendData
2025-07-08 23:38:02 +01:00
pdxlocations
0ae23eec7e
don't think i needed that
2025-06-30 00:34:44 -07:00
pdxlocations
2fa85bac1f
typo
2025-06-30 00:21:15 -07:00
pdxlocations
58fc614fb7
fix test
2025-06-30 00:12:42 -07:00
pdxlocations
795b652069
export utf-8
2025-06-30 00:03:11 -07:00
pdxlocations
68a2009e0e
add more tests
2025-06-24 11:47:33 -07:00
pdxlocations
c76e4dac87
undo comment
2025-06-24 11:17:01 -07:00
pdxlocations
428be9fbce
add mesh_interface tests
2025-06-24 11:16:23 -07:00