mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-03-29 05:19:50 +00:00
NimBLE crash fix: - Patch ble_hs.c assert(0) in BLE_HS_SYNC_STATE_BRINGUP timer handler via pre-build script (patch_nimble.py). The assert fires when a timer callback races with host re-sync — harmless, but kills the ESP32 and corrupts any file writes in progress. Persistence fixes (in microReticulum submodule): - Atomic save: write to temp file then rename, protecting existing data - Fast persist: 5s after dirty flag instead of waiting 60s interval - Corrupt file recovery: delete invalid files, recover from temp files - INFO-level logging for load/save visibility Other: - Wrap LXMF announce in try/catch for crash safety - Call Identity::should_persist_data() from main loop Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>