Commit Graph

  • 188f9d593c Add handler for new log-record BLE characteristic Ben Meadors 2024-07-01 06:16:49 -05:00
  • 0e6a0eb1d0 Merge pull request #626 from ianmcorvidae/ble-older-firmware Ben Meadors 2024-07-01 06:16:04 -05:00
  • 3b4690e932 appease the linter Ian McEwen 2024-07-01 00:00:59 -07:00
  • 49bd9cb515 Support --ble on older firmwares that don't have the log-radio characteristic yet. Ian McEwen 2024-06-30 23:40:11 -07:00
  • 33c5be5219 Update doc string for --pos-fields to use valid values Ian McEwen 2024-06-30 23:25:57 -07:00
  • 9ffdc30c1f Make remote hardware args live in their own little box Ian McEwen 2024-06-30 23:25:07 -07:00
  • 98b7a7d0df Merge pull request #625 from ianmcorvidae/nargs2 Ian McEwen 2024-06-30 16:54:52 -07:00
  • abdfbc673e Allow connection args without an argument, add argument aliases Ian McEwen 2024-06-30 16:52:31 -07:00
  • 42ea29be8f Merge pull request #624 from geeksville/pr-bletweak Ian McEwen 2024-06-30 15:59:24 -07:00
  • 6da04f7a15 Merge branch 'pr-bletweak' into pr-powermon Kevin Hester 2024-06-30 13:03:33 -07:00
  • 111d61ea0a bleak reads can hang if a device walks out of range, cope with that. Kevin Hester 2024-06-30 13:00:12 -07:00
  • 9e71e85c9f Merge pull request #621 from ianmcorvidae/str-concat-trace Ian McEwen 2024-06-30 10:05:50 -07:00
  • 93fbc78492 Properly handle missing nodes in traceroute response (fixes #612) Ian McEwen 2024-06-30 10:04:54 -07:00
  • e331bea4ea make typing a little more 3.8-approved Ian McEwen 2024-06-30 09:58:32 -07:00
  • 7788271278 Merge pull request #582 from FedericoCeratto/clarify-licensing Ian McEwen 2024-06-30 09:45:41 -07:00
  • 01674b9803 Merge pull request #619 from geeksville/pr-poelock Ian McEwen 2024-06-30 09:33:51 -07:00
  • 4f1ea5b7da Merge pull request #616 from meshtastic/ble-logging Ian McEwen 2024-06-30 09:33:05 -07:00
  • 18883b977b Merge pull request #618 from geeksville/pr-fixstdout Ian McEwen 2024-06-30 09:31:41 -07:00
  • a68a9f8517 Add bin/git-resolve-poetry-lock.sh to resolve merge conficts Previously I was just doing poetry update to resolve such conflicts, but that's not really ideal because it updates all libs. poetry lock --no-update is better, but even better to base the changes from their version of poetry-lock and then add only my changes as required by pyproject.yaml. Kevin Hester 2024-06-30 07:12:09 -07:00
  • 8f98878cac Merge branch 'ble-logging' into pr-powermon Kevin Hester 2024-06-30 07:06:32 -07:00
  • a04b3498b3 make specifying an argument to --seriallog optional thanks @ianmcorvidae for telling me about the cool nargs='?' option! Kevin Hester 2024-06-30 06:54:29 -07:00
  • 5c2851db85 nargs='?' is awesome! get rid of ble_dest. ble-logging Kevin Hester 2024-06-30 06:46:39 -07:00
  • 7e440693a3 Merge remote-tracking branch 'root/master' into ble-logging Kevin Hester 2024-06-30 06:36:11 -07:00
  • 13ca8fd681 debug launch configs Kevin Hester 2024-06-30 06:31:09 -07:00
  • 18c2d08bf0 protobufs: v2.3.13 Ian McEwen 2024-06-29 17:36:22 -07:00
  • a3afc2ae0a Ensure regen-protobufs works if there's no pre-existing directory to remove Ian McEwen 2024-06-29 17:34:02 -07:00
  • f6d1b4bc39 Merge pull request #613 from geeksville/pr-moveproto Ian McEwen 2024-06-29 17:12:32 -07:00
  • 1da687cf2d move @thebentern spiffy logging so it is shared with !ble log sources Kevin Hester 2024-06-29 16:15:32 -07:00
  • 42236f2de8 Merge branch 'ble-logging' into pr-powermon Kevin Hester 2024-06-29 15:59:03 -07:00
  • 9004f1ed57 fixes for type checker Kevin Hester 2024-06-29 15:12:11 -07:00
  • bd767af485 A better way to ensure BLE disconnects: It turns out that Bleak is kinda racey. If we call disconnect() and then immediately close() the disconnect may or may not actually happen (probably because it was merely queued for dbus). So instead: When we want to close the BLEInterface we call disconnect() and then in a preregistered 'on disconnect' handler we actually close down our interface/datastructures. Kevin Hester 2024-06-29 15:08:50 -07:00
  • 6194e41baf fix linter warnings Kevin Hester 2024-06-29 14:37:50 -07:00
  • 532ca54ba4 fix bug: we were never calling BLE.disconnect() which... on linux breaks all but the first connection attempts. Also remove unneeded event stuff and arbitrary timeouts, better just to use thread.join() Kevin Hester 2024-06-29 14:25:01 -07:00
  • 898018ebf3 yay Bleak works again on Linux! Kevin Hester 2024-06-29 13:52:46 -07:00
  • 9f015f499a wow Bleak now seems pretty buggy to me (compared to 2 yrs ago) Kevin Hester 2024-06-29 10:18:37 -07:00
  • dc50a60b01 BLE debugging Kevin Hester 2024-06-29 09:35:42 -07:00
  • a24384cbe2 Merge remote-tracking branch 'root/ble-logging' into pr-fixbluetooth Kevin Hester 2024-06-29 09:31:28 -07:00
  • adbfb328b2 threads should aways be named (for debugability) Kevin Hester 2024-06-29 09:29:29 -07:00
  • 6df89f54a7 fix BLE scan with latest Bleak Kevin Hester 2024-06-29 09:10:20 -07:00
  • 821d3e95f1 remvoe unneeded paren Kevin Hester 2024-06-29 08:40:16 -07:00
  • 897adfb8c2 Adds support for ble logging characteristic Ben Meadors 2024-06-29 09:41:06 -05:00
  • 542f99b28f handle the new LogRecord protobufs (backwards/forwards compatible) with old firmware Kevin Hester 2024-06-28 09:41:17 -07:00
  • dabb4ea44c PowerStress client approximately works Kevin Hester 2024-06-28 09:40:33 -07:00
  • 119be81000 PowerStress WIP Kevin Hester 2024-06-27 16:36:31 -07:00
  • 5b55e3b877 Fix typo Federico Ceratto 2024-06-27 19:35:43 +02:00
  • 960e32fa4b Clarify licensing in compliance with https://reuse.software/ Federico Ceratto 2024-05-28 10:03:04 +02:00
  • c9351236e6 blacklist hantek oscilliscope Kevin Hester 2024-06-26 17:28:55 -07:00
  • 2294546560 fix bogus high current reading on first ppk2 read Kevin Hester 2024-06-26 16:43:14 -07:00
  • 67bb6665f2 the stock PPK2 API is super inefficient, remove lots of buffering Kevin Hester 2024-06-26 15:29:18 -07:00
  • 62ce8eaa77 fix code coverage CI false alarm? Kevin Hester 2024-06-26 13:52:54 -07:00
  • 1587c31d18 Merge remote-tracking branch 'root/master' into pr-powermon Kevin Hester 2024-06-26 13:33:34 -07:00
  • 715a085183 add more dataviz tooling Kevin Hester 2024-06-26 12:59:52 -07:00
  • 047a56d554 speed up file writing Kevin Hester 2024-06-26 12:59:28 -07:00
  • 320bb30d29 Use .feather files as our long-term representation Kevin Hester 2024-06-26 11:12:02 -07:00
  • f2c427430c Update protobufs to master (required for powermon stuff) Kevin Hester 2024-06-26 10:21:47 -07:00
  • ef4b534396 Merge branch 'pr-moveproto' into pr-powermon Kevin Hester 2024-06-26 10:19:04 -07:00
  • 3e8a807868 Update all libs to latest (in particular the mypy-protobuf tool) Kevin Hester 2024-06-26 10:17:37 -07:00
  • 6d846c3a63 manually rebuild the protobuf glue files for now... (see PR for info) Kevin Hester 2024-06-26 10:12:24 -07:00
  • 88b73611f0 Move protobufs to meshtastic.protobuf python namespace Kevin Hester 2024-06-26 09:43:56 -07:00
  • f5febc566f comment out windows build for next release, we've been deleting it out of the releases anyway Ian McEwen 2024-06-25 19:13:23 -07:00
  • c3dcafb5ef bump version github-actions 2024-06-26 02:08:30 +00:00
  • 96afa703ba output version number in correct format for github actions, hopefully 2.3.12 Ian McEwen 2024-06-25 19:07:35 -07:00
  • 0b9af0dcba remove old protobufs (moving to meshtastic.protobuf) Kevin Hester 2024-06-25 19:05:46 -07:00
  • b063d33d77 don't git jupyter temp directories Kevin Hester 2024-06-25 18:58:32 -07:00
  • 1b14b1ef20 Use poetry version --short for a valid tag name Ian McEwen 2024-06-25 18:58:27 -07:00
  • 8761b3270a Merge remote-tracking branch 'root/master' into pr-powermon Kevin Hester 2024-06-25 18:54:38 -07:00
  • 4ca9aa29c2 beginnings of meshtastic.analysis Kevin Hester 2024-06-25 18:10:47 -07:00
  • 68836b1af1 Merge pull request #606 from geeksville/pr-poetry Ian McEwen 2024-06-25 18:24:27 -07:00
  • 195f0c9d90 drop timeago dep, concurrent PR Ian McEwen 2024-06-25 18:24:04 -07:00
  • 1ff7334385 Merge branch 'master' into pr-poetry Ian McEwen 2024-06-25 18:22:02 -07:00
  • b15e27c7b6 Merge pull request #587 from FedericoCeratto/drop-timeago Ian McEwen 2024-06-25 18:14:27 -07:00
  • 267923fdc5 Add hypothesis fuzzing test for _timeago Ian McEwen 2024-06-25 18:14:07 -07:00
  • 9ab1b32bdb make pylint happy with a docstring Ian McEwen 2024-06-25 18:09:20 -07:00
  • 231bc25255 PPK2 based power measurements seem to approximately work Kevin Hester 2024-06-25 15:19:21 -07:00
  • ff20ad5d05 group power options in --help. add --power-wait to support some boards Kevin Hester 2024-06-25 13:48:02 -07:00
  • 3a4795d3b8 Merge pull request #605 from geeksville/pr-whitelist Ian McEwen 2024-06-25 12:53:39 -07:00
  • c2a2d5a77c Merge pull request #611 from geeksville/pr-fixbitrot Ian McEwen 2024-06-25 12:52:21 -07:00
  • f8ad4fef7c deferred execution thread should be named and marked as daemon Kevin Hester 2024-06-25 12:23:38 -07:00
  • d1aadf0c8e close power meter gracefully Kevin Hester 2024-06-25 12:22:47 -07:00
  • d448ea5767 keep a symbolic link "latest" that points to the latest slog dir Kevin Hester 2024-06-25 12:03:35 -07:00
  • b30cde979c fix bitrot in an old sanity test - use correct namespace Kevin Hester 2024-06-25 11:31:02 -07:00
  • 402622f427 fix type warnings Kevin Hester 2024-06-25 11:25:07 -07:00
  • 220241448f more fighting with trunk Kevin Hester 2024-06-25 11:08:47 -07:00
  • 9b61f11c88 temporarily suppress warning about main.py being too long Kevin Hester 2024-06-25 11:08:35 -07:00
  • 8d94458e55 flake8 has different settings than trunk, don't confict in vscode Kevin Hester 2024-06-25 11:02:58 -07:00
  • 1b045bec88 fix linter warnings Kevin Hester 2024-06-25 11:02:24 -07:00
  • 07fc991f4e clean up slog closing Kevin Hester 2024-06-25 10:39:44 -07:00
  • c6561713db don't let daemon keep process alive Kevin Hester 2024-06-25 10:09:08 -07:00
  • 9cdfde47ec store slogs in correct default directory (OS dependent) Kevin Hester 2024-06-25 10:02:07 -07:00
  • 91066f6aed add powermon_sim support Kevin Hester 2024-06-25 08:57:37 -07:00
  • 7ce7d73e89 Switch from pandas to apache arrow for live data logging (better streaming) Kevin Hester 2024-06-24 15:26:05 -07:00
  • 43e1f65a75 "python" is deprecated vscode now wants "pydebug" Kevin Hester 2024-06-24 15:25:14 -07:00
  • dc8348b99e add (optional) poe tool config for easy running of external commands Kevin Hester 2024-06-24 09:59:31 -07:00
  • 26a672ed58 ppk2 tweaks Kevin Hester 2024-06-24 09:57:46 -07:00
  • ea18057c1f Add support for NRF PPK2 power testing board. Kevin Hester 2024-06-23 18:42:15 -07:00
  • 5ff4025ed6 add NordicSemi Power Profiler Kit 2 device to the USB blacklist Kevin Hester 2024-06-23 17:18:04 -07:00
  • 1add293414 Add a whitelist of known meshtastic USB VIDs to use a default serial ports. Initially only RAK4631 and heltec tracker are listed geeksville 2024-06-19 14:45:59 -07:00
  • 8b781d3245 fix #610: bump nanopb to 0.4.8 Including in the Poetry changes because it touches the same lines and I want to avoid hand merging ;-) Kevin Hester 2024-06-23 08:26:20 -07:00
  • 6c0e978470 debugging config tweaks Kevin Hester 2024-06-23 08:18:27 -07:00
  • b7f7a40192 document why using python 3.9 Kevin Hester 2024-06-23 08:18:16 -07:00