From 6dded65edec613e86e01178d84cd7a5bac074069 Mon Sep 17 00:00:00 2001 From: ptrkrysik Date: Wed, 19 Nov 2014 11:32:05 +0100 Subject: Added new configurable block for demapping of control channels. --- examples/receiver_file.grc | 445 ++++++++++++++++++++++++++++--------------- examples/receiver_rtlsdr.grc | 312 +++++++++++++++++++++++++----- examples/receiver_usrp.grc | 420 ++++++++++++++++++++++++++++++---------- 3 files changed, 869 insertions(+), 308 deletions(-) (limited to 'examples') diff --git a/examples/receiver_file.grc b/examples/receiver_file.grc index af657d8..6bc0516 100644 --- a/examples/receiver_file.grc +++ b/examples/receiver_file.grc @@ -1,63 +1,229 @@ + - Thu Nov 6 14:42:26 2014 + Wed Aug 13 19:03:06 2014 - options + parameter id - gsm_receiver_file + input_file_name _enabled True - title + label + input_file_name + + + value + input.cfile + + + type + string + + + short_id + i + + + alias - author + _coordinate + (184, -5) + + + _rotation + 0 + + + + variable + + id + AGCH + + + _enabled + True + + + value + 4 + + + alias - description + _coordinate + (808, -5) + + + _rotation + 0 + + + + variable + + id + PCH + + + _enabled + True + + + value + 5 + + + alias - window_size - 1280, 1024 + _coordinate + (872, -5) - generate_options - wx_gui + _rotation + 0 + + + variable - category - Custom + id + RACH - run_options - run + _enabled + True - run + value + 3 + + + alias + + + + _coordinate + (744, -5) + + + _rotation + 0 + + + + variable + + id + SDCCH + + + _enabled True - max_nouts + value + 6 + + + alias + + + + _coordinate + (936, -5) + + + _rotation 0 + + + variable + + id + CCCH + - realtime_scheduling + _enabled + True + + + value + 2 + + + alias + + + + _coordinate + (680, -5) + + + _rotation + 0 + + + + variable + + id + BCCH + + + _enabled + True + + + value + 1 + + + alias + + _coordinate + (616, -5) + + + _rotation + 0 + + + + variable + + id + CHANNEL_UNKNOWN + + + _enabled + True + + + value + 0 + alias _coordinate - (10, 10) + (480, -5) _rotation @@ -96,7 +262,7 @@ _coordinate - (311, 10) + (296, -5) _rotation @@ -135,7 +301,7 @@ _coordinate - (656, 8) + (376, -5) _rotation @@ -143,61 +309,62 @@ - gsm_message_printer + options id - gsm_message_printer_0 + gsm_receiver_file _enabled True - alias + title - affinity + author - _coordinate - (1130, 196) + description + - _rotation - 0 + window_size + 1280, 1024 - - - gsm_control_channels_decoder - id - gsm_control_channels_decoder_0 + generate_options + no_gui - _enabled - True + category + Custom - alias - + run_options + run - affinity - + run + True - minoutbuf + max_nouts 0 - maxoutbuf - 0 + realtime_scheduling + + + + alias + _coordinate - (908, 196) + (0, -5) _rotation @@ -205,34 +372,22 @@ - blocks_socket_pdu + gsm_clock_offset_control id - blocks_socket_pdu_0 + gsm_clock_offset_control_0 _enabled True - type - "UDP_CLIENT" - - - host - 127.0.0.1 - - - port - 4729 - - - mtu - 10000 + fc + fc - tcp_no_delay - False + samp_rate + samp_rate alias @@ -252,26 +407,38 @@ _coordinate - (1138, 278) + (240, 219) _rotation - 0 + 180 - gsm_get_bcch_or_ccch_bursts + gsm_input id - gsm_get_bcch_or_ccch_bursts_0 + gsm_input_0 _enabled True - d_fn51_start - 2 + ppm + 0 + + + osr + 4 + + + fc + fc + + + samp_rate_in + samp_rate alias @@ -291,7 +458,7 @@ _coordinate - (637, 192) + (176, 128) _rotation @@ -299,22 +466,30 @@ - gsm_clock_offset_control + blocks_file_source id - gsm_clock_offset_control_0 + blocks_file_source_0 _enabled True - fc - fc + file + input_file_name - samp_rate - samp_rate + type + complex + + + repeat + False + + + vlen + 1 alias @@ -334,11 +509,11 @@ _coordinate - (261, 307) + (-8, 115) _rotation - 180 + 0 @@ -385,7 +560,7 @@ _coordinate - (414, 196) + (352, 112) _rotation @@ -393,30 +568,22 @@ - gsm_input + gsm_universal_ctrl_chans_demapper id - gsm_input_0 + gsm_universal_ctrl_chans_demapper_0 _enabled True - ppm - 0 - - - fc - fc - - - osr - 4 + starts_fn_mod51 + [2,6,12,16,22,26,32,36,42,46] - samp_rate_in - samp_rate + channel_types + [BCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH] alias @@ -436,7 +603,7 @@ _coordinate - (226, 213) + (536, 112) _rotation @@ -444,38 +611,34 @@ - parameter + gsm_control_channels_decoder id - input_file_name + gsm_control_channels_decoder_0 _enabled True - label - input_file_name - - - value - input.cfile + alias + - type - string + affinity + - short_id - i + minoutbuf + 0 - alias - + maxoutbuf + 0 _coordinate - (193, 11) + (784, 112) _rotation @@ -483,31 +646,15 @@ - blocks_file_source + gsm_message_printer id - blocks_file_source_0 + gsm_message_printer_0 _enabled True - - file - input_file_name - - - type - complex - - - repeat - False - - - vlen - 1 - alias @@ -516,17 +663,9 @@ affinity - - minoutbuf - 0 - - - maxoutbuf - 0 - _coordinate - (15, 201) + (1000, 112) _rotation @@ -539,18 +678,6 @@ measurements measurements - - gsm_receiver_0 - gsm_get_bcch_or_ccch_bursts_0 - C0 - bursts - - - gsm_get_bcch_or_ccch_bursts_0 - gsm_control_channels_decoder_0 - bursts - bursts - gsm_control_channels_decoder_0 gsm_message_printer_0 @@ -558,17 +685,23 @@ msgs - gsm_control_channels_decoder_0 - blocks_socket_pdu_0 - msgs - pdus - - - blocks_file_source_0 - gsm_input_0 + gsm_input_0 + gsm_receiver_0 0 0 + + gsm_universal_ctrl_chans_demapper_0 + gsm_control_channels_decoder_0 + bursts + bursts + + + gsm_receiver_0 + gsm_universal_ctrl_chans_demapper_0 + C0 + bursts + gsm_clock_offset_control_0 gsm_input_0 @@ -576,8 +709,8 @@ ppm_in - gsm_input_0 - gsm_receiver_0 + blocks_file_source_0 + gsm_input_0 0 0 diff --git a/examples/receiver_rtlsdr.grc b/examples/receiver_rtlsdr.grc index beee92d..ae68d08 100644 --- a/examples/receiver_rtlsdr.grc +++ b/examples/receiver_rtlsdr.grc @@ -1,4 +1,5 @@ + Thu Nov 6 14:43:22 2014 @@ -68,7 +69,7 @@ variable id - samp_rate + AGCH _enabled @@ -76,7 +77,7 @@ value - 1000000.026491 + 4 alias @@ -84,7 +85,7 @@ _coordinate - (13, 86) + (944, 11) _rotation @@ -92,26 +93,53 @@ - gsm_message_printer + variable id - gsm_message_printer_1 + RACH _enabled True + + value + 3 + alias - affinity + _coordinate + (880, 11) + + + _rotation + 0 + + + + variable + + id + SDCCH + + + _enabled + True + + + value + 6 + + + alias _coordinate - (1131, 230) + (1072, 11) _rotation @@ -119,38 +147,53 @@ - gsm_get_bcch_or_ccch_bursts + variable id - gsm_get_bcch_or_ccch_bursts_0 + PCH _enabled True - d_fn51_start - 2 + value + 5 alias - affinity - + _coordinate + (1008, 11) - minoutbuf + _rotation 0 + + + variable - maxoutbuf - 0 + id + samp_rate + + + _enabled + True + + + value + 1000000.026491 + + + alias + _coordinate - (650, 226) + (13, 86) _rotation @@ -158,34 +201,107 @@ - gsm_control_channels_decoder + variable id - gsm_control_channels_decoder_0 + CCCH _enabled True + + value + 2 + alias - affinity + _coordinate + (816, 11) + + + _rotation + 0 + + + + variable + + id + CHANNEL_UNKNOWN + + + _enabled + True + + + value + 0 + + + alias - minoutbuf + _coordinate + (616, 11) + + + _rotation 0 + + + variable - maxoutbuf + id + BCCH + + + _enabled + True + + + value + 1 + + + alias + + + + _coordinate + (752, 11) + + + _rotation 0 + + + gsm_message_printer + + id + gsm_message_printer_1 + + + _enabled + True + + + alias + + + + affinity + + _coordinate - (910, 230) + (1131, 230) _rotation @@ -697,6 +813,10 @@ fftsize 1024 + + freqhalf + True + wintype firdes.WIN_BLACKMAN_hARRIS @@ -745,6 +865,22 @@ showports True + + tr_mode + qtgui.TRIG_MODE_FREE + + + tr_level + 0.0 + + + tr_chan + 0 + + + tr_tag + "" + label1 @@ -973,6 +1109,92 @@ 180 + + gsm_input + + id + gsm_input_0 + + + _enabled + True + + + ppm + 0 + + + fc + fc + + + osr + 4 + + + samp_rate_in + samp_rate + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (268, 247) + + + _rotation + 0 + + + + gsm_control_channels_decoder + + id + gsm_control_channels_decoder_0 + + + _enabled + True + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (910, 230) + + + _rotation + 0 + + gsm_receiver @@ -1025,30 +1247,22 @@ - gsm_input + gsm_universal_ctrl_chans_demapper id - gsm_input_0 + gsm_universal_ctrl_chans_demapper_0 _enabled True - ppm - 0 + starts_fn_mod51 + [2,6,12,16,22,26,32,36,42,46] - fc - fc - - - osr - 4 - - - samp_rate_in - samp_rate + channel_types + [BCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH] alias @@ -1068,7 +1282,7 @@ _coordinate - (268, 247) + (648, 232) _rotation @@ -1081,12 +1295,6 @@ msgs msgs - - gsm_get_bcch_or_ccch_bursts_0 - gsm_control_channels_decoder_0 - bursts - bursts - gsm_control_channels_decoder_0 blocks_socket_pdu_0 @@ -1119,14 +1327,20 @@ gsm_receiver_0 - gsm_get_bcch_or_ccch_bursts_0 - C0 + gsm_clock_offset_control_0 + measurements + measurements + + + gsm_universal_ctrl_chans_demapper_0 + gsm_control_channels_decoder_0 + bursts bursts gsm_receiver_0 - gsm_clock_offset_control_0 - measurements - measurements + gsm_universal_ctrl_chans_demapper_0 + C0 + bursts diff --git a/examples/receiver_usrp.grc b/examples/receiver_usrp.grc index 7202f10..82f0109 100644 --- a/examples/receiver_usrp.grc +++ b/examples/receiver_usrp.grc @@ -1,4 +1,5 @@ + Thu Nov 6 14:43:18 2014 @@ -64,6 +65,195 @@ 0 + + variable + + id + CHANNEL_UNKNOWN + + + _enabled + True + + + value + 0 + + + alias + + + + _coordinate + (600, 11) + + + _rotation + 0 + + + + variable + + id + CCCH + + + _enabled + True + + + value + 2 + + + alias + + + + _coordinate + (800, 11) + + + _rotation + 0 + + + + variable + + id + AGCH + + + _enabled + True + + + value + 4 + + + alias + + + + _coordinate + (928, 11) + + + _rotation + 0 + + + + variable + + id + BCCH + + + _enabled + True + + + value + 1 + + + alias + + + + _coordinate + (736, 11) + + + _rotation + 0 + + + + variable + + id + PCH + + + _enabled + True + + + value + 5 + + + alias + + + + _coordinate + (992, 11) + + + _rotation + 0 + + + + variable + + id + SDCCH + + + _enabled + True + + + value + 6 + + + alias + + + + _coordinate + (1056, 11) + + + _rotation + 0 + + + + variable + + id + RACH + + + _enabled + True + + + value + 3 + + + alias + + + + _coordinate + (864, 11) + + + _rotation + 0 + + variable @@ -268,45 +458,6 @@ 0 - - gsm_get_bcch_or_ccch_bursts - - id - gsm_get_bcch_or_ccch_bursts_0 - - - _enabled - True - - - d_fn51_start - 2 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (674, 268) - - - _rotation - 0 - - gsm_message_printer @@ -334,41 +485,6 @@ 0 - - gsm_control_channels_decoder - - id - gsm_control_channels_decoder_0 - - - _enabled - True - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (916, 272) - - - _rotation - 0 - - blocks_socket_pdu @@ -446,6 +562,10 @@ fftsize 1024 + + freqhalf + True + wintype firdes.WIN_BLACKMAN_hARRIS @@ -494,6 +614,22 @@ showports True + + tr_mode + qtgui.TRIG_MODE_FREE + + + tr_level + 0.0 + + + tr_chan + 0 + + + tr_tag + "" + label1 @@ -1367,30 +1503,65 @@ - gsm_receiver + gsm_input id - gsm_receiver_0 + gsm_input_0 _enabled True + + ppm + 0 + + + fc + fc + osr 4 - cell_allocation - [0] + samp_rate_in + samp_rate - tseq_nums - [] + alias + - num_streams - 1 + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (253, 289) + + + _rotation + 0 + + + + gsm_control_channels_decoder + + id + gsm_control_channels_decoder_0 + + + _enabled + True alias @@ -1410,7 +1581,7 @@ _coordinate - (434, 272) + (916, 272) _rotation @@ -1418,30 +1589,73 @@ - gsm_input + gsm_universal_ctrl_chans_demapper id - gsm_input_0 + gsm_universal_ctrl_chans_demapper_0 _enabled True - ppm + starts_fn_mod51 + [2,6,12,16,22,26,32,36,42,46] + + + channel_types + [BCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH] + + + alias + + + + affinity + + + + minoutbuf 0 - fc - fc + maxoutbuf + 0 + + + _coordinate + (648, 272) + + + _rotation + 0 + + + + gsm_receiver + + id + gsm_receiver_0 + + + _enabled + True osr 4 - samp_rate_in - samp_rate + cell_allocation + [0] + + + tseq_nums + [] + + + num_streams + 1 alias @@ -1461,7 +1675,7 @@ _coordinate - (253, 289) + (434, 272) _rotation @@ -1474,12 +1688,6 @@ 0 0 - - gsm_get_bcch_or_ccch_bursts_0 - gsm_control_channels_decoder_0 - bursts - bursts - gsm_control_channels_decoder_0 gsm_message_printer_0 @@ -1492,12 +1700,6 @@ msgs pdus - - gsm_receiver_0 - gsm_get_bcch_or_ccch_bursts_0 - C0 - bursts - uhd_usrp_source_0 gsm_input_0 @@ -1510,4 +1712,16 @@ 0 0 + + gsm_universal_ctrl_chans_demapper_0 + gsm_control_channels_decoder_0 + bursts + bursts + + + gsm_receiver_0 + gsm_universal_ctrl_chans_demapper_0 + C0 + bursts + -- cgit v1.2.3