Skip to content

Commit 82f8ad4

Browse files
committed
Add 350Mhz to default range
Actually this frequency is used by some part of home devices like ceiling fans
1 parent 1534bcf commit 82f8ad4

File tree

5 files changed

+43
-8
lines changed

5 files changed

+43
-8
lines changed

applications/main/subghz/views/subghz_frequency_analyzer.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
static const uint32_t subghz_frequency_list[] = {
2424
300000000, 302757000, 303875000, 304250000, 307000000, 307500000, 307800000, 309000000,
2525
310000000, 312000000, 312100000, 313000000, 313850000, 314000000, 314350000, 314980000,
26-
315000000, 318000000, 330000000, 345000000, 348000000, 387000000, 390000000, 418000000,
27-
433075000, 433220000, 433420000, 433657070, 433889000, 433920000, 434075000, 434176948,
28-
434390000, 434420000, 434775000, 438900000, 440175000, 464000000, 779000000, 868350000,
29-
868400000, 868800000, 868950000, 906400000, 915000000, 925000000, 928000000};
26+
315000000, 318000000, 330000000, 345000000, 348000000, 350000000, 387000000, 390000000,
27+
418000000, 433075000, 433220000, 433420000, 433657070, 433889000, 433920000, 434075000,
28+
434176948, 434390000, 434420000, 434775000, 438900000, 440175000, 464000000, 779000000,
29+
868350000, 868400000, 868800000, 868950000, 906400000, 915000000, 925000000, 928000000};
3030

3131
typedef enum {
3232
SubGhzFrequencyAnalyzerStatusIDLE,

documentation/DangerousSettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## How to extend SubGHz supported frequency range
22

3-
#### CC1101 Frequency range specs: 300-348 MHz, 386-464 MHz, and 778-928 MHz
3+
#### CC1101 Frequency range specs: 300-348 MHz, 386-464 MHz, and 778-928 MHz (+ 350MHz was added to default range)
44
#### This setting will extend to: 281-361 MHz, 378-481 MHz, and 749-962 MHz
55

66
1. Please do not do that unless you know what exactly you are doing

documentation/SubGHzSettings.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## How to add new SubGHz frequencies
22

3-
#### CC1101 Frequency range specs: 300-348 MHz, 386-464 MHz, and 778-928 MHz
3+
#### CC1101 Frequency range specs: 300-348 MHz, 386-464 MHz, and 778-928 MHz (+ 350MHz was added to default range)
44

55
Edit user settings file located on your microSD card - `subghz/assets/setting_user`
66

@@ -11,26 +11,60 @@ if you need your custom one, make sure it doesn't listed here
1111
```
1212
/* 300 - 348 */
1313
300000000,
14+
302757000,
1415
303875000,
1516
304250000,
17+
307000000,
18+
307500000,
19+
307800000,
20+
309000000,
1621
310000000,
22+
312000000,
23+
312100000,
24+
312200000,
25+
313000000,
26+
313850000,
27+
314000000,
28+
314350000,
29+
314980000,
1730
315000000,
1831
318000000,
32+
330000000,
33+
345000000,
34+
348000000,
35+
350000000,
1936
2037
/* 387 - 464 */
38+
387000000,
2139
390000000,
2240
418000000,
2341
433075000, /* LPD433 first */
42+
433220000,
2443
433420000,
25-
433920000 /* LPD433 mid */
44+
433657070,
45+
433889000,
46+
433920000 | FREQUENCY_FLAG_DEFAULT, /* LPD433 mid */
47+
434075000,
48+
434176948,
49+
434190000,
50+
434390000,
2651
434420000,
52+
434620000,
2753
434775000, /* LPD433 last channels */
2854
438900000,
55+
440175000,
56+
464000000,
2957
3058
/* 779 - 928 */
59+
779000000,
3160
868350000,
61+
868400000,
62+
868800000,
63+
868950000,
64+
906400000,
3265
915000000,
3366
925000000,
67+
928000000,
3468
```
3569

3670
### User frequencies added AFTER that default list! You need to continue until you reach the end of that list

firmware/targets/f7/furi_hal/furi_hal_subghz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ bool furi_hal_subghz_is_tx_allowed(uint32_t value) {
338338
flipper_format_free(fff_data_file);
339339
furi_record_close(RECORD_STORAGE);
340340

341-
if(!(value >= 299999755 && value <= 348000335) &&
341+
if(!(value >= 299999755 && value <= 350000335) &&
342342
!(value >= 386999938 && value <= 464000000) &&
343343
!(value >= 778999847 && value <= 928000000) && !(is_extended)) {
344344
FURI_LOG_I(TAG, "Frequency blocked - outside default range");

lib/subghz/subghz_setting.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ static const uint32_t subghz_frequency_list[] = {
3939
330000000,
4040
345000000,
4141
348000000,
42+
350000000,
4243

4344
/* 387 - 464 */
4445
387000000,

0 commit comments

Comments
 (0)