Skip to content

Add diode status and guard blocked receivers - #10

Merged
lumirth merged 4 commits into
mainfrom
codex/diode-status
Oct 14, 2026
Merged

lumirth merged 4 commits into
mainfrom
codex/diode-status

Conversation

@lumirth

@lumirth lumirth commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Add diode status in the screen margin during connection: × for missing, arrows for reversal, and solid for connected. Connected confirmation clears when the exchange ends. A diagnosed fault stays visible on the relevant connection screen until correction or leaving; an inconclusive follow-up cannot erase it. Communication errors never create diode warnings.

Detect presence with bounded capacitance checks and reversal with a weak-current voltage sweep, including a dark forward-junction test. Reject a blocked or missing input before strong GPIO precharge. Checks run for the attempt, with at most three follow-ups after rejection; the sensor is released afterward.

Give orientation labels, panel rotation and icon placement one shared definition. Left side down places the icon at top left; right side down places it at bottom right. Both have four pixels of padding. Existing physical rotation choices are preserved. The original Pokéwalker connection flow and result screens remain unchanged.

Validation: production build, static checks, host tests and all 20 production simulator scenarios, including dark reversal, strong light, shorts, both corners, fault persistence, quiet no-reply failures, cleanup after hardware/software timeouts, save recovery, and peer transfers/play. Physical checks detected the inserted diode and an unpopulated GPIO6 control on four checks each, taking about 129 ms. A physical weak-bias sweep verified the inserted diode's response; physical reversed and empty-GPIO5 sweeps were not captured. Electrical evidence.

@lumirth
lumirth marked this pull request as ready for review October 14, 2026 18:11
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@lumirth lumirth changed the title Add transient diode feedback and guard blocked receivers Add diode status and guard blocked receivers Oct 14, 2026
@lumirth
lumirth merged commit 91304d7 into main Oct 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant