Improve controller connection stability and draw throughput - #87
Draft
Woodii1998 wants to merge 9 commits into
Draft
Improve controller connection stability and draw throughput#87Woodii1998 wants to merge 9 commits into
Woodii1998 wants to merge 9 commits into
Conversation
Merged
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.
What changed
Ccommands while retainingW 500, and reduce interactive preview scale.Why
The previous implementation had ACK registration and execution-lifecycle check/await races, ordinary resets could discard the host bond, malformed firmware parameters could reach long-running operations, checkerboards entered quadratic component ordering, multicolor plans repeated unnecessary selection commands, and recovery rewrote full JSON on every ACK.
Measured impact
Verification
npm run ci:local:quick— desktop 122/122, flasher 8/8, TypeScript checks and production web build passed./tmp/friendmaker-platformio-venv/bin/platformio run -d firmware/esp32 -e esp32dev_wireless -e esp32dev_wireless_switch2 -e esp32dev_wireless_switch_lite— all three environments passed.git diff --check fab94c6..HEADand the credential-pattern scan passed.Hardware follow-ups
W 500, the standard profile's non-waiting send flags, and HID callbacks non-blocking. Truly interruptible long firmware operations and relative palette tracking remain separate HIL work.