From 1a4d197e380ec2c8f9b45bdd400b68adc5ddb772 Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Thu, 1 May 2025 00:17:12 +0300
Subject: [PATCH 01/10] log level none after update
---
applications/system/updater/util/update_task_worker_flasher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/applications/system/updater/util/update_task_worker_flasher.c b/applications/system/updater/util/update_task_worker_flasher.c
index a464815f0..f18339847 100644
--- a/applications/system/updater/util/update_task_worker_flasher.c
+++ b/applications/system/updater/util/update_task_worker_flasher.c
@@ -345,7 +345,7 @@ int32_t update_task_worker_flash_writer(void* context) {
furi_hal_rtc_set_flag(FuriHalRtcFlagStorageFormatInternal);
#ifdef FURI_NDEBUG
// Production
- furi_hal_rtc_set_log_level(FuriLogLevelDefault);
+ furi_hal_rtc_set_log_level(FuriLogLevelNone);
furi_hal_rtc_reset_flag(FuriHalRtcFlagDebug);
furi_hal_rtc_reset_flag(FuriHalRtcFlagLegacySleep);
furi_hal_rtc_set_heap_track_mode(FuriHalRtcHeapTrackModeNone);
From f87102362b991a0731e52ab619bb003ea264bfc5 Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Sat, 3 May 2025 00:30:02 +0300
Subject: [PATCH 02/10] upd changelog
---
CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8e09fba3f..84b709b82 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
* OFW PR 4206: Stop JS PWM on exit (by @portasynthinca3)
* Apps: **Check out more Apps updates and fixes by following** [this link](https://github.com/xMasterX/all-the-plugins/commits/dev)
## Other changes
+* System: log level none after update
* Docs: Some updates on subghz remotes programming
#### Known NFC post-refactor regressions list:
From 70a4731874de8b0b2137ea3d06e65581214406a8 Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Sun, 4 May 2025 21:10:49 +0300
Subject: [PATCH 03/10] Remove stupid "!" that broke subghz chat cli ofw pr4212
by GameLord2011
---
applications/main/subghz/subghz_cli.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/applications/main/subghz/subghz_cli.c b/applications/main/subghz/subghz_cli.c
index 947920964..88b5f7f0d 100644
--- a/applications/main/subghz/subghz_cli.c
+++ b/applications/main/subghz/subghz_cli.c
@@ -1099,7 +1099,7 @@ static void subghz_cli_command_chat(PipeSide* pipe, FuriString* args) {
break;
}
}
- if(!cli_is_pipe_broken_or_is_etx_next_char(pipe)) {
+ if(cli_is_pipe_broken_or_is_etx_next_char(pipe)) {
printf("\r\n");
chat_event.event = SubGhzChatEventUserExit;
subghz_chat_worker_put_event_chat(subghz_chat, &chat_event);
From e46c5cb650d3797ad419d026c32988218d63dcfb Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Sun, 4 May 2025 21:11:40 +0300
Subject: [PATCH 04/10] upd changelog
---
CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84b709b82..cbcd4866e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
* NFC: Ultralight C - Attempt of authentication with default key (PR #898 | by @mishamyte)
* OFW PR 4205: fix sample durations when using external CC1101 (by @Aerosnail)
* OFW PR 4206: Stop JS PWM on exit (by @portasynthinca3)
+* OFW PR 4212: Remove stupid "!" that broke subghz chat cli (by @GameLord2011)
* Apps: **Check out more Apps updates and fixes by following** [this link](https://github.com/xMasterX/all-the-plugins/commits/dev)
## Other changes
* System: log level none after update
From 5ca63ff1a477b4cf40b6f2084d0c6e4d3e463ad6 Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Tue, 6 May 2025 03:38:34 +0300
Subject: [PATCH 05/10] update came atomo docs
---
documentation/SubGHzRemoteProg.md | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/documentation/SubGHzRemoteProg.md b/documentation/SubGHzRemoteProg.md
index d9809f8cb..c02c6ee43 100644
--- a/documentation/SubGHzRemoteProg.md
+++ b/documentation/SubGHzRemoteProg.md
@@ -165,9 +165,34 @@ Now you will have exact clone of your remote that will have same counter, by mak
11. Also your original remote may become non working since it needs to be re-added into receiver board if you made counter much higher than original :C
## CAME Atomo
+Known names are: TOP42R / TOP44R - TOP44RGR (806TS-0130)
-1. Use google to find instructions - `how to program new CAME Atomo remote into receiver`
-2. Watch this video to learn more (video in Russian language): https://www.youtube.com/watch?v=XeHUwfcSS30
+How to create new remote and bind it to receiver (will not conflict with original remotes):
+
+With original remote (or copy of the original remote):
+
+1. Create new remote with randomly generated serial: Go to SubGHz -> Add Manually -> CAME Atomo 433MHz or 868MHz
+2. Open your new remote file
+3. You need to be in minimum 3 meters to receiver
+4. Original Remote: Press and hold button that is bound with that receiver (the one you use with it), and hold it for about 10 seconds.
+5. You will have about 20 seconds to add new remote
+6. Long press Send on Flipper in new remote for like 3-4 sec and release - this will add new remote to the receiver
+7. Press and hold Send again after waiting 20 seconds - this will trigger the receiver
+8. Done, when using CAME Atomo from flipper please hold Send button for at least 2 seconds to allow code to be fully transmit, flipper transmits only while button is held
+
+Note: Static 24/12 bit or TWEE remotes cannot trigger programming mode in the receiver and cannot be bound if programming mode was triggered by Atomo type remote, only Atomo remotes can be added if remote programming was done by Atomo remote, Static remotes have option to clone from one remote to another, but it requires first remote to be added to the receiver via button on the receiver board
+
+With access to receiver box:
+
+1. Create new remote with randomly generated serial: Go to SubGHz -> Add Manually -> CAME Atomo 433MHz or 868MHz
+2. Open your new remote file
+3. Open the receiver box and find programming button related to the used channel, for example RE432M/RE862M receiver has two independent channels which can have different remotes / buttons on them, when you found connected channel press "1" or "2" button on the receiver board to enter programming mode
+4. Long press Send on Flipper new remote for like 3-4 sec and release - this will add new remote to the receiver
+5. Click CLEAR button one time on the receiver board to exit programming mode, or wait about 20 seconds it will exit from programming mode automatically
+6. Done, when using CAME Atomo from flipper please hold Send button for at least 2 seconds to allow code to be fully transmit, flipper transmits only while button is held
+
+
+Watch this video to learn more (video in Russian language): https://www.youtube.com/watch?v=XeHUwfcSS30
## Nice Flor S
From 760079ee2c70fc02a1c7b4c3aaeec6cdbb670daa Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Tue, 6 May 2025 04:11:01 +0300
Subject: [PATCH 06/10] better came decoder
---
lib/subghz/protocols/came.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/subghz/protocols/came.c b/lib/subghz/protocols/came.c
index bbe3e487f..c3d9c8662 100644
--- a/lib/subghz/protocols/came.c
+++ b/lib/subghz/protocols/came.c
@@ -244,8 +244,11 @@ void subghz_protocol_decoder_came_feed(void* context, bool level, uint32_t durat
switch(instance->decoder.parser_step) {
case CameDecoderStepReset:
if((!level) && (DURATION_DIFF(duration, subghz_protocol_came_const.te_short * 56) <
- subghz_protocol_came_const.te_delta * 47)) {
+ subghz_protocol_came_const.te_delta * 63)) {
+ // 17920 us + 7050 us = 24970 us max possible value old one
+ // delta = 150 us x 63 = 9450 us + 17920 us = 27370 us max possible value
//Found header CAME
+ // 26700 us or 24000 us max possible values
instance->decoder.parser_step = CameDecoderStepFoundStartBit;
}
break;
From fb02568fab8d02491631d1fa752535ed04824aad Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Tue, 6 May 2025 04:11:46 +0300
Subject: [PATCH 07/10] tune holtek to decode holtek only and not conflict with
came 12bit
---
lib/subghz/protocols/holtek_ht12x.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/subghz/protocols/holtek_ht12x.c b/lib/subghz/protocols/holtek_ht12x.c
index 302b78598..be2dfd406 100644
--- a/lib/subghz/protocols/holtek_ht12x.c
+++ b/lib/subghz/protocols/holtek_ht12x.c
@@ -234,8 +234,10 @@ void subghz_protocol_decoder_holtek_th12x_feed(void* context, bool level, uint32
switch(instance->decoder.parser_step) {
case Holtek_HT12XDecoderStepReset:
- if((!level) && (DURATION_DIFF(duration, subghz_protocol_holtek_th12x_const.te_short * 36) <
- subghz_protocol_holtek_th12x_const.te_delta * 36)) {
+ if((!level) && (DURATION_DIFF(duration, subghz_protocol_holtek_th12x_const.te_short * 28) <
+ subghz_protocol_holtek_th12x_const.te_delta * 20)) {
+ // 18720 us old max value
+ // 12960 us corrected max value
//Found Preambula
instance->decoder.parser_step = Holtek_HT12XDecoderStepFoundStartBit;
}
From b16bca1b60918509818aa98e2ed0a4cc08282eca Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Tue, 6 May 2025 04:13:09 +0300
Subject: [PATCH 08/10] upd changelog
---
CHANGELOG.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cbcd4866e..c2c55d5f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
## Main changes
- Current API: 86.0
+* SubGHz: Fix CAME 24bit decoder
+* SubGHz: Tune holtek ht12x to decode holtek only and not conflict with came 12bit
* NFC: Ultralight C - Attempt of authentication with default key (PR #898 | by @mishamyte)
* OFW PR 4205: fix sample durations when using external CC1101 (by @Aerosnail)
* OFW PR 4206: Stop JS PWM on exit (by @portasynthinca3)
From 6c798a5d4b505a643ca64e6c8a2df2480b13287b Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Tue, 6 May 2025 13:13:16 +0300
Subject: [PATCH 09/10] fix subghz rename scene bug (or hidden feature)
---
applications/main/subghz/scenes/subghz_scene_save_name.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/applications/main/subghz/scenes/subghz_scene_save_name.c b/applications/main/subghz/scenes/subghz_scene_save_name.c
index 1b89d1d4d..d31f1ce25 100644
--- a/applications/main/subghz/scenes/subghz_scene_save_name.c
+++ b/applications/main/subghz/scenes/subghz_scene_save_name.c
@@ -93,6 +93,9 @@ void subghz_scene_save_name_on_enter(void* context) {
bool subghz_scene_save_name_on_event(void* context, SceneManagerEvent event) {
SubGhz* subghz = context;
if(event.type == SceneManagerEventTypeBack) {
+ // Set file path to default
+ furi_string_set(subghz->file_path, SUBGHZ_APP_FOLDER);
+ //
if(!(strcmp(subghz->file_name_tmp, "") == 0) ||
scene_manager_get_scene_state(subghz->scene_manager, SubGhzSceneReadRAW) !=
SubGhzCustomEventManagerNoSet) {
@@ -106,8 +109,6 @@ bool subghz_scene_save_name_on_event(void* context, SceneManagerEvent event) {
} else {
scene_manager_previous_scene(subghz->scene_manager);
}
- // Set file path to default
- furi_string_set(subghz->file_path, SUBGHZ_APP_FOLDER);
return true;
} else if(event.type == SceneManagerEventTypeCustom) {
From ee80ea115d1e1d5cb2ebd34b9ee078a6509cbc86 Mon Sep 17 00:00:00 2001
From: MX <10697207+xMasterX@users.noreply.github.com>
Date: Tue, 6 May 2025 13:14:15 +0300
Subject: [PATCH 10/10] upd changelog
---
CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c2c55d5f6..beb90d40f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
- Current API: 86.0
* SubGHz: Fix CAME 24bit decoder
* SubGHz: Tune holtek ht12x to decode holtek only and not conflict with came 12bit
+* SubGHz: Fix Rename scene bug, that was replacing file name with random name when Rename is opened then closed then opened again
* NFC: Ultralight C - Attempt of authentication with default key (PR #898 | by @mishamyte)
* OFW PR 4205: fix sample durations when using external CC1101 (by @Aerosnail)
* OFW PR 4206: Stop JS PWM on exit (by @portasynthinca3)