Add SD logging and update docs

- Add optional microSD CSV logging per sender/day on receiver
- Wire logger into receiver packet handling
- Document new batch header fields, build envs, and SD logging
- Make sender links open in a new tab
This commit is contained in:
2026-02-02 00:22:35 +01:00
parent 5085b9ad3d
commit f3af5b3f1c
6 changed files with 149 additions and 4 deletions

View File

@@ -73,9 +73,11 @@ constexpr uint8_t BATCH_QUEUE_DEPTH = 10;
constexpr BatchRetryPolicy BATCH_RETRY_POLICY = BatchRetryPolicy::Keep;
constexpr uint32_t WATCHDOG_TIMEOUT_SEC = 120;
constexpr bool ENABLE_HA_DISCOVERY = true;
constexpr bool SERIAL_DEBUG_MODE = true;
constexpr bool SERIAL_DEBUG_DUMP_JSON = true;
constexpr bool SERIAL_DEBUG_MODE = false;
constexpr bool SERIAL_DEBUG_DUMP_JSON = false;
constexpr bool LORA_SEND_BYPASS = false;
constexpr bool ENABLE_SD_LOGGING = false;
constexpr uint8_t PIN_SD_CS = 25;
constexpr uint8_t NUM_SENDERS = 1;
inline constexpr uint16_t EXPECTED_SENDER_IDS[NUM_SENDERS] = {