Open
Conversation
Responds to all DNS A-type queries with 192.168.4.1 so phones/laptops auto-detect the captive portal during provisioning mode.
Adds Host header check to redirect DNS-hijacked requests to 192.168.4.1, plus a catch-all handler for captive portal detection URLs like /generate_204 and /hotspot-detect.html.
…tive fault count - stream: alternate local_key to defeat silence compression in overrun test - iambic: start at T0=1s to clear debounce blanking period (5ms) - fault: count is cumulative — fault_clear() does not reset it
Defines approach for visualizing iambic FSM events (memory window, squeeze, memory armed, Mode B bonus) on the timeline. Key decisions: - Widen stream_sample_t flags to uint16_t (4 new flag bits) - FSM sets bits in RT path (no logic duplication) - Overlay rendering on OUT track with localStorage toggle - Visual treatment marked as experimental, needs iteration
9 tasks with TDD approach, dependency graph, exact file paths and code. Tasks 3-5 parallelizable after task 2.
Add FLAG_MEM_WINDOW, FLAG_SQUEEZE, FLAG_MEM_ARMED, FLAG_MODE_B_BONUS constants. Sample grows from 6 to 7 bytes. No behavioral change yet.
iambic_processor_t gains event_flags field, cleared each tick. FLAG_SQUEEZE set when both paddles pressed.
New 'iambic' event type with mem_window, squeeze, mem_armed, mode_b_bonus sub-events sent on flag transitions.
Shows memory window, squeeze, memory armed, Mode B bonus as overlay markers on OUT track. Toggle saved to localStorage. Visual treatment is experimental and will be iterated.
Track git HEAD via a hash file so the frontend stamp is invalidated on new commits, even when no source files changed. Works in worktrees.
assets.c was generated into src/ (source tree), so idf.py fullclean would delete the build stamp but leave the stale assets.c behind. Subsequent builds would use the old frontend without rebuilding. Move ASSETS_OUTPUT to CMAKE_CURRENT_BINARY_DIR and use target_sources() to add it as a generated source. Now fullclean reliably forces frontend rebuild.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
stream_sample_t.flagsfromuint8_ttouint16_t, add 4 new iambic event flag bits (FLAG_MEM_WINDOW,FLAG_SQUEEZE,FLAG_MEM_ARMED,FLAG_MODE_B_BONUS)update_gpioanddecide_next_element) with per-tick clearing viaevent_flagsaccumulatorbg_taskand broadcast asiambicWebSocket eventsTest Plan