Commit Graph
31 Commits
Author SHA1 Message Date
liquidraver 6ddfb65b61 clock: slew backward time sets 2026-11-24 13:55:24 +01:00
liquidraver 50a28614f7 zephyr bump and upstream ports 2026-11-23 10:37:07 +01:00
liquidraver 52a4f1f4b7 lbt log: send queue fields 2026-11-20 22:49:22 +01:00
liquidraver baa91c4422 lbt: cad.ceiling escape hatch 2026-11-19 23:17:29 +01:00
liquidraver c0f4b2069c queue: refused packet keeps its place 2026-11-19 23:17:20 +01:00
liquidraver b0d1db108c upstream: gps firstfix, ble.name 2026-11-15 14:48:03 +01:00
liquidraver 42aeae4c3e ecdh: refuse small-order peer keys 2026-11-15 09:00:11 +01:00
liquidraver 6a5470ab1e identity: refuse small-order keys 2026-11-15 08:25:00 +01:00
liquidraver 00b470c201 texts: request mark, login and path checks 2026-11-13 10:03:21 +01:00
liquidraver 85a2e45830 texts: allow attempt and hint tail 2026-11-12 19:21:45 +01:00
liquidraver c1b91c8de1 texts: text plus padding only 2026-11-12 14:27:50 +01:00
liquidraver 18f8037d81 test and ci de-bloat 2026-11-12 13:09:30 +01:00
liquidraver 74a7e87e24 core mesh audit fixes 2026-11-12 12:26:53 +01:00
liquidraver 6e05f99d7f gps cli, gps guard, advert.loc 2026-11-12 08:32:07 +01:00
lygris b1caf8c195 fix(radio): retain Heltec RX workaround across warm sleep 2026-11-11 08:29:28 -06:00
liquidraver 5e73610fc1 radio audit findings 2026-11-11 15:11:36 +01:00
liquidraver aa29e0ea0a lbt: forwards draw contention-sized slot window 2026-11-11 08:46:30 +01:00
liquidraver f18392a56c lbt: retry from rx end stamp, retire per-copy backoff 2026-11-10 06:38:54 +01:00
liquidraver dae8416754 lbt: retry from rx end, fixed window 2026-11-09 22:11:45 +01:00
liquidraver e8e9ed8fc0 lbt backoff, noise floor, cad scoring 2026-11-09 21:26:21 +01:00
liquidraver de9471bea5 upstream dev port 2026-11-08 17:26:07 +01:00
liquidraver 751fd7a14e upstream ports 2026-11-01 12:15:31 +01:00
liquidraver 6f7f807e82 upstream dev bump 2026-10-22 15:01:02 +02:00
liquidraver ff0e6553a0 kiss updates 2026-10-15 21:34:26 +02:00
liquidraver 38c59ee10f upstream dev sync + bump to 1.18 2026-10-15 20:14:53 +02:00
liquidraver 448ff91590 offgrid overhaul 2026-10-12 10:20:40 +02:00
liquidraver c69b3c61aa md updates 2026-10-09 08:54:59 +02:00
ZephCore T096andClaude Sonnet 5 ad2e17e5e6 prefs: move led_brightness after wifi_pwd; enable PWM in board.conf
led_brightness sat at companion offset 174, in front of the WiFi
fields, so a 272-byte file written by upstream dev decoded with the
wrong led_brightness and a shifted SSID. Append it after wifi_pwd
(offset 272) and restore the original test offsets and the 208/272
historical lengths.

WT2 and V4.3 only got CONFIG_PWM through esp32s3_pwm_led.conf, which
the release build never passes, so release links would fail. Set
CONFIG_PWM=y in each board.conf instead. board.conf is app-only and
mcuboot does not inherit it, so the mcuboot link failure that rules out
the defconfig does not apply.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 18:27:00 +02:00
ZephCore T096andClaude Sonnet 5 263171bdd4 tests: sync catalog.json labels with f8a4992 prefs size bump
UNIT-PREFS-001 and UNIT-PREFS-006 still said 272/311-byte in
catalog.json while prefs_codec_tests.cpp was bumped to 273/312 by
f8a4992. Same ID sets on both sides (missing=[], unexpected=[]) but
differing names made the executable/catalog dict comparison fail,
which is exactly what CI's host regression job flagged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 18:27:00 +02:00
ZephCore T096andClaude Sonnet 5 f04546df56 prefs: encode led_brightness too, not just decode; fix pinned test layout
companionPrefsEncode()/serverPrefsEncode() never wrote the led_brightness
byte that companionPrefsDecode()/serverPrefsDecode() already read,
desyncing every field that follows it by one byte on the companion side
(wifi_enabled/wifi_ssid/wifi_pwd) and silently truncating the server
format by one byte. Caught by CI's ASan/UBSan run on the host regression
suite: an out-of-bounds read/write in the pinned layout tests.

Since led_brightness never existed upstream, nothing already accounted
for it: fixing only the encoder still leaves the pinned byte tables and
the documented 272/311-byte totals (COMPANION_PREFS_SIZE/
SERVER_PREFS_SIZE, used by the real prefs stores too, not just tests)
one byte short of what the encoder now actually produces.

- PrefsCodec.h: bump both size constants (272->273, 311->312).
- PrefsCodec.cpp: add the missing w.put() in both encoders, mirroring
  the position already used by both decoders.
- prefs_codec_tests.cpp: add led_brightness to both layout tables at its
  real file offset (shifts wifi_enabled/wifi_ssid/wifi_pwd by one byte
  on the companion side; server's is appended last, nothing else
  shifts), extend both historical-boundary length lists with the new
  full-format length, and give it a non-default value in sample() so
  the layout/roundtrip tests actually exercise it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 18:27:00 +02:00
liquidraver 159c086485 repo: publish the host regression suite; consolidate .gitignore
- tests/ (114 host cases over production sources), the CI workflow
  (ASan/UBSan on PRs and master pushes) and REGRESSION_TEST_PLAN.md
  are tracked
- .gitignore grouped and deduplicated (173 -> 96 lines, same ignored set)
2026-09-25 21:56:48 +02:00