Commit Graph
12 Commits
Author SHA1 Message Date
efitenandClaude Opus 4.8 a321542900 feat: keep screen awake while capturing + iOS/Bluefy notice
Wake lock held for the whole session (native Screen Wake Lock where available,
hidden muted loop video fallback for Bluefy/WKWebView), acquired in the Connect
user-gesture so iOS allows video.play(), released on disconnect. Shows a notice
when Web Bluetooth is missing (iOS Safari → Bluefy). SW cache → v7.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:27:02 +02:00
efitenandClaude Opus 4.8 adbb096457 feat(motion): shorten standstill auto-pause dwell from 15 min to 5 min
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:27:01 +02:00
efitenandClaude Opus 4.8 b3aaf3aa7b feat(motion): pure idle-gate — displacement-anchor moving/stationary detection
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 20:20:57 +02:00
Erwin FitenandClaude Opus 4.8 88b159f288 feat(recent): pure prefix-merge for the heard list (dedupes a node's representations)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 10:52:08 +02:00
efiten a7d451a3ff feat(names): resolve URL from runtime config; skip when unset 2026-06-13 21:12:28 +02:00
efiten 6e80334dc6 fix(config): cache loadConfig, guard array input, test mqttPassword normalization 2026-06-13 21:07:54 +02:00
efiten 2bd69ab30f feat(config): runtime config.json loader + validation 2026-06-13 21:00:16 +02:00
efitenandClaude Opus 4.8 c4c049523a fix(app): only attribute path[last] for FLOOD routes
A direct-routed packet consumes the next hop from the FRONT of the path
(firmware Mesh.cpp removeSelfFromPath), so path[last] is the route's
destination-side end, not the node we physically heard — crediting SNR/RSSI to
the wrong (often far-away) node. Flood forwarders append at the end, so there
path[last] is correct. deriveHeardKey now skips DIRECT (2/3) multi-hop packets
via a new isFloodRoute() guard; the debug log calls them out explicitly. Also
covers TRACE (always DIRECT). bump 0.8.0 -> 0.8.1, sw cache v3 -> v4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 22:18:38 +02:00
efitenandClaude Opus 4.8 02b61df753 feat(app): node-discover + flood probe, debug-log cleanup
- Discover button now sends a zero-hop node-discover request (CONTROL/DISCOVER_REQ,
  cmd 0x37) every 30s with an in-button countdown; meshpacket parses DISCOVER_RESP
  into a heard_key (src=discover). Wire format verified against meshcore_py + firmware docs.
- replace Ping with a one-shot Flood probe (mesh-wide advert, 60s cooldown) that maps
  repeaters beyond direct range via overheard re-broadcasts.
- meshpacket: guard TRACE packets (header path bytes are per-hop SNR, not hop hashes)
  so they can't yield a bogus heard_key.
- debug log: green reserved for captures, orange for our own sends, explicit grey
  notice for 1-byte path-hash packets, and a Verbose toggle for raw 0x88 bytes +
  unattributable frames.
- bump version 0.7.0 -> 0.8.0, sw cache v2 -> v3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 20:46:33 +02:00
efitenandClaude Opus 4.8 9f2ff0b7d9 feat(app): real-time local coverage hex map (follows GPS, keeps zoom)
- src/hexgrid.js: JS port of the server hex grid (same cells as the analyzer)
- src/localmap.js: Leaflet map aggregating this session's receptions into live
  hexes (best SNR colour); follows GPS with zoom preserved, drag to inspect +
  📍 button to re-follow; hexes persist until reload
- wired into the capture flow; Leaflet via CDN

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 10:41:43 +02:00
efitenandClaude Opus 4.8 7867a859e4 feat: on-screen debug log + Simulate RX, payload-layout pipeline test
- debug panel logs every frame in, parsed heard-key, and the exact outgoing MQTT
  payload; Simulate RX pushes a real fixture through the full pipeline (no BLE/GPS
  needed; mock-GPS toggle for desktop)
- test/pipeline.test.mjs asserts + prints the payload layout end-to-end

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 16:53:22 +02:00
efitenandClaude Opus 4.8 db83810878 feat: scaffold corescope-rx capture app (BLE companion → MQTT coverage)
Protocol core implemented + unit-tested (meshpacket: path[last]/advert pubkey,
direct-only rule; frames: 0x88 snr/rssi/raw). Working skeleton for transport
(Web Bluetooth NUS), GPS, IndexedDB queue, MQTT.js publisher and field UI.
Remaining work in docs/plan.md (spikes + harden + verify).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 16:47:30 +02:00