Commit Graph

  • 39e03dbad8 add beginnings of analysis viewer (and fix poetry extras usage for tunnel) Kevin Hester 2024-07-11 16:39:05 -07:00
  • 4dbf9b94e9 do a new power measurement every 2ms(ish) Kevin Hester 2024-07-11 12:27:16 -07:00
  • b464e90368 make ppk2 power meter threadsafe Kevin Hester 2024-07-11 12:19:16 -07:00
  • 3c76e19c33 poll for power readings much more rapidly - traces now look great Kevin Hester 2024-07-11 11:49:12 -07:00
  • 7e007e7e24 make ArrowWriter thread safe Kevin Hester 2024-07-11 11:48:53 -07:00
  • d996965f0f Merge pull request #638 from ianmcorvidae/request-telemetry-uptime Ian McEwen 2024-07-10 17:31:45 -07:00
  • fd9b691b74 Include uptime_seconds in sendTelemetry and print upon response Ian McEwen 2024-07-10 17:29:42 -07:00
  • 628a4cb9be Always use IDENTICAL timestamps so the power and slog reports can match Kevin Hester 2024-07-10 16:44:56 -07:00
  • d0db5cae13 Store much higher (time) res power readings any time we've just fetched new readings. This allows for better plotting/analysis but still keeping runtime polling low. Kevin Hester 2024-07-10 16:44:27 -07:00
  • 0bc608d8cf fix analysis imports to import less Kevin Hester 2024-07-10 16:43:07 -07:00
  • 60de9dddb1 Remove references to BLEClient breaking CI checks William Stearns 2024-07-09 19:54:01 -04:00
  • 043530afca fix linter warnings Kevin Hester 2024-07-08 09:17:52 -07:00
  • eb45c16f89 Merge remote-tracking branch 'root/master' into pr-powermon2 Kevin Hester 2024-07-08 08:53:45 -07:00
  • 3c772b5a31 Attempt adding python 3.12 to CI Ian McEwen 2024-07-07 21:15:29 -07:00
  • 865bb6a497 Remove python 3.8 warning. protobufs: v2.3.15 (brought in by merge) Ian McEwen 2024-07-07 21:00:26 -07:00
  • c04943308a Merge pull request #607 from geeksville/pr-powermon Ian McEwen 2024-07-07 20:56:28 -07:00
  • 62cfe2d7fe bump version github-actions 2024-07-08 03:52:47 +00:00
  • ec4e521001 Add a warning about this being the last version supporting python 3.8 2.3.14 Ian McEwen 2024-07-07 20:49:38 -07:00
  • 19d7e914bc Merge pull request #629 from ppicazo/trace_route_hop_fix Ian McEwen 2024-07-07 20:43:22 -07:00
  • 64bb668251 Fix line too long Paul Picazo 2024-07-07 20:30:19 -07:00
  • 8c63f4dec6 always write using correct schema for the file Kevin Hester 2024-07-07 15:17:26 -07:00
  • 9297732806 fix possible race with thread shutdown. somehow receiveThread can be null Kevin Hester 2024-07-07 14:59:11 -07:00
  • a6c3e5cba8 properly parse all structured log messages Kevin Hester 2024-07-07 14:58:30 -07:00
  • d35423a816 strip \n if it was incorrectly added by the device Kevin Hester 2024-07-07 14:57:44 -07:00
  • 84b4188211 Gracefully cope with exceptions during power-stress test Kevin Hester 2024-07-07 13:47:19 -07:00
  • 72e0f2a92b Don't silently ingnore malformed protobufs (the \0 in the device side was at fault) Kevin Hester 2024-07-07 13:47:02 -07:00
  • ecbda74bd6 make PPK2 power supply monitor work in supply-mode Kevin Hester 2024-07-06 16:41:33 -07:00
  • fb191092fb gracefully shutdown when BLE device connect fails Kevin Hester 2024-07-06 16:27:20 -07:00
  • 1e447cb52a also store raw log messages in the slog file. Kevin Hester 2024-07-06 15:26:15 -07:00
  • 462d9a83df Automatically extract and store all known structured-logs Kevin Hester 2024-07-06 15:07:13 -07:00
  • 4c02114b75 fix null pointer if closing an interface which was already shutting down Kevin Hester 2024-07-06 13:43:19 -07:00
  • 42e069455e transition through power stress states and capture data Kevin Hester 2024-07-06 12:43:34 -07:00
  • 1511d4ea99 Merge pull request #633 from meshtastic/dependabot/pip/certifi-2024.7.4 Ian McEwen 2024-07-05 21:37:17 -07:00
  • b59aee91f2 Bump certifi from 2024.6.2 to 2024.7.4 dependabot[bot] 2024-07-06 02:31:50 +00:00
  • 2c8fd8b606 Merge pull request #632 from ianmcorvidae/remote-config-wrongtype-again Ian McEwen 2024-07-03 20:36:21 -07:00
  • 15b03b704c Correctly detect LocalConfig vs. LocalModuleConfig, again. fixes #630 Ian McEwen 2024-07-03 20:35:58 -07:00
  • 63327986b4 fix incorrect Vid - thanks @ianmcorvidae for notixing. 0x04b4 is cypress semi but commonly used in Chinese oscopes (like mine). So it was supposed to be a blacklist not a whitelist! Kevin Hester 2024-07-03 20:11:59 -07:00
  • 5695ec7102 change --slog to use nargs Kevin Hester 2024-07-03 11:00:42 -07:00
  • ae2ef78560 fix linter warnings (note: the linter test for min/max is buggy so disabled) Kevin Hester 2024-07-03 09:53:23 -07:00
  • 2f5a736e1f Merge remote-tracking branch 'root/master' into pr-powermon Kevin Hester 2024-07-03 09:22:45 -07:00
  • 775108b47b Hop limit param on sendTraceRoute fix Paul Picazo 2024-07-02 10:09:58 -07:00
  • ae904f6dbe Merge pull request #628 from meshtastic/update-heartbeat Ian McEwen 2024-07-02 10:01:32 -07:00
  • a14cc4f573 Update heartbeat interval to a fixed 300 seconds Ian McEwen 2024-07-02 09:58:45 -07:00
  • dc5f59260f protobufs: v2.3.14 Ian McEwen 2024-07-02 09:52:47 -07:00
  • 91c42d598e bump version github-actions 2024-07-02 16:46:09 +00:00
  • 22bf34ee35 Merge pull request #627 from meshtastic/protobuf-ble-logging 2.3.13 Ian McEwen 2024-07-02 09:44:49 -07:00
  • 32b4575262 Reorganize imports for pylint Ian McEwen 2024-07-02 09:43:49 -07:00
  • 5eafc2c866 Remove newline handling Ben Meadors 2024-07-02 07:30:27 -05:00
  • 19363967f3 Shut up linter Ben Meadors 2024-07-01 21:11:35 -05:00
  • ce6c096c3e Fix Ben Meadors 2024-07-01 21:05:27 -05:00
  • bef9b480f0 Log Recod logging with new characterstic Ben Meadors 2024-07-01 18:05:15 -05:00
  • d5a4d86c21 Merge remote-tracking branch 'origin/master' into protobuf-ble-logging Ben Meadors 2024-07-01 06:18:32 -05:00
  • 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