Ian McEwen
f9a1357816
Add a BLEError 'kind' field and branch on it instead of string matching
2026-05-31 18:03:26 -07:00
Aleksei Sviridkin
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
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
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
pdxlocations
308ac93399
add to configure
2025-06-24 07:40:11 -07:00
pdxlocations
84417f0bb1
working export-config
2025-06-23 22:39:24 -07:00
pdxlocations
0bb3389b3b
init
2025-06-23 22:11:50 -07:00
pdxlocations
373b8a3139
combine with set_owner handling
2025-06-23 16:14:59 -07:00
Ian McEwen
c55f1ef610
Merge pull request #782 from Crank-Git/validate-short-and-long-names
...
Add validation/prevent --set-owner, --set-owner-short, and --set-ham from accepting empty or whitespace-only names
2025-06-23 09:15:47 -07:00
pdxlocations
b73fcbff88
didn't spell it wrong
2025-06-21 13:50:30 -07:00
pdxlocations
1b5b07e752
add --set-is-unmessageable
2025-06-21 13:44:25 -07:00
pdxlocations
8e48d141c8
add sleeps
2025-06-08 23:32:32 -07:00
Crank-Git
8a6ee5fb35
fixed assertion errors by replace ham id with ham radio callsign, fixed _sendAdmin assertion
2025-06-08 20:39:26 -04:00
Crank-Git
23be2d2189
Add validation/prevent --set-owner, --set-owner-short, and --set-ham from accepting empty or whitespace-only names. This is in relation to meshtastic#6867 firmware feature request https://github.com/meshtastic/firmware/issues/6867
2025-06-08 18:16:49 -04:00
Ian McEwen
852949575b
Enable setting things from more than one configuration section with --set, using a configuration transaction.
2025-02-20 11:39:16 -07:00
Ian McEwen
f41ef042a9
Merge pull request #708 from mikeymakesit/add-channel
...
Add new channels from an add URL with the new --ch-add-url option
2025-02-19 10:18:09 -07:00
Ian McEwen
84bec5a7c4
fix up misc. lint/type/test issues, streamline, align argument names and groupings
2025-02-19 10:15:27 -07:00
Ian McEwen
985366c812
Merge pull request #710 from digitaldisarray/master
...
Add text message port cli option
2025-02-19 09:55:01 -07:00
Ian McEwen
3954fbd404
fix misc lint, test, type complaints from CI
2025-02-19 09:52:16 -07:00
Ian McEwen
5f174b2850
Merge pull request #731 from migillett/464/0x-prefix
...
464: allow for 0x node prefix values
2025-02-19 09:30:15 -07:00
Michael Gillett
23ea19c00b
linter fixes following failed build
2025-02-19 11:26:49 -05:00
Ian McEwen
68ec588804
remove trailing whitespace
2025-02-19 09:15:45 -07:00
David Andrzejewski
e500b399f4
Merge branch 'meshtastic:master' into master
2025-02-18 21:18:48 -05:00
Michael Gillett
c844e4e0fe
help details for new prefix values
2025-02-18 15:25:24 -05:00
Michael Gillett
060df86bb6
Update __main__.py
2025-02-18 15:10:55 -05:00
Michael Gillett
7d87d5037e
Update __main__.py
2025-02-18 15:10:26 -05:00
Michael Gillett
4ec7698d94
metavars being a PAIN
2025-02-18 15:09:59 -05:00
Michael Gillett
7cc65aa08a
missed one
2025-02-18 15:06:20 -05:00