From e518bbfedde679650e538edcab9bb46997985e52 Mon Sep 17 00:00:00 2001 From: ptrkrysik Date: Thu, 6 Nov 2014 14:50:59 +0100 Subject: Added capability to receive multiple channels of a single BTS to the receiver. It is now possible to receive bursts on channels for which frequency hopping was used. Changed examples to work without hierarhical GSM Receiver block. --- .../misc_utils/gsm_clock_offset_corrector.grc | 443 ++++++++++++--------- 1 file changed, 251 insertions(+), 192 deletions(-) (limited to 'hier_blocks') diff --git a/hier_blocks/misc_utils/gsm_clock_offset_corrector.grc b/hier_blocks/misc_utils/gsm_clock_offset_corrector.grc index 8621029..efc1275 100644 --- a/hier_blocks/misc_utils/gsm_clock_offset_corrector.grc +++ b/hier_blocks/misc_utils/gsm_clock_offset_corrector.grc @@ -1,55 +1,19 @@ - Wed Aug 13 19:09:32 2014 + Thu Nov 6 10:22:20 2014 - options + import id - clock_offset_corrector + math_imp _enabled True - title - Clock offset corrector - - - author - Piotr Krysik - - - description - - - - window_size - 1280, 1024 - - - generate_options - hb - - - category - GSM - - - run_options - prompt - - - run - True - - - max_nouts - 0 - - - realtime_scheduling - + import + import math alias @@ -57,7 +21,7 @@ _coordinate - (10, 10) + (11, 125) _rotation @@ -65,18 +29,30 @@ - import + parameter id - math_imp + fc _enabled True - import - import math + label + fc + + + value + 936.6e6 + + + type + eng_float + + + short_id + alias @@ -84,7 +60,7 @@ _coordinate - (11, 125) + (274, 19) _rotation @@ -92,46 +68,38 @@ - fractional_resampler_xx + parameter id - fractional_resampler_xx_0 + samp_rate_in _enabled True - type - complex + label + samp_rate_in - phase_shift - 0 + value + 1625000.0/6.0*4.0 - resamp_ratio - 1 + type + eng_float - alias + short_id - affinity + alias - - minoutbuf - 0 - - - maxoutbuf - 0 - _coordinate - (720, 303) + (368, 19) _rotation @@ -139,10 +107,10 @@ - pad_source + parameter id - pad_source_0 + samp_rate_out _enabled @@ -150,27 +118,27 @@ label - in + samp_rate_out - type - complex + value + 1625000.0/6.0*4.0 - vlen - 1 + type + eng_float - num_streams - 1 + short_id + - optional - False + alias + _coordinate - (14, 299) + (592, 20) _rotation @@ -209,7 +177,7 @@ _coordinate - (1170, 333) + (1184, 333) _rotation @@ -217,38 +185,46 @@ - parameter + fractional_resampler_xx id - fc + fractional_resampler_xx_0 _enabled True - label - fc + type + complex - value - 936.6e6 + phase_shift + 0 - type - eng_float + resamp_ratio + samp_rate_in/samp_rate_out - short_id + alias - alias + affinity + + minoutbuf + 0 + + + maxoutbuf + 0 + _coordinate - (274, 19) + (721, 303) _rotation @@ -256,10 +232,10 @@ - parameter + pad_source id - ppm + pad_source_0 _enabled @@ -267,27 +243,27 @@ label - ppm + in - value - 0 + type + complex - type - eng_float + vlen + 1 - short_id - + num_streams + 1 - alias - + optional + False _coordinate - (496, 19) + (14, 299) _rotation @@ -295,38 +271,42 @@ - parameter + gsm_controlled_rotator_cc id - samp_rate_in + gsm_controlled_rotator_cc_0 _enabled True - label - samp_rate_in + phase_inc + 0 - value - 1625000.0/6.0*4.0 + samp_rate + samp_rate_out - type - eng_float + alias + - short_id + affinity - alias - + minoutbuf + 0 + + + maxoutbuf + 0 _coordinate - (368, 19) + (968, 320) _rotation @@ -334,38 +314,46 @@ - pad_source + blocks_multiply_const_vxx id - ppm_in + blocks_multiply_const_vxx_0 _enabled True - label - ppm_in + type + float - type - message + const + fc/samp_rate_out*(2*math.pi)/1e6 vlen 1 - num_streams - 1 + alias + - optional - True + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 _coordinate - (15, 217) + (435, 216) _rotation @@ -373,38 +361,46 @@ - parameter + fractional_resampler_xx id - samp_rate_out + fractional_resampler_xx_0_0 _enabled True - label - samp_rate_out + type + float - value - 1625000.0/6.0*4.0 + phase_shift + 0 - type - eng_float + resamp_ratio + samp_rate_in/samp_rate_out - short_id + alias - alias + affinity + + minoutbuf + 0 + + + maxoutbuf + 0 + _coordinate - (592, 20) + (721, 220) _rotation @@ -443,7 +439,7 @@ _coordinate - (183, 217) + (182, 216) _rotation @@ -451,46 +447,77 @@ - blocks_add_const_vxx + pad_source id - blocks_add_const_vxx_0 + ppm_in _enabled True - type - float + label + ppm_in - const - samp_rate_in/samp_rate_out + type + message vlen 1 - alias - + num_streams + 1 - affinity - + optional + True - minoutbuf + _coordinate + (13, 216) + + + _rotation 0 + + + parameter - maxoutbuf + id + ppm + + + _enabled + True + + + label + ppm + + + value 0 + + type + eng_float + + + short_id + + + + alias + + _coordinate - (571, 333) + (496, 19) _rotation @@ -537,7 +564,7 @@ _coordinate - (411, 333) + (410, 333) _rotation @@ -545,22 +572,26 @@ - gsm_controlled_rotator_cc + blocks_add_const_vxx id - gsm_controlled_rotator_cc_0 + blocks_add_const_vxx_0 _enabled True - phase_inc - 0 + type + float - samp_rate - samp_rate_out + const + samp_rate_in/samp_rate_out + + + vlen + 1 alias @@ -580,7 +611,7 @@ _coordinate - (973, 320) + (571, 333) _rotation @@ -588,46 +619,62 @@ - blocks_multiply_const_vxx + options id - blocks_multiply_const_vxx_0 + clock_offset_corrector _enabled True - type - float + title + Clock offset corrector - const - fc/samp_rate_out*(2*math.pi)/1e6 + author + Piotr Krysik - vlen - 1 + description + - alias - + window_size + 2280, 1024 - affinity - + generate_options + hb - minoutbuf - 0 + category + GSM - maxoutbuf + run_options + prompt + + + run + True + + + max_nouts 0 + + realtime_scheduling + + + + alias + + _coordinate - (724, 216) + (10, 10) _rotation @@ -635,22 +682,34 @@ - blocks_add_const_vxx_0 + ppm_in + gsm_controlled_const_source_f_0 + 0 + constant_msg + + + gsm_controlled_const_source_f_0 + blocks_multiply_const_vxx_0 + 0 + 0 + + + pad_source_0 fractional_resampler_xx_0 0 - 1 + 0 blocks_multiply_const_vxx_0 - gsm_controlled_rotator_cc_0 + fractional_resampler_xx_0_0 0 - 1 + 0 - fractional_resampler_xx_0 - gsm_controlled_rotator_cc_0 + blocks_add_const_vxx_0 + fractional_resampler_xx_0_0 0 - 0 + 1 gsm_controlled_rotator_cc_0 @@ -659,16 +718,16 @@ 0 - pad_source_0 - fractional_resampler_xx_0 + fractional_resampler_xx_0 + gsm_controlled_rotator_cc_0 0 0 - blocks_multiply_const_vxx_0_0 - blocks_add_const_vxx_0 + blocks_add_const_vxx_0 + fractional_resampler_xx_0 0 - 0 + 1 gsm_controlled_const_source_f_0 @@ -677,15 +736,15 @@ 0 - ppm_in - gsm_controlled_const_source_f_0 + blocks_multiply_const_vxx_0_0 + blocks_add_const_vxx_0 0 - constant_msg + 0 - gsm_controlled_const_source_f_0 - blocks_multiply_const_vxx_0 + fractional_resampler_xx_0_0 + gsm_controlled_rotator_cc_0 0 - 0 + 1 -- cgit v1.2.3