From c6a0948a7ac7c4887eed0de1c8d2c9a74b36b72b Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Sat, 20 Apr 2024 22:12:29 -0400 Subject: [PATCH] Added more default bands to a new SDRPlay device. --- owrx/config/defaults.py | 144 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 136 insertions(+), 8 deletions(-) diff --git a/owrx/config/defaults.py b/owrx/config/defaults.py index 8a1e0c65..4c5b9c5f 100644 --- a/owrx/config/defaults.py +++ b/owrx/config/defaults.py @@ -34,7 +34,7 @@ defaultConfig = PropertyLayer( samp_rate=2400000, start_freq=439275000, start_mod="nfm", - tuning_step="1000", + tuning_step="5000", ), "2m": PropertyLayer( name="2m", @@ -43,7 +43,7 @@ defaultConfig = PropertyLayer( samp_rate=2048000, start_freq=145725000, start_mod="nfm", - tuning_step="1000", + tuning_step="5000", ), } ), @@ -92,7 +92,7 @@ defaultConfig = PropertyLayer( samp_rate=384000, start_freq=6070000, start_mod="am", - tuning_step="1000", + tuning_step="5000", ), } ), @@ -104,9 +104,81 @@ defaultConfig = PropertyLayer( rf_gain="auto", profiles=PropertyLayer( **{ + "70cm": PropertyLayer( + name="70cm Repeaters", + center_freq=443500000, + samp_rate=4000000, + start_freq=444000000, + start_mod="nfm", + tuning_step="5000", + ), + "125cm": PropertyLayer( + name="1.25m", + center_freq=223500000, + samp_rate=4000000, + start_freq=224000000, + start_mod="nfm", + tuning_step="5000", + ), + "2m": PropertyLayer( + name="2m", + center_freq=146000000, + samp_rate=4000000, + start_freq=147000000, + start_mod="nfm", + tuning_step="5000", + ), + "6m": PropertyLayer( + name="6m", + center_freq=52000000, + samp_rate=4000000, + start_freq=53000000, + start_mod="usb", + tuning_step="500", + ), + "10m": PropertyLayer( + name="10m", + center_freq=28850000, + samp_rate=2000000, + start_freq=29000000, + start_mod="usb", + tuning_step="500", + ), + "cb": PropertyLayer( + name="11m CB", + center_freq=27000000, + samp_rate=2000000, + start_freq=26965000, + start_mod="am", + tuning_step="5000", + ), + "12m": PropertyLayer( + name="12m", + center_freq=24940000, + samp_rate=250000, + start_freq=24950000, + start_mod="usb", + tuning_step="500", + ), + "15m": PropertyLayer( + name="15m", + center_freq=21225000, + samp_rate=500000, + start_freq=21220000, + start_mod="usb", + tuning_step="500", + ), + "17m": PropertyLayer( + name="17m", + center_freq=18118000, + samp_rate=250000, + start_freq=18110000, + start_mod="usb", + tuning_step="500", + ), "20m": PropertyLayer( name="20m", - center_freq=14150000, + center_freq=14175000, samp_rate=500000, start_freq=14070000, start_mod="usb", @@ -122,27 +194,83 @@ defaultConfig = PropertyLayer( ), "40m": PropertyLayer( name="40m", - center_freq=7100000, + center_freq=7150000, samp_rate=500000, start_freq=7070000, start_mod="lsb", tuning_step="500", ), + "60m": PropertyLayer( + name="60m", + center_freq=5350000, + samp_rate=250000, + start_freq=5357000, + start_mod="usb", + tuning_step="500", + ), "80m": PropertyLayer( name="80m", - center_freq=3650000, + center_freq=3750000, samp_rate=500000, start_freq=3570000, start_mod="lsb", tuning_step="500", ), + "160m": PropertyLayer( + name="160m", + center_freq=1900000, + samp_rate=250000, + start_freq=1910000, + start_mod="lsb", + tuning_step="500", + ), + "am": PropertyLayer( + name="AM Broadcast", + center_freq=1100000, + samp_rate=1000000, + start_freq=1300000, + start_mod="am", + tuning_step="5000", + ), "49m": PropertyLayer( name="49m Broadcast", - center_freq=6000000, + center_freq=6050000, samp_rate=500000, start_freq=6070000, start_mod="am", - tuning_step="1000", + tuning_step="5000", + ), + "41m": PropertyLayer( + name="41m Broadcast", + center_freq=7325000, + samp_rate=250000, + start_freq=7320000, + start_mod="am", + tuning_step="5000", + ), + "31m": PropertyLayer( + name="31m Broadcast", + center_freq=9650000, + samp_rate=500000, + start_freq=9700000, + start_mod="am", + tuning_step="5000", + ), + "25m": PropertyLayer( + name="25m Broadcast", + center_freq=11850000, + samp_rate=500000, + start_freq=12000000, + start_mod="am", + tuning_step="5000", + ), + "22m": PropertyLayer( + name="22m Broadcast", + center_freq=13720000, + samp_rate=500000, + start_freq=13800000, + start_mod="am", + tuning_step="5000", ), } ),