feat: add 36 subghz protocol decoder - #2675
Open
Mysteriza wants to merge 4 commits into
Open
Conversation
…on on the remote is not available.
Extend RfProtocolDef with decode/encode callbacks for protocols that do not fit the factor-based OOK model (Manchester, rolling code). Create extended registry (rf_registry_ext) with FAAC SLH, PowerSmart, and Intertechno V3 decoders. Update decode/encode dispatch to try callback decoders after factor matching.
Port remaining Flipper-compatible decoders: rolling-code (SecPlus, Somfy, Hormann, CAME, NiceFlor), TPMS (Schrader, Ford, Renault, Citroen, Toyota), and simple OOK (Marantec, Dooya, Legrand, etc.). Wire into scan pipeline and fix decoder dispatch and bounds-check bugs.
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.
The biggest update I've made, I don't even know if it works or not until someone tests it.
Anyone who has a sub-GHz remote control, regardless of the protocol, is welcome to test it. Please.
Proposed Changes
Port 36 additional Sub-GHz protocol decoders from Flipper Zero to Bruce, expanding the callback-based decoder framework introduced in the previous commit. Adds rolling-code, TPMS, Manchester, and OOK fixed-code decoders with full decode/encode support. Integrates decoders into the RF scan pipeline and
.subserialization with rolling-code field support.New protocols by category:
Types of Changes
New Feature
Verification
Build with
platformio run -e reapersucceeds with 0 errors. Each decoder was ported by translating the Flipper C source line-by-line, preserving timing constants, state machines, bit decoding, and checksum logic. The existing 25 factor-based OOK protocols remain untouched and continue to match first.Testing
Build verified only. I do not have physical devices/remotes for all protocols, so real-world testing is needed.
Linked Issues
NONE
User-Facing Change
Further Comments
.subcapture.