Commit Graph
75 Commits
Author SHA1 Message Date
liquidraver eb5149fd0f fix BLE advert name for backwards compatibility 2026-03-16 11:49:12 +01:00
liquidraver 96dd454c04 fix transport code usage 2026-03-16 10:58:57 +01:00
liquidraver 1223935e21 west: advance Zephyr pin to 2026-03-15 main 2026-03-15 21:31:14 +01:00
liquidraver 4ad8b13756 reactive backoff tuning 2026-03-15 21:14:21 +01:00
liquidraver 3bec5fedb9 agc reset fix 2026-03-15 13:49:13 +01:00
liquidraver d794b57e31 APC second test
This reverts commit 4bd84ddf7e.
2026-03-14 21:15:57 +01:00
liquidraver 4bd84ddf7e APC first test 2026-03-14 14:01:10 +01:00
liquidraver 695a0be9c5 Merge branch 'master' of https://github.com/liquidraver/zephcore 2026-03-14 10:38:01 +01:00
liquidraver d2ffe67420 thinknode m1 fixes 2026-03-14 10:37:49 +01:00
liquidraver 37b234f8c8 update readme 2026-03-12 08:48:08 +01:00
liquidraver c96112b79f thinknode m6 port 2026-03-11 14:51:51 +01:00
liquidraver d45fbf7027 reactive collision avoidance 2026-03-11 12:08:48 +01:00
liquidraver 61909c62de update readme 2026-03-10 17:41:10 +01:00
liquidraver 6576c55ad4 cleanup and unification 2026-03-10 16:01:00 +01:00
liquidraver a942f50b29 M1 fixes 2026-03-10 15:44:57 +01:00
liquidraver f13d8062c0 fix "no android pairing request" 2026-03-09 22:09:55 +01:00
liquidraver 98bf9e0eb6 west update 2026-03-09 13:45:22 +01:00
liquidraver ae47c5a062 update all boards with storage revert 2026-03-09 12:58:59 +01:00
liquidraver 14f0bb54c6 increase littlefs cache 2026-03-09 12:18:47 +01:00
liquidraver 6cccd55d6b make file system universal across all boards 2026-03-09 11:38:43 +01:00
liquidraver 37c07b29f0 MG24 entropy/filesystem fixes 2026-03-09 11:27:38 +01:00
liquidraver f23852735f MG24 battery reading fix 2026-03-09 11:11:45 +01:00
liquidraver 46b519e961 ble advert mode switch fix, architeture md update 2026-03-09 11:05:01 +01:00
liquidraver fdd68dfb71 m3 gps + duty cycle off 2026-03-08 22:07:26 +01:00
liquidraver 463cee9b31 thinknode m3 + wismesh tag ADC fix + fast advert for 1 min 2026-03-08 21:23:28 +01:00
liquidraver a71da9ba70 guard noisefloor sampling and agcreset while in rx duty cycle 2026-03-07 15:28:50 +01:00
liquidraver 2584e237f6 led switcher page in ui
rx duty cycle + noise floor measurement marriage
ui fixes
2026-03-06 22:15:13 +01:00
liquidraver 1f48735ae6 includes cleanup 2026-03-06 14:21:22 +01:00
liquidraver 76b87292c3 1.14 changes merge 2026-03-06 07:56:17 +01:00
liquidraver 06aed018c3 redundant queue cleanup 2026-03-05 18:13:14 +01:00
liquidraver 2d4b0c0a67 tweak noise floor reading 2026-03-05 16:34:28 +01:00
liquidraver b7bb72266a decrease advert interval 2026-03-05 08:23:23 +01:00
liquidraver abfe1577e5 update readme 2026-03-04 22:51:44 +01:00
liquidraver bb270061d0 "clock set" message fix 2026-03-04 22:43:53 +01:00
liquidraver 30379ee48a LoRaRadioBase volatile → atomic_t
LR1110 BUSY pin → interrupt-driven
2026-03-04 22:36:34 +01:00
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