Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkorpionm <85568270+Skorpionm@users.noreply.github.com>2022-03-17 12:55:53 +0300
committerGitHub <noreply@github.com>2022-03-17 12:55:53 +0300
commitb86a400a82d0703e464a29bc5e3dd25ae46140fa (patch)
tree6eeb37b940e74148c121db4fbfac65220312f730 /applications/subghz/subghz.c
parentc098292a53e795b393708dcde2a4e2468c1da3c1 (diff)
SubGhz: add frequencies and add DoorHan 315.00 (#1028)
* SubGhz: add frequencies and add DoorHan 315.00 * SubGhz: fix syntax Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to 'applications/subghz/subghz.c')
-rw-r--r--applications/subghz/subghz.c31
1 files changed, 28 insertions, 3 deletions
diff --git a/applications/subghz/subghz.c b/applications/subghz/subghz.c
index 7a140685..0fb2f6d9 100644
--- a/applications/subghz/subghz.c
+++ b/applications/subghz/subghz.c
@@ -4,33 +4,57 @@
#include <lib/toolbox/path.h>
const char* const subghz_frequencies_text[] = {
+
+ "300.00",
+ "303.88",
+ "304.25",
"315.00",
+ "318.00",
+
+ "390.00",
+ "418.00",
"433.08",
"433.42",
"433.92",
"434.42",
+ "434.78",
+ "438.90",
+
"868.35",
"915.00",
+ "925.00",
};
const uint32_t subghz_frequencies[] = {
+
/* 300 - 348 */
+ 300000000,
+ 303875000,
+ 304250000,
315000000,
+ 318000000,
/* 387 - 464 */
-
+ 390000000,
+ 418000000,
433075000, /* LPD433 first */
433420000,
433920000, /* LPD433 mid */
434420000,
- /* 779 - 928 */
+ 434775000, /* LPD433 last channels */
+ 438900000,
+ /* 779 - 928 */
868350000,
915000000,
+ 925000000,
+
};
const uint32_t subghz_hopper_frequencies[] = {
315000000,
+ 318000000,
+ 390000000,
433920000,
868350000,
};
@@ -38,7 +62,8 @@ const uint32_t subghz_hopper_frequencies[] = {
const uint32_t subghz_frequencies_count = sizeof(subghz_frequencies) / sizeof(uint32_t);
const uint32_t subghz_hopper_frequencies_count =
sizeof(subghz_hopper_frequencies) / sizeof(uint32_t);
-const uint32_t subghz_frequencies_433_92 = 3;
+const uint32_t subghz_frequencies_433_92 = 9;
+const uint32_t subghz_frequencies_315_00 = 3;
bool subghz_custom_event_callback(void* context, uint32_t event) {
furi_assert(context);