Ian McEwen
7950798378
quick-win review fixes
2026-07-06 14:36:25 -07:00
Ian McEwen
bffaff1c71
Update ch-preset shorthand arguments
2026-07-06 14:16:12 -07:00
Ian McEwen and Copilot Autofix powered by AI
b05e545396
guard against None
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-07-01 15:21:25 -07:00
Ian McEwen
b6a13d58fe
Refactor DeviceProfile import/export and harden handling
...
- Unify parsing for yaml/DeviceProfile paths
- Improve autodetection
- Ensure partial-config behavior with yaml
- gate configuration to local node (avoiding some pre-existing bugs)
- gate fixed position updates behind explicit opt-in via position settings field
- use setOwner properly
- tests, tests, and more tests
2026-07-01 13:57:42 -07:00
tylerpieper
8c5efb926c
add support for .cfg export/import
...
adds binary import and export to mirror functionality of android (and soon ios) app
2026-06-29 14:41:16 -07:00
Ian McEwen
fa01cb7a5d
Fix mypy complaint
2026-06-26 11:09:15 -07:00
Ian McEwen
dcdbda0524
feat: add named-flag/power-of-2 bitfield support to --set
...
This enables e.g. `--set position.position_flags ALTITUDE,SPEED`
rather than the dedicated `--pos-flags`, and similarly for
`network.enabled_protocols`.
Displaying these named values when printing out configurations
is not yet implemented.
2026-06-26 11:01:19 -07:00
Ian McEwen
990ecc2350
Better document how to specify a port when using TCP connection
...
Fixes #868
Also, fix a pylint complaint.
2026-06-25 14:46:45 -07:00
Ian McEwen
7fc69e957c
Fail earlier if the ota update file isn't found
2026-06-25 14:28:32 -07:00
Ian McEwen
1cffae6add
Add support for adding contacts using the CLI, including remotely
2026-06-14 15:28:07 -07:00
Ian McEwen
c575547fae
Merge branch 'review/pr-894'
...
Closes #894
2026-05-31 18:10:59 -07:00
Ian McEwen
f9a1357816
Add a BLEError 'kind' field and branch on it instead of string matching
2026-05-31 18:03:26 -07:00
Ian McEwen
15ce4968db
pylint fix
2026-05-31 12:48:18 -07:00
Ian McEwen
9c0b253103
Merge branch 'review/pr-883'
...
Closes #883
2026-05-31 12:43:49 -07:00
Ian McEwen
c7f43b3100
Document the use of --ch-index along with --reply a little
2026-05-31 12:43:38 -07:00
Ian McEwen
1e4822fe87
Merge pull request #898 from skgsergio/feat/esp32-unified-ota
...
feat: Add ESP32 WiFi Unified OTA update support
2026-03-02 10:19:20 -07:00
Ian McEwen
cd9199bc00
Apply suggestion from @ianmcorvidae
2026-03-02 09:34:36 -07:00
pdxlocations and Ian McEwen
04a23ae882
Update meshtastic/__main__.py
...
Co-authored-by: Ian McEwen <ianmcorvidae@ianmcorvidae.net >
2026-03-02 08:26:18 -08:00
pdxlocations
b003214d1b
Fix property fallback
2026-03-01 08:58:42 -08:00
pdxlocations
414a621091
add fallback for older protobuf dependency
2026-03-01 08:44:37 -08:00
pdxlocations
a87065a081
fix: update repeated field checks to use is_repeated property
2026-02-28 22:11:11 -08:00
Sergio Conde
4d8430d360
fix: throw propper exceptions and cleanup code
2026-02-01 11:39:09 +01:00
Ben Meadors and Copilot
bf580c36ae
Update meshtastic/__main__.py
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-31 18:15:25 -06:00
Sergio Conde
1eb13c9953
feat: Add ESP32 WiFi Unified OTA update support
2026-01-31 16:44:03 +01:00
Aleksei Sviridkin and Claude
1fc2407c5e
fix(cli): add timeout error handling for serial connections
...
Handle MeshInterface.MeshInterfaceError when device is rebooting
or connection times out, with user-friendly error message.
Co-Authored-By: Claude <noreply@anthropic.com >
Signed-off-by: Aleksei Sviridkin <f@lex.la >
2026-01-26 11:07:16 +03:00
Aleksei Sviridkin and Claude
25ffd25fda
fix(ble): handle BLEError with user-friendly messages
...
Replace raw tracebacks with helpful error messages that explain:
- What went wrong
- Possible causes
- How to fix it
Covers all BLEError cases:
- Device not found (BLE disabled, sleep mode, out of range)
- Multiple devices found (need to specify which one)
- Write errors (pairing PIN, Linux bluetooth group)
- Read errors (device disconnected)
Co-Authored-By: Claude <noreply@anthropic.com >
Signed-off-by: Aleksei Sviridkin <f@lex.la >
2026-01-26 11:07:13 +03:00
Rob
c8b1b8ea6f
Filter --reply based on specified channel index
...
Ensures that automatic replies are sent back on the same channel index the message was received on. Previously, all replies defaulted to the primary channel (0), even if the incoming message arrived on a secondary channel. Additionally it ensures incoming messages match the specified channel index.
E.g: meshtastic --ch-index 1 --reply .
Modified the `onReceive` handler to extract the `channel` index from received packets. This ensures `interface.sendText` targets the originating channel rather than always defaulting to the primary channel. Added a filter to ensure that only the specified channel index is being replied to.
2025-12-26 15:17:46 -05:00
Travis-L-R
ccb530574b
Splitting true_defaults for moduleConfig out in export_config()
2025-11-11 21:03:01 +10:30
Ian McEwen
87682c153b
Merge pull request #834 from NillRudd/feat/cli-ignore-formats
...
CLI: normalize lora.ignore_incoming IDs (dec/!hex/0x), dedupe, YAML [] clear, fix bytes→int crash
2025-11-06 14:19:57 -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
Niklas Roslund
43a685f012
cli: notmalize ignore IDs for dec, hex and 0x. support YAML [] clear
...
Signed-off-by: Niklas Roslund <nroslund@kth.se >
2025-10-05 12:55:59 +02:00
Ian McEwen
14ff3eb9c4
Merge branch 'master' into loggingHandler2
2025-09-18 09:26:32 -07:00
pdxlocations
c6efccdbd2
init
2025-08-29 23:11:26 -07: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
pdxlocations
03aaa4c98e
always call setOwner
2025-08-06 21:58:42 -07: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
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
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
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
167044907d
for some reason pylint likes this better
2025-07-16 19:16:16 -07: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
795b652069
export utf-8
2025-06-30 00:03:11 -07:00