David Andrzejewski
c7c3c69fc3
Fix a pylint error regarding typing.
2025-02-18 22:08:26 -05:00
David Andrzejewski
53e40d5aab
Fix a pylint error
2025-02-18 22:05:46 -05:00
David Andrzejewski
dd3da6a670
Merge remote-tracking branch 'origin/master'
2025-02-18 21:18:59 -05:00
David Andrzejewski
e500b399f4
Merge branch 'meshtastic:master' into master
2025-02-18 21:18:48 -05:00
David Andrzejewski
27ac28e300
Fixing indentation per project coding standards.
2025-02-18 21:18:22 -05:00
David Andrzejewski
6bc5f5e305
Fix count vs len on a list ( https://github.com/meshtastic/python/pull/736#discussion_r1960099918 )
2025-02-18 21:15:31 -05:00
Ian McEwen
5837bd0172
Merge pull request #734 from dudash/master
...
catch unhandled OSError when serial port in use
2025-02-18 09:52:03 -07:00
Ian McEwen
5487f7a791
Merge pull request #735 from tache/master
...
Added descriptive FileNotFoundError handler for serial device connection
2025-02-18 09:51:17 -07:00
Ian McEwen
0962c9b058
protobufs: v2.5.22
2025-02-18 09:43:32 -07:00
Ian McEwen
4f98602ac2
ignore argcomplete import in main
2025-02-18 09:41:54 -07:00
David Andrzejewski
6ebddb67c0
Refactored showNodes. It now uses a lookup table to determine the human-readable names of the fields.
2025-02-15 17:18:14 -05:00
David Andrzejewski
82554a1f18
Add optional parameter to specify what fields to show with --nodes
2025-02-15 02:23:13 -05:00
tache
8c115dc636
Added descriptive FileNotFoundError handler for serial device connection
...
- Added a detailed error message for FileNotFoundError when the serial device is not found.
- Included troubleshooting steps for common issues.
2025-02-09 14:23:31 -05:00
dudash
e2fe359527
catch unhandled OSError when serial port in use
2025-02-08 14:51:53 -05:00
Ian McEwen
fc3b81dfde
protobufs: v2.5.20
2025-01-24 10:19:13 -07:00
Michael Gillett
1e6625d062
feature/nodes-add-role
2025-01-21 22:31:33 -05:00
Ian McEwen
aac19b2ecc
protobufs: v2.5.19
2025-01-10 10:06:40 -07:00
Ian McEwen
ec4fbe3a59
protobufs: v2.5.18
2024-12-28 20:18:13 -07:00
Ian McEwen
6bab385380
Tweak error messaging in the onReceive function for sendtext packets
2024-12-27 10:04:36 -07:00
Ian McEwen
f4c085fc50
Merge pull request #714 from loic-fejoz/feature/waypoint
...
Waypoint creation/move/deletion
2024-12-27 09:46:45 -07:00
Ian McEwen
57f0598082
Fix some pylint complaints
2024-12-27 09:40:17 -07:00
Ben Meadors
d161291ca4
Add sendAlert method on mesh interface
2024-12-22 09:09:54 -06:00
Ian McEwen
0b1545393e
Make mypy happy with the optional import of argcomplete
2024-12-21 20:23:35 -07:00
Ian McEwen
245a9e40b1
Add very simple shell completion using argcomplete
2024-12-21 20:12:26 -07:00
Ian McEwen
afd071c24e
Fix windows-11 detection for non-float platform.release() values ( fixes #639 )
2024-12-21 14:17:41 -07:00
Ian McEwen
4b6d7a8587
Support setting nodes ignored in nodedb (with 2.5.13+ firmware)
2024-12-21 13:46:17 -07:00
Loïc Fejoz
7cc18e9df6
fix(waypoint): Missing methods
...
Add missing methods callbacks regarding waypoints.
2024-12-21 10:36:36 +01:00
Ian McEwen
a765bccf4d
Merge pull request #718 from ianmcorvidae/show-unknown-more-nicely
...
Display unknown hop count as '?', and header as just 'Hops'
2024-12-20 23:08:19 -07:00
Ian McEwen
f950ecae2d
Display unknown hop count as '?', and header as just 'Hops'
2024-12-20 23:04:36 -07:00
Ian McEwen
df191e149b
Merge pull request #713 from esev/favorite
...
Support setting/removing nodes as favorites
2024-12-20 22:36:23 -07:00
Ian McEwen
ff7dcc3afb
Merge branch '2.5.6-hotfix'
2024-12-20 14:47:52 -07:00
Ian McEwen
d66b8fa9dd
fix import-related errors
2024-12-20 14:45:54 -07:00
Ian McEwen
f6f8ccfcbc
Fix message_to_json_shows_all test for added MyNodeInfo fields
2024-12-20 13:51:27 -07:00
Ian McEwen
cace959ca4
Update protobufs (to 2.5.17) and main python version (to 2.5.7)
2024-12-20 13:45:58 -07:00
Loïc Fejoz
9284a848f2
feat(waypoint): Waypoint creation/deletion
...
Add methods to send (create or move), delete waypoint.
Add an example script to create, move, delete waypoint.
2024-12-18 17:36:58 +01:00
Eric Severance
18ac0d6d5c
Support setting/removing nodes as favorites
2024-12-17 17:38:51 -08:00
Ian McEwen
d87eddfd33
Make pyqrcode optional
2024-12-12 21:01:38 -07:00
Ian McEwen
31f322f1c2
Make dotmap (via meshtastic.test) and print_color optional
2024-12-12 20:59:22 -07:00
Ian McEwen
c63814358a
prep 2.5.6a0 & protobufs
2024-11-26 14:31:33 -07:00
Ben Meadors
b180b6fb15
Allow request-telemetry to illicit LocalStats response
2024-11-24 08:19:40 -06:00
Ian McEwen
4c7ac60be6
appease mypy too
2024-11-15 11:55:25 -07:00
Ian McEwen
0b086d10f8
appease pylint
2024-11-15 11:50:35 -07:00
Ian McEwen
426795fccd
semi-experimentally, add fallback code for message_to_json, allowing older protobuf library versions
2024-11-15 11:47:17 -07:00
Ian McEwen
fb88ee114c
bump protobufs to 2.5.5
2024-11-01 09:06:02 -07:00
Ian McEwen
384063db19
Fix some remaining mypy complaints
2024-10-29 06:47:16 -07:00
Ian McEwen
20d75d9023
Merge branch 'master' into wls_add_types2
2024-10-29 06:19:16 -07:00
Ian McEwen
1070d9202b
Merge pull request #698 from lachesis/lachesis/fix-remote-module-cfg-get
...
Add missing camel to snake conversion
2024-10-28 20:35:10 -07:00
Felix Moessbauer
578d3e4b24
do not double-print value when setting a repeated value
...
When clearning or appending to a repeated value, both the "Clearing..."
/ "Adding..." line and the "Set..." line were shown. However, this is
misleading as the only performed operation is the clearing / appending.
We fix this by directly returning from the function in case of clearing
/ appending.
2024-10-25 17:11:06 +02:00
Felix Moessbauer
4ca13bcede
fix setting of list item on configure
...
When setting the whole configuration via --configure, list types like
adminKey need special handling. Previously this failed as a list cannot
be appended to a list. The new code adds dedicated logic to replace the
repeated value when passing a list. Also, all items of that list are
converted into the correct (typed) form before setting them.
2024-10-25 17:11:06 +02:00
Felix Moessbauer
6ceae7c72f
setPref: pass typed value instead of string
...
By passing a typed value we can conserve the type information to later
use that to convert it back into the correct protobuf type. The type
conversion is now done inside setPref.
2024-10-25 17:11:06 +02:00