1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 12:42:30 +04:00

add support for top44rbn remotes

This commit is contained in:
MX
2025-10-13 01:32:43 +03:00
parent d465877919
commit b03316d89d
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
## Main changes ## Main changes
- Current API: 87.0 - Current API: 87.0
* SubGHz: Add support for **Came Atomo (TOP44RBN)** remotes (thanks @mishamyte for recordings)
* SubGHz: Add **Elplast 18bit** static code protocol (hello Hackcat ^_^) * SubGHz: Add **Elplast 18bit** static code protocol (hello Hackcat ^_^)
* SubGHz: Try to **decode BFT** (2 buttons remotes only) **on the fly** in regular Read mode (no more KL Unknown and all of that for free?!) (for 4 button remote follow docs [here](https://github.com/DarkFlippers/unleashed-firmware/blob/dev/documentation/SubGHzRemoteProg.md)) * SubGHz: Try to **decode BFT** (2 buttons remotes only) **on the fly** in regular Read mode (no more KL Unknown and all of that for free?!) (for 4 button remote follow docs [here](https://github.com/DarkFlippers/unleashed-firmware/blob/dev/documentation/SubGHzRemoteProg.md))
* SubGHz: **Tune Linear** (edited by @WillyJL in PR #919 #920) (add better EZCode support) and **Dickert MAHS** protocol decoders * SubGHz: **Tune Linear** (edited by @WillyJL in PR #919 #920) (add better EZCode support) and **Dickert MAHS** protocol decoders

View File

@@ -418,8 +418,11 @@ void subghz_protocol_decoder_came_atomo_feed(void* context, bool level, uint32_t
ManchesterEvent event = ManchesterEventReset; ManchesterEvent event = ManchesterEventReset;
switch(instance->decoder.parser_step) { switch(instance->decoder.parser_step) {
case CameAtomoDecoderStepReset: case CameAtomoDecoderStepReset:
if((!level) && (DURATION_DIFF(duration, subghz_protocol_came_atomo_const.te_long * 60) < // There are two known options for the header: 72K us (TOP42R, TOP44R) or 12k us (found on TOP44RBN)
subghz_protocol_came_atomo_const.te_delta * 40)) { if((!level) && ((DURATION_DIFF(duration, subghz_protocol_came_atomo_const.te_long * 10) <
subghz_protocol_came_atomo_const.te_delta * 20) ||
(DURATION_DIFF(duration, subghz_protocol_came_atomo_const.te_long * 60) <
subghz_protocol_came_atomo_const.te_delta * 40))) {
//Found header CAME //Found header CAME
instance->decoder.parser_step = CameAtomoDecoderStepDecoderData; instance->decoder.parser_step = CameAtomoDecoderStepDecoderData;
instance->decoder.decode_data = 0; instance->decoder.decode_data = 0;