Commit Graph

10 Commits

Author SHA1 Message Date
cb6929bdc1 Add detailed sender ACK RX diagnostics with reject context 2026-02-04 14:42:44 +01:00
c3e5ba3a53 Use protocol constants for ACK airtime window sizing 2026-02-04 14:40:34 +01:00
f0503af8c7 Refactor LoRa protocol to batch+ack with ACK-based time bootstrap 2026-02-04 11:57:49 +01:00
1024aa3dd0 Add RX reject reasons to telemetry and UI
BACKWARD-INCOMPATIBLE: MeterBatch schema bumped to v2 with err_rx_reject.
- Track and log RX reject reasons (CRC/protocol/role/payload/length/id/batch)
- Include rx_reject in sender telemetry JSON and receiver web UI
- Add lora_receive reject reason logging under SERIAL_DEBUG_MODE
2026-02-04 01:01:49 +01:00
90d830da6f Keep receiver LoRa in continuous RX
- Add lora_receive_continuous() helper and use it after init and TX (ACK/time sync)

- Ensure receiver returns to RX immediately after lora_send

- Document continuous RX behavior in README
2026-02-02 22:17:09 +01:00
8e6c64a18e Reduce sender power draw (RX windows + CPU/WiFi/ADC/pins)
- Add LoRa idle/sleep/receive-window helpers and use short RX windows for ACK/time sync

- Schedule sender time-sync windows (fast/slow) and track RX vs sleep time in debug

- Lower sender power (80 MHz CPU, WiFi/BT off, reduced ADC sampling, unused pins pulldown)

- Make SERIAL_DEBUG_MODE a build flag, add prod envs with debug off, and document changes
2026-02-02 21:44:04 +01:00
430b0d7054 Update ESP32 platform and LoRa batching 2026-02-01 17:03:08 +01:00
8ba7675a1c Add LoRa telemetry, fault counters, and time sync status 2026-01-30 13:00:16 +01:00
770a021eca Sleep LoRa before sender deep sleep 2026-01-23 17:00:51 +01:00
6f308ad590 Initial commit 2026-01-20 01:39:06 +01:00