[codex] align espnow interop and add terminal dtmf tests #5
Reference in New Issue
Block a user
Delete Branch "codex/espnow-zacus-killlife-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
This PR aligns
RTC_BL_PHONEwith active cross-repo collaboration needs:le-mystere-professeur-zacusESP-NOW payload formats.Kill_LIFE(gates/evidence mindset).Problem
Two practical gaps were slowing collaboration:
ESPNOW_ON/ESPNOW_OFF).cmd/rawonly), while incoming payloads from companion stacks may use nested structures (event,message,payload) or alternate keys (command,action).Root Cause
RTC_BL_PHONEwas optimized for a limited payload shape.What Changed
ESP-NOW interop and runtime control
ESPNOW_ONESPNOW_OFFEspNowBridge::stop()for explicit deinit path.EspNowBridge::begin()when already active.Bridge payload compatibility
src/main.cppthat accepts:cmd,raw,command,actionevent,message,payloadMetrics correctness
last_rx_payloadin status JSON for better observability.Test and docs baseline
test/host/test_dtmf_host.cpp) with synthetic tone scenarios.scripts/test_terminal.shto run:docs/CROSS_REPO_INTELLIGENCE.mddocs/props.mddocs/AGENT_TODO.mdUser Impact
Validation
Executed locally on macOS:
bash scripts/test_terminal.sh-> PASSplatformio run -e esp32dev-> SUCCESSNotes
le-mystere-professeur-zacusto keep protocol parity explicit.Cross-repo coordination issue opened in Zacus: https://github.com/electron-rare/le-mystere-professeur-zacus/issues/90
Coordination + gates pio exécutés avec le repo collègue (
le-mystere-professeur-zacus) :feat/freenove-ap-local-espnow-rtc-sync)pio run -e freenove_esp32s3_full_with_ui-> PASSpio run -e esp32dev-> PASScodex/espnow-zacus-killlife-sync)bash scripts/test_terminal.sh-> PASS (build embarqué + host DTMF)Issue de synchro protocole maintenue ici: https://github.com/electron-rare/le-mystere-professeur-zacus/issues/90