Ian McEwen
5c703aff1d
Merge pull request #591 from ianmcorvidae/device-metadata-resp
...
Wait for response with --device-metadata. Fixes #527
2.3.11
2024-06-08 07:29:45 -07:00
Ian McEwen
5441266565
Wait for response with --device-metadata. Fixes #527
2024-06-08 07:26:20 -07:00
Ian McEwen
890557fa5d
Merge branch 'more-tests'
2024-06-05 19:58:03 -07:00
Ian McEwen
e27d210a71
Test with --dest on setlat/remove-position for the error/exit case
2024-06-05 19:57:40 -07:00
Ian McEwen
16c08b8b47
Add simple --remove-position test
2024-06-05 19:54:12 -07:00
Ian McEwen
ebd3c7f5e8
Add test for fromStr base64 branch
2024-06-05 19:48:58 -07:00
Ian McEwen
da0312a5b0
more miscellaneous types
2024-06-05 19:44:18 -07:00
Ian McEwen
919ae8c40f
make pylint happy, again
2024-06-05 19:32:45 -07:00
Ian McEwen
dd4fccbc77
Add a fairly simple property-based test as a starting point
2024-06-05 19:29:55 -07:00
Ian McEwen
32682b5230
Merge pull request #589 from ianmcorvidae/nodeless-startup
...
Allow a faster nodedb-less startup on 2.3.11+ with `--no-nodes`
2024-06-05 18:59:18 -07:00
Ian McEwen
9dab76bb64
quell pylint
2024-06-05 18:56:19 -07:00
Ian McEwen
e6d61c6603
Allow a faster nodedb-less startup on 2.3.11+ with --no-nodes and the magic value from meshtastic/firmware#3949
2024-06-05 18:52:35 -07:00
Ian McEwen
ee857c5128
Merge pull request #588 from nerdenator/quick-coverage
...
quick-coverage: simple test case just to cover uncovered code.
2024-06-03 23:22:33 -07:00
Nerdenator
87a4bb0888
quick-coverage: fixing linting issues.
2024-06-04 01:15:10 -05:00
Nerdenator
d72cc0e201
quick-coverage: simple test case just to cover uncovered code.
2024-06-04 01:01:32 -05:00
Ian McEwen
b350b9eab9
Update the main module docstring to be a bit more accurate, at least
2024-06-01 23:03:56 -07:00
Ian McEwen
dc112f2f3a
protobufs: v2.3.11
2024-06-01 12:04:01 -07:00
github-actions
14ae4eeac1
bump version
2024-06-01 18:47:51 +00:00
Ian McEwen
bbc526d0a8
Merge pull request #584 from ianmcorvidae/improve-fixed-position
...
Use new fixed position admin messages and add `--remove-position` argument
2.3.10
2024-06-01 00:44:17 -07:00
Ian McEwen
abe98f5079
Merge pull request #585 from ianmcorvidae/position-rounding
...
Fix rounding of position values when converting from integer to float in _fixupPosition
2024-06-01 00:42:58 -07:00
Ian McEwen
e8dfee8454
Fix rounding of position values when converting from integer to float in _fixupPosition. Fixes #572
2024-05-31 18:57:30 -07:00
Ian McEwen
1746ad15d7
Use new fixed position admin messages and add --remove-position argument. Fixes #525
2024-05-31 18:44:33 -07:00
Ian McEwen
4d67e7fc76
Fix up/add some more types
2024-05-30 17:51:42 -07:00
Ian McEwen
3b112d2f49
Merge pull request #583 from ianmcorvidae/update-unknown-node-setup
...
Initialize unknown nodes more in line with meshtastic/design#16 ; show hardware in --nodes
2024-05-30 15:52:16 -07:00
Ian McEwen
93e9c1c66c
Initialize unknown nodes more in line with meshtastic/design#16
2024-05-30 13:50:52 -07:00
Ian McEwen
8e641b3186
Merge pull request #581 from 868meshbot/868meshbot-fix-ignore-incoming
...
Fix the ignore_incoming management BUG 568
2024-05-26 00:03:11 -07:00
Ian McEwen
ed545cd9b4
Merge pull request #580 from todd-herbert/wait-to-disconnect
...
Add "wait to disconnect" argument
2024-05-26 00:02:08 -07:00
868meshbot
bcd60c9ef7
Update __main__.py
...
Simple patch to fix the ignore_incoming management aka
https://github.com/meshtastic/python/issues/568
2024-05-25 16:28:16 +01:00
Todd Herbert
c3d044e3f2
Optional pause before disconnecting
2024-05-24 17:10:07 +12:00
Ian McEwen
8d538e8f24
protobufs: v2.3.10
2024-05-18 12:56:41 -07:00
github-actions
fa1a3d7901
bump version
2024-05-18 00:15:11 +00:00
Ian McEwen
3adeb925dd
tweak the roadmap in README a little
2.3.9
2024-05-14 16:05:21 -07:00
Ian McEwen
9de04a12e1
Merge pull request #574 from ianmcorvidae/warn-enable-disable
...
add a warning on --ch-enable and --ch-disable, which should usually be avoided
2024-05-13 21:30:01 -07:00
Ian McEwen
e01a1bb6e0
add a warning on --ch-enable and --ch-disable, which should usually be avoided
2024-05-13 21:27:53 -07:00
Ian McEwen
1ebea53703
make pylint happy with import order
2024-05-11 22:28:50 -07:00
Ian McEwen
ba2d6c9d93
continue progressively typing things (SerialInterface/BLEInterface initializations)
2024-05-11 22:27:31 -07:00
Ian McEwen
fef0e1b77f
Remove an unuseful/inaccurate comment
2024-05-10 20:17:48 -07:00
Ian McEwen
dc1dec17b5
protobufs: v2.3.9
2024-05-10 14:56:07 -07:00
Ian McEwen
02ed17837b
Improve FromRadio handling, publish messages for client proxy/xmodem stuff tentatively
2024-05-10 14:54:32 -07:00
Ian McEwen
8cf996a242
Merge pull request #564 from jhollowe-forks/fix-help-typo
...
Fix typo in __main__.py
2024-05-02 19:04:08 -07:00
John Hollowell
02189aae07
Fix typo in __main__.py
2024-05-02 21:51:09 -04:00
Ian McEwen
894581ce00
Merge pull request #563 from ianmcorvidae/show-channel-0
...
Print 0 for channel rather than N/A, since we should probably always have a channel
2024-05-02 18:29:00 -07:00
Ian McEwen
fb8db01427
Print 0 for channel rather than N/A, since we should probably always have a channel. Fixes #562
2024-05-02 18:22:39 -07:00
github-actions
fa5ede93ed
bump version
2024-05-01 16:42:38 +00:00
Ian McEwen
022a8a1017
protobufs: v2.3.8
2.3.8
2024-05-01 09:40:04 -07:00
Ian McEwen
21f6e25ab0
Merge pull request #561 from ianmcorvidae/use-heartbeat
...
Use the new Heartbeat payload variant for the heartbeat instead of an empty ToRadio packet
2024-04-29 15:18:23 -07:00
Ian McEwen
243e297505
Use the new Heartbeat payload variant for the heartbeat instead of an empty ToRadio packet
2024-04-29 15:16:04 -07:00
Ian McEwen
9fc86f9450
Merge pull request #558 from geeksville/pr-fixjson
...
Pretty indent --info JSON output (see below for details)
2024-04-28 21:40:43 -07:00
Ian McEwen
e5999f5be6
Merge pull request #560 from geeksville/pr-fixchannel
...
(high-pri fix) Update python client to use the 'modern' meshtastic protocol init flow
2024-04-28 19:53:04 -07:00
geeksville
3886bc16d7
Update python client to use the 'modern' meshtastic protocol init flow
...
Some time ago I updated the protocol so that after sending NODEINFOs to
client devices (via fromRadio protobufs), it would proactively send the
channel definitions. Prior to this the client had to ask for each channel
by sending an admin request. This handshaking was really slow for mobile/
bluetooth clients. So in the current device code (last couple of years)
the device automatically sends this info to the client during initial config
download.
Unfortunately I never updated the python client to expect this. I assumed
(incorrectly) that it would just cope and keep sending the channel requests
the old way it always had (which is still supported by devices - and
required for remote administration of nodes).
This change removes sending channel requests (for the local node only)
from the python startup code. It also now understands (no longer ignoring)
the channels which were sent proactively by the local device.
This makes connection/config/api operations from the python client 100%
reliable again. Previously it would only work sometimes depending on how
quickly it was able to get the local node db downloaded.
Also this flow is much faster - which should help all users of the python
api.
2024-04-27 11:59:17 -07:00