640 Commits
Author SHA1 Message Date
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 a4e96fa6e6 separate main events from housekeeping ones 2026-03-04 21:08:21 +01:00
liquidraver b3e3d4147b noise floor logic update (plus formatter cleanup) 2026-03-04 13:18:40 +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 86efd92f52 west update + rebase sx patch 2026-03-03 15:07:24 +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 6cb80a31af thinknode fixes 2026-03-02 15:37:36 +01:00
liquidraver 99784d5856 update thinknode + example 2026-03-02 08:31:38 +01:00
liquidraver 7081e19b3d add thinknode m1 board + tcxo fixes 2026-03-01 16:20:17 +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 2bd7c5d062 lr1110 fixes....again 2026-02-27 09:29:50 +01:00
liquidraver 225b59e0e5 rx duty cycle rework 2026-02-27 08:51:39 +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 501d4ce459 duty cycle off, sx erratas 2026-02-25 20:40:39 +01:00
liquidraver d8ca96c9c8 ble tuning 2026-02-25 17:16:03 +01:00
liquidraver 403914d126 rework sx and lr1110, improve BLE sync 2026-02-25 14:19:25 +01:00
liquidraver 3b7434be4c unify conf + clean up prod builds 2026-02-24 16:27:07 +01:00
liquidraver 6c7d52e725 t1000 gps fix 2026-02-24 15:50:11 +01:00
liquidraver 89bee0959f fix repeater advert coordinates 2026-02-23 15:20:50 +01:00
liquidraver 37d2b777d7 add tlorac6, switch of asserts in all esp 2026-02-23 13:50:57 +01:00
liquidraver f3afb6433d rework tx cad 2026-02-22 18:39:49 +01:00
liquidraver 63a63ca998 rx duty cycle, sleep only 6 symbols 2026-02-22 16:48:40 +01:00
liquidraver 1332df0461 future-proof lora rx queue 2026-02-22 15:19:03 +01:00
liquidraver 27e31f7274 max contacts fix 2026-02-22 14:36:33 +01:00
liquidraver e8b6642ad0 west update (ESP Bootloader fix is relevant) 2026-02-22 14:25:56 +01:00
liquidraver 51783c6177 refactor zephyr patches to use proper git apply 2026-02-22 14:16:48 +01:00
liquidraver 73222600b2 merge everything important up until d05d6abab8b52c0f20a0f85a0939c74bc762b4ad meschore/dev 2026-02-22 13:41:57 +01:00
liquidraver b6bc46b921 ESP OTA first implementation 2026-02-22 13:09:18 +01:00
liquidraver 521955bc05 clamp TX on station G2, refactor "set af" 2026-02-21 20:19:16 +01:00
liquidraver 9034e87a7f companion radio set + tempradio bugfixes, touch 1200 support 2026-02-21 15:11:16 +01:00
liquidraver dcd8a03c5b Add Station G2 2026-02-20 22:40:56 +01:00
liquidraver 1587a8bcdf max contacts update 2026-02-20 15:13:40 +01:00
liquidraver 9a2540609b is_new=true flag bug 2026-02-20 14:36:10 +01:00
liquidraver 83592e5a8a west update 2026-02-20 13:48:30 +01:00
liquidraver 3daad918f2 Add INF log to BW settings in sx driver to track MG24 error 2026-02-20 13:39:31 +01:00
liquidraver 8d1823d0b6 First iteration that seems to work 2026-02-20 12:43:13 +01:00