Added preconfigured demapper blocks that wrap universal ctrl chans demapper

This commit is contained in:
Roman Khassraf 2015-05-23 20:08:20 +02:00
parent 05bfb82475
commit 1c48ce51ca
5 changed files with 142 additions and 0 deletions

View File

@ -19,5 +19,8 @@
install(FILES
gsm_universal_ctrl_chans_demapper.xml
gsm_bcch_ccch_demapper.xml
gsm_bcch_ccch_sdcch4_demapper.xml
gsm_sdcch8_demapper.xml
gsm_tch_f_chans_demapper.xml DESTINATION share/gnuradio/grc/blocks
)

View File

@ -0,0 +1,45 @@
<?xml version="1.0"?>
<block>
<name>BCCH + CCCH demapper</name>
<key>gsm_bcch_ccch_demapper</key>
<import>import grgsm</import>
<make>grgsm.universal_ctrl_chans_demapper($timeslot_nr, $starts_fn_mod51, $channel_types)</make>
<param>
<name>Timeslot</name>
<key>timeslot_nr</key>
<value>0</value>
<type>int</type>
<hide>none</hide>
</param>
<param>
<name>starts_fn_mod51</name>
<key>starts_fn_mod51</key>
<value>[2,6,12,16,22,26,32,36,42,46]</value>
<type>int_vector</type>
<hide>all</hide>
</param>
<param>
<name>channel_types</name>
<key>channel_types</key>
<value>[1,2,2,2,2,2,2,2,2,2]</value>
<type>int_vector</type>
<hide>all</hide>
</param>
<sink>
<name>bursts</name>
<type>message</type>
</sink>
<source>
<name>bursts</name>
<type>message</type>
</source>
<doc>
Demapper for BCCH + CCCH control channels.
This corresponds to channel combination iv specified in GSM 05.02, section 6.4
</doc>
</block>

View File

@ -0,0 +1,46 @@
<?xml version="1.0"?>
<block>
<name>BCCH + CCCH + SDCCH/4 demapper</name>
<key>gsm_bcch_ccch_sdcch4_demapper</key>
<import>import grgsm</import>
<make>grgsm.universal_ctrl_chans_demapper($timeslot_nr, $starts_fn_mod51, $channel_types)</make>
<param>
<name>Timeslot</name>
<key>timeslot_nr</key>
<value>0</value>
<type>int</type>
<hide>none</hide>
</param>
<param>
<name>starts_fn_mod51</name>
<key>starts_fn_mod51</key>
<value>[2,6,12,16,22,26,32,36,42,46]</value>
<type>int_vector</type>
<hide>all</hide>
</param>
<param>
<name>channel_types</name>
<key>channel_types</key>
<value>[1,2,2,2,7,7,7,7,135,135]</value>
<type>int_vector</type>
<hide>all</hide>
</param>
<sink>
<name>bursts</name>
<type>message</type>
</sink>
<source>
<name>bursts</name>
<type>message</type>
</source>
<doc>
Demapper for BCCH + CCCH + SDCCH/4 + SACCH/C4 control channels.
This corresponds to channel combination v specified in GSM 05.02, section 6.4
</doc>
</block>

View File

@ -0,0 +1,45 @@
<?xml version="1.0"?>
<block>
<name>SDCCH/8 demapper</name>
<key>gsm_sdcch8_demapper</key>
<import>import grgsm</import>
<make>grgsm.universal_ctrl_chans_demapper($timeslot_nr, $starts_fn_mod51, $channel_types)</make>
<param>
<name>Timeslot</name>
<key>timeslot_nr</key>
<value>1</value>
<type>int</type>
<hide>none</hide>
</param>
<param>
<name>starts_fn_mod51</name>
<key>starts_fn_mod51</key>
<value>[0,4,8,12,16,20,24,28,32,36,40,44]</value>
<type>int_vector</type>
<hide>all</hide>
</param>
<param>
<name>channel_types</name>
<key>channel_types</key>
<value>[8,8,8,8,8,8,8,8,136,136,136,136]</value>
<type>int_vector</type>
<hide>all</hide>
</param>
<sink>
<name>bursts</name>
<type>message</type>
</sink>
<source>
<name>bursts</name>
<type>message</type>
</source>
<doc>
Demapper for SDCCH/8 + SACCH/C8 control channels.
This corresponds to channel combination vii specified in GSM 05.02, section 6.4
</doc>
</block>

View File

@ -22,6 +22,9 @@
<cat>
<name>Logical channels demapping</name>
<block>gsm_universal_ctrl_chans_demapper</block>
<block>gsm_bcch_ccch_demapper</block>
<block>gsm_bcch_ccch_sdcch4_demapper</block>
<block>gsm_sdcch8_demapper</block>
<block>gsm_tch_f_chans_demapper</block>
</cat>
<cat>