wifi-densepose/firmware/esp32-csi-node/main
ruv d2effcc6f6 witness(ADR-110 §A0.12): sync-packet wired + verified live on both boards
SOTA iter 9 — closes the §A0.11 wiring gap with empirical evidence.
Added a diagnostic ESP_LOGI in the sync emit path; flashed both C6
boards; captured 45s parallel serial output.

Sync packet generation confirmed live:

COM12 (leader, ...00:84):
  sync-pkt #1 ... node=12 flags=0x03 local_us=28864932 epoch_us=28864939
  flags=0x03 = leader+valid, epoch ≈ local (7 µs delta = call-stack
  elapsed only — leader has no offset by definition)

COM9 (follower, ...05:3c):
  sync-pkt #1 ... node=9  flags=0x06 local_us=28798450 epoch_us=27634885
  flags=0x06 = valid+smoothed_used, local-epoch = 1,163,565 µs
  Matches §A0.10's measured -1.16 s mesh-aligned offset within 285 µs
  (WiFi MAC TX jitter floor between samples).

Cadence: 2.05 s between sync packets — 20 CSI frames at the bench's
observed 10 fps rate = exactly the design intent.

UDP send returns -1 (sr=-1) because the bench boards are intentionally
not associated to a real AP (provisioned to dead SSIDs for the iter
2-8 mesh experiments). No crash, no resource leak in 45s. Once boards
hit a routable network, sr becomes the byte count.

Wiring gap §A0.11 now CLOSED. Multistatic CSI fusion downstream has
a documented protocol to recover mesh-aligned timestamps for every CSI
frame: host pairs (node_id, sequence) across the two packet streams.
Host-side parser is the natural next layer (wifi-densepose-sensing-server).

Build evidence: C6 image 1019 KB (+0.5 KB for the diag log line),
45% partition slack unchanged.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-05-23 12:31:05 -04:00
..
lp_core feat(firmware): v0.6.7-esp32 — real LP-core program + C6 soft-AP HE/TWT helper 2026-05-23 11:10:34 -04:00
CMakeLists.txt feat(firmware): v0.6.7-esp32 — real LP-core program + C6 soft-AP HE/TWT helper 2026-05-23 11:10:34 -04:00
Kconfig.projbuild feat(firmware): v0.6.7-esp32 — real LP-core program + C6 soft-AP HE/TWT helper 2026-05-23 11:10:34 -04:00
adaptive_controller.c ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
adaptive_controller.h ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
adaptive_controller_decide.c ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
c6_lp_core.c feat(firmware): v0.6.7-esp32 — real LP-core program + C6 soft-AP HE/TWT helper 2026-05-23 11:10:34 -04:00
c6_lp_core.h feat(firmware): v0.6.7-esp32 — real LP-core program + C6 soft-AP HE/TWT helper 2026-05-23 11:10:34 -04:00
c6_softap_he.c witness+opt: ADR-110 §A0.6 — IDF v5.4 soft-AP HE gap, swarm warnings 2026-05-23 11:36:09 -04:00
c6_softap_he.h feat(firmware): v0.6.7-esp32 — real LP-core program + C6 soft-AP HE/TWT helper 2026-05-23 11:10:34 -04:00
c6_sync_espnow.c feat(c6_sync_espnow): EMA-smooth cross-board offset, expose via get_epoch_us 2026-05-23 12:04:22 -04:00
c6_sync_espnow.h feat(c6_sync_espnow): EMA-smooth cross-board offset, expose via get_epoch_us 2026-05-23 12:04:22 -04:00
c6_timesync.c fix(c6): PAN-ID match in 15.4 beacon + expanded D1 diagnostic record 2026-05-22 20:46:03 -04:00
c6_timesync.h feat(firmware): ESP32-C6 target — Wi-Fi 6 / 802.15.4 / TWT / LP-core (ADR-110) 2026-05-22 20:10:30 -04:00
c6_twt.c feat(firmware): ESP32-C6 target — Wi-Fi 6 / 802.15.4 / TWT / LP-core (ADR-110) 2026-05-22 20:10:30 -04:00
c6_twt.h feat(firmware): ESP32-C6 target — Wi-Fi 6 / 802.15.4 / TWT / LP-core (ADR-110) 2026-05-22 20:10:30 -04:00
csi_collector.c witness(ADR-110 §A0.12): sync-packet wired + verified live on both boards 2026-05-23 12:31:05 -04:00
csi_collector.h fix(firmware): SPI cache crash fix + node_id/filter_mac defensive copies + esptool v5 (rebased #397) 2026-04-28 08:41:49 -04:00
display_hal.c docs: update README with ADR-045–048, Observatory, adaptive classifier, AMOLED display 2026-03-05 10:20:48 -05:00
display_hal.h docs: update README with ADR-045–048, Observatory, adaptive classifier, AMOLED display 2026-03-05 10:20:48 -05:00
display_task.c fix: remove unsafe exec() in display_task.c 2026-03-26 04:08:00 +00:00
display_task.h docs: update README with ADR-045–048, Observatory, adaptive classifier, AMOLED display 2026-03-05 10:20:48 -05:00
display_ui.c fix(firmware): defensive node_id capture prevents runtime clobber (#390) 2026-04-15 13:47:34 -04:00
display_ui.h docs: update README with ADR-045–048, Observatory, adaptive classifier, AMOLED display 2026-03-05 10:20:48 -05:00
edge_processing.c fix(firmware): add vTaskDelay(1) yields in process_frame() at tier>=2 to fix WDT storm (#683) 2026-05-21 09:20:21 -04:00
edge_processing.h feat: ADR-069 ESP32 CSI → Cognitum Seed RVF pipeline (v0.5.4-esp32) 2026-04-02 19:32:18 -04:00
idf_component.yml fix(led): disable onboard WS2812 LED during CSI collection (#273) 2026-05-17 18:18:10 -04:00
lv_conf.h docs: update README with ADR-045–048, Observatory, adaptive classifier, AMOLED display 2026-03-05 10:20:48 -05:00
main.c feat(firmware): v0.6.7-esp32 — real LP-core program + C6 soft-AP HE/TWT helper 2026-05-23 11:10:34 -04:00
mmwave_sensor.c refactor(mmwave): use sizeof() in mr60_process_frame bounds checks (#414) 2026-05-17 18:15:01 -04:00
mmwave_sensor.h feat: ADR-063/064 mmWave sensor fusion + multimodal ambient intelligence (#269) 2026-03-15 16:10:10 -04:00
mock_csi.c feat: QEMU ESP32-S3 testing platform + swarm configurator (ADR-061/062) (#260) 2026-03-14 13:39:51 -04:00
mock_csi.h feat: QEMU ESP32-S3 testing platform + swarm configurator (ADR-061/062) (#260) 2026-03-14 13:39:51 -04:00
nvs_config.c feat: happiness scoring pipeline + ESP32 swarm with Cognitum Seed (#285) 2026-03-20 18:46:34 -04:00
nvs_config.h feat: happiness scoring pipeline + ESP32 swarm with Cognitum Seed (#285) 2026-03-20 18:46:34 -04:00
ota_update.c release: ESP32-S3 firmware v0.6.5 — Tmr Svc stack + OTA init refactor (#628) 2026-05-18 17:05:35 -04:00
ota_update.h feat: complete vendor repos, add edge intelligence and WASM modules 2026-03-02 23:53:25 -05:00
power_mgmt.c feat: complete vendor repos, add edge intelligence and WASM modules 2026-03-02 23:53:25 -05:00
power_mgmt.h feat: complete vendor repos, add edge intelligence and WASM modules 2026-03-02 23:53:25 -05:00
rv_feature_state.c ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
rv_feature_state.h ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
rv_mesh.c ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
rv_mesh.h ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
rv_radio_ops.h ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
rv_radio_ops_esp32.c ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
rv_radio_ops_mock.c ADR-081: Implement 5-layer adaptive CSI mesh firmware kernel (#404) 2026-04-20 10:38:23 -04:00
rvf_parser.c firmware/esp32-csi-node: IDF 6 build, HE CSI config, unicore DSP, provision chip detect (#522) 2026-05-17 18:00:40 -04:00
rvf_parser.h feat: complete vendor repos, add edge intelligence and WASM modules 2026-03-02 23:53:25 -05:00
stream_sender.c fix: rate-limit CSI sends and add ENOMEM backoff to prevent crash (#132) 2026-03-03 16:00:40 -05:00
stream_sender.h fix(docker): Update Dockerfile paths from src/ to v1/src/ 2026-02-28 13:38:21 -05:00
swarm_bridge.c witness+opt: ADR-110 §A0.6 — IDF v5.4 soft-AP HE gap, swarm warnings 2026-05-23 11:36:09 -04:00
swarm_bridge.h feat: happiness scoring pipeline + ESP32 swarm with Cognitum Seed (#285) 2026-03-20 18:46:34 -04:00
wasm_runtime.c fix(firmware): defensive node_id capture prevents runtime clobber (#390) 2026-04-15 13:47:34 -04:00
wasm_runtime.h feat: complete vendor repos, add edge intelligence and WASM modules 2026-03-02 23:53:25 -05:00
wasm_upload.c fix: security hardening — replace fake HMAC, add path traversal protection, OTA auth (ADR-050) 2026-03-06 13:11:04 -05:00
wasm_upload.h feat: complete vendor repos, add edge intelligence and WASM modules 2026-03-02 23:53:25 -05:00