From 6acefe609dd9ab5c2429315869af57e34ac8394a Mon Sep 17 00:00:00 2001 From: liquidraver <504870+liquidraver@users.noreply.github.com> Date: Thu, 8 Oct 2026 19:19:58 +0200 Subject: [PATCH] md updates --- docs/ARCHITECTURE.md | 4 ++-- releasenotes/RELEASE_NOTES_1.17.7-zephcore.md | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index e791586..b6960e8 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -600,7 +600,7 @@ Handles the binary BLE protocol with ~50 command opcodes. Key features: - **ACK tracking**: 8-slot table, computes expected ACK = SHA256(secret + hash)[0:4] - **Contact iteration**: Streaming protocol with `lastmod` filtering for incremental sync. The dump advances only while a client is connected and every connected transport has room; it is cancelled when the last client leaves -- **Lazy write batching**: Dirty contacts/channels flush after 5-second delay +- **Lazy write batching**: dirty contacts and channels are written 5 s after the last change, so a burst (a contacts import) is written once; a contact change that only refreshes liveness waits up to an hour (`LAZY_WRITE_LIVENESS_MS`) - **Protocol versioning**: V2/V3 frame format negotiation with phone app - **Ed25519 signing**: 3-phase flow (start→data→finish) for signing up to 8KB - **Flood scope**: Transport key filtering for region-scoped sends @@ -850,7 +850,7 @@ Repeaters and room servers default to `CONFIG_ZEPHCORE_REPEATER_GPS_INTERVAL_SEC ### 7.5 Board (`adapters/board/`) -- Battery ADC with optional regulator-gated voltage divider, 8-sample average (boards with `zephyr,user` ADC node; MG24 has no battery divider, ADC disabled) +- Battery ADC with optional regulator-gated voltage divider, 8-sample average (boards with `zephyr,user` ADC node; MG24 has no battery divider, ADC disabled). A board with a fuel gauge (AXP2101) reads voltage and charge from it instead; one with an nPM1300 charger (XIAO nRF54LM20A) reads the voltage from the PMIC's own ADC through the sensor API and takes the percentage from the discharge curve - UF2 bootloader entry via GPREGRET magic (0x57 = UF2, 0xA8 = BLE DFU) - TX LED bracketing for LoRa transmissions (gated by the LED master switch below) - Bootloader version detection via flash memory scan diff --git a/releasenotes/RELEASE_NOTES_1.17.7-zephcore.md b/releasenotes/RELEASE_NOTES_1.17.7-zephcore.md index 0b24b30..76b5539 100644 --- a/releasenotes/RELEASE_NOTES_1.17.7-zephcore.md +++ b/releasenotes/RELEASE_NOTES_1.17.7-zephcore.md @@ -66,6 +66,20 @@ valid. Thanks to **ptr727** for finding and fixing this ([PR #99](https://github.com/liquidraver/ZephCore/pull/99)). +Four more clock-chip fixes, also from **ptr727**: + +- **RAK4631 with a RAK12002 clock module**: the module is now used, and its switchover to the backup + supply is stored in the chip, so the clock keeps running when the board loses power + ([PR #98](https://github.com/liquidraver/ZephCore/pull/98)). +- **RX8130CE**: the weekday was written in the wrong encoding. Time and date were not affected + ([PR #101](https://github.com/liquidraver/ZephCore/pull/101)). +- **A time outside 2000-2099 is no longer written to a clock chip.** The chip stores only two digits + of the year, so a time before 2000 came back after a reboot as a date late in this century + ([PR #105](https://github.com/liquidraver/ZephCore/pull/105)). +- **RV-3028 left in 12-hour mode by other firmware**: it is switched back to 24-hour mode at boot, so + the hours are read correctly + ([PR #106](https://github.com/liquidraver/ZephCore/pull/106)). + ## USB companion: a hang right after boot A companion on USB could stop responding when the host sent it a command straight after opening the @@ -161,6 +175,8 @@ matches the SoftDevice version of your bootloader. puts it back to 47 hours. - **Malformed encrypted packets are rejected earlier**, before any cryptography runs. - **Large contact lists**: up to 24 contacts can share the same one-byte hash, up from 8. +- **`sensor list`** with a negative start index is rejected instead of being used + ([PR #100](https://github.com/liquidraver/ZephCore/pull/100), thanks to **ptr727**). - **T1000-E**: a pin that was wrongly driven as a sensor enable is left alone. Sensor readings are unchanged. - **LR2021 with `rxduty` on** (MeshTracker X1, both LR2021 EVK kits): after every noise-floor