Commit Graph

196 Commits

Author SHA1 Message Date
Kevin Hester
119be81000 PowerStress WIP 2024-06-27 16:37:58 -07:00
Kevin Hester
ef4b534396 Merge branch 'pr-moveproto' into pr-powermon 2024-06-26 10:19:04 -07:00
Kevin Hester
88b73611f0 Move protobufs to meshtastic.protobuf python namespace 2024-06-26 10:05:59 -07:00
Kevin Hester
8761b3270a Merge remote-tracking branch 'root/master' into pr-powermon
# Conflicts:
#	meshtastic/mesh_interface.py
#	poetry.lock
#	pyproject.toml
2024-06-25 18:54:38 -07:00
Kevin Hester
7b18fd599c remove observable - switch because we are already using pubsub elsewhere 2024-06-25 10:25:58 -07:00
Federico Ceratto
b5d1b7612f Replace timeago
Replace the timeago library with a simple function
2024-06-21 09:25:39 +02:00
Ian McEwen
23f41bff0a Improve ACK handling: correctly pass them to onAckNak handlers, and add a mechanism for other handlers to request acks as well. 2024-06-20 16:52:01 -07:00
Ian McEwen
b06329f47e Remove dotmap and pexpect from setup.py, they shouldn't be required 2024-06-20 16:40:46 -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
b350b9eab9 Update the main module docstring to be a bit more accurate, at least 2024-06-01 23:03:56 -07:00
Ian McEwen
f3f6a6327d fixing copypaste error 2024-03-25 22:36:33 -07:00
Ian McEwen
d03c78518d Add missing portnums to the dict for automatic decoding as protocol buffers/text 2024-03-25 19:54:53 -07:00
Ian McEwen
a139d180b8 Fix up or comment out broken tests, to get CI (hopefully) happy 2024-03-23 22:07:17 -07:00
Ben Meadors
67636c4ce2 Revert "Move pb2 Files to Own Folder" 2024-03-11 12:18:25 -05:00
foglet15
df8ea85873 change to PbDefinitions for clearer naming 2024-02-25 14:22:15 -05:00
foglet15
10c2e753f5 fix tests imports, add sed for fixing pb2 imports 2024-02-25 14:16:31 -05:00
foglet15
9a4feecea8 move pb2 to own folder, regen script writes to new folder, update imports 2024-02-25 13:11:36 -05:00
luzpaz
0a88ca6a5c Fix various source comment typos
Found via `codespell -q 3`
2023-07-15 01:04:47 +00:00
Thomas Göttgens
7e6f13f0a2 establish trunk format 2023-03-31 20:09:59 +02:00
Mike Kinney
babd1242d5 fix pylint warnings 2022-12-20 11:18:40 -08:00
GUVWAF
7d3a9178ea Add traceroute option 2022-12-05 20:36:34 +01:00
Sacha Weatherstone
b2593e4bb1 Changes 2022-10-31 19:47:42 +10:00
GUVWAF
4fa80e9652 Add KnownProtocol for Simulator_App 2022-10-01 11:46:40 +02:00
Thomas Göttgens
8dbd6431f7 almost working 2022-06-17 12:31:18 +02:00
Ben Meadors
b79b7ceb40 Correct config 2022-06-16 20:31:14 -05:00
Thomas Göttgens
73b06248aa Update __init__.py
Device firmware requires 20300 now - change coming from android.
2022-04-25 09:15:33 +02:00
Mike Kinney
6f2efdcefe got lint and pytest working 2022-03-02 10:28:07 -08:00
Mike Kinney
48265e73b1 no need to import pygatt here 2022-01-12 15:54:07 -08:00
Mike Kinney
f3139a8aa0 add more unit tests 2022-01-12 15:50:16 -08:00
Mike Kinney
bc17e9b389 fixes for working on mac air 2022-01-11 16:36:39 -08:00
Mike Kinney
5c662822b9 need to fully qualify imports so projects consuming the library will work 2022-01-05 11:16:08 -08:00
Mike Kinney
ecf68d5544 fix some comments for doc 2021-12-28 21:08:28 -08:00
Mike Kinney
6b0521003c wip on adding unit tests to mesh_interface 2021-12-16 11:51:25 -08:00
Mike Kinney
2fcfdeb04f minor formatting; added unit tests for Node() 2021-12-16 09:10:45 -08:00
Mike Kinney
6d2a187d38 fix pylint warnings 2021-12-06 23:01:34 -08:00
Mike Kinney
b40eb08c5c refactor classes into respective files 2021-12-06 22:19:26 -08:00
Mike Kinney
cc9b6cd7b1 test MeshInterface 2021-12-06 21:01:21 -08:00
Mike Kinney
035ec09b20 fix quick and easy pylint fixes 2021-11-30 14:16:33 -08:00
Kevin Hester
19613ff53b Merge pull request #108 from ChuckNorrison/master
return and print infos
2021-09-18 16:34:54 -07:00
jdstroy
bfdb260d3a Add channelIndex parameter to sendText 2021-09-16 18:37:12 -04:00
ChuckNorrison
e117901964 return and print infos
return generated informations to the function and not just print out
2021-09-06 12:28:33 +02:00
jdstroy
88254ff0c1 Add detection for WSL1 in SerialInterface
WSL1 shares the same (buggy) driver behavior as the underlying Windows/NT platform; thus, the RTS/RTR workaround applied to Windows and OS X applies to WSL1, too.
2021-05-25 07:38:03 +00:00
Kevin Hester
a5a14f3cfe Merge remote-tracking branch 'root/master' into dev 2021-05-24 10:16:50 +08:00
Kevin Hester
9f7b584383 probable fix for the problem @avron noticed on Windows 2021-05-24 10:06:50 +08:00
iz1kga
a69a8b460e nodeDB Update, SNR, Hoplimit, LastHeard and added lastReceived 2021-05-12 08:54:36 +02:00
Kevin Hester
d6fff6cc02 force device to rsync on serial port 2021-05-03 17:06:45 +08:00
Kevin Hester
895315f64d fix formatting 2021-05-03 16:18:22 +08:00
Kevin Hester
a0d025a56c fix stalling during initial device config 2021-05-03 16:16:45 +08:00
Kevin Hester
f7afb924d7 add heartbeat timer 2021-05-03 13:01:05 +08:00
Kevin Hester
be4e777d22 mark our reader thread as daemon, so that closing devices is (kinda) optional 2021-04-16 11:26:29 +08:00