liquidraver
d949ca4f6e
fix: buffer overflow, OOB read, packet leaks, BLE sign leak, USB timeout, atomics, fs_read checks
...
- RegionMap::findMatch(): fix 1-byte stack overflow in tmp[] with bounded memcpy
- Packet::readFrom(): add bounds checks before reading transport codes
- Mesh::sendFlood(): release packet on TRACE type and invalid hash_size early returns
- CompanionMesh: add cleanupSignState() called from BLE disconnect to free sign buffer
- ZephyrCompanionUSB: add 2s timeout for partial V3 frames to prevent parser stall
- ui_mesh_actions: replace volatile bool with Zephyr atomic_t for cross-thread state
- CommonCLI: wrap ~40 fs_read() calls in prefs_read() helper with truncation warning
2026-03-04 22:12:13 +01:00
liquidraver
22efe4da6f
fs revert cleanup
2026-03-04 09:21:05 +01:00
liquidraver
383f23f448
port upstream: AGC reset, autoadd max hops, noise floor EMA, fixes
...
- AGC reset: proper warm sleep + Calibrate(ALL) + image recal for both
SX126x and LR1110 (was cancel+restart / no-op respectively)
- Guard AGC reset against mid-receive (matches upstream RadioLib)
- Noise floor calibration: replace blocking 64-sample burst with
single-sample EMA (alpha=1/8) per housekeeping tick — zero blocking,
better temporal spread for real-world noise floor tracking
- Auto-add max hops: filter new contacts by hop count (NodePrefs,
BaseChatMesh, CompanionMesh, ZephyrDataStore persistence)
- Fix CommonCLI memcmp("prefs", 4) → 5
2026-03-03 23:26:58 +01:00
liquidraver
57d8cf1c46
ditch arduino's hacky-hacky FS, back to zephyr native
...
mg24 fix
dfu zip generation fix
2026-03-03 13:46:48 +01:00
liquidraver
b62214ad3e
offline queue bump, lossless message sync via ble
2026-02-28 21:49:58 +01:00
liquidraver
bb5aca423c
refactor storage, got rid of packet loss on lr1110
2026-02-27 22:41:16 +01:00
liquidraver
9b6a47d27b
port multibyte paths
2026-02-26 15:40:51 +01:00
liquidraver
7370356ae0
log fixes
2026-02-26 14:36:31 +01:00
liquidraver
ced260c8c3
t1000 fixes
2026-02-26 14:34:18 +01:00
liquidraver
89bee0959f
fix repeater advert coordinates
2026-02-23 15:20:50 +01:00
liquidraver
27e31f7274
max contacts fix
2026-02-22 14:36:33 +01:00
liquidraver
73222600b2
merge everything important up until d05d6abab8b52c0f20a0f85a0939c74bc762b4ad meschore/dev
2026-02-22 13:41:57 +01:00
liquidraver
8d1823d0b6
First iteration that seems to work
2026-02-20 12:43:13 +01:00