@@ -109,7 +109,7 @@ def __init__(self, options):
109
109
self ._up_bitrate = options .up_bitrate
110
110
self ._up_samples_per_symbol = self ._up_samples_per_second / self ._up_bitrate
111
111
self ._samples_per_symbol = self ._samples_per_second / self ._down_decim / self ._down_bitrate
112
- self ._down_sub_freq = 25e3
112
+ self ._down_sub_freq = options . down_sub_freq
113
113
self ._up_sub_freq = 25e3
114
114
self ._tm_len = 8920
115
115
self ._up_tm_len = 8920
@@ -716,7 +716,7 @@ def __init__(self, options):
716
716
self .turnaround_null = blocks .null_sink (gr .sizeof_float )
717
717
718
718
# PLL and associated carrier for tracking carrier frequency if residual carrier is used
719
- self .carrier_tracking = sdrp .pll_freq_acq_cc (math .pi / 200 , math .pi , - math .pi , int (options .acq_samples ))
719
+ self .carrier_tracking = sdrp .pll_freq_acq_cc (math .pi / 2000 , math .pi , - math .pi , int (options .acq_samples ))
720
720
self .imag_to_float = blocks .complex_to_imag ()
721
721
722
722
#Suppressed carrier requires costas after subcarrier mixer
@@ -1260,6 +1260,8 @@ def main():
1260
1260
help = "FIFO to write command responses to (for interfacing to GNURadio)" )
1261
1261
parser .add_option ("" , "--rx-freq" , type = "eng_float" , default = 7.2e9 ,
1262
1262
help = "set RX frequency [default=%default]" )
1263
+ parser .add_option ("" , "--down-sub-freq" , type = "eng_float" , default = 25e3 ,
1264
+ help = "set downlink subcarrier frequency [default=%default]" )
1263
1265
parser .add_option ("" , "--excess-bw" , type = "float" , default = _def_excess_bw ,
1264
1266
help = "set RRC excess bandwith factor [default=%default]" )
1265
1267
parser .add_option ("" , "--freq-bw" , type = "float" , default = _def_freq_bw ,
0 commit comments