diff options
author | Roman Khassraf <roman@khassraf.at> | 2015-05-20 12:49:46 +0200 |
---|---|---|
committer | Roman Khassraf <roman@khassraf.at> | 2015-05-20 12:49:46 +0200 |
commit | 059bab9c0bf3a026c5b836931158587fa165dbf8 (patch) | |
tree | bae37ad4e2c96547cc176ff39bf6bd50f10c019e /grc/decoding | |
parent | 650ce78da030a78b03bd04686cbf60899444ecad (diff) |
Implementation of TCH/F decoder supporting GSM-FR and GSM-EFR. Issue #50
Diffstat (limited to 'grc/decoding')
-rw-r--r-- | grc/decoding/CMakeLists.txt | 3 | ||||
-rw-r--r-- | grc/decoding/gsm_tch_f_decoder.xml | 37 |
2 files changed, 39 insertions, 1 deletions
diff --git a/grc/decoding/CMakeLists.txt b/grc/decoding/CMakeLists.txt index 36820f3..2f6eada 100644 --- a/grc/decoding/CMakeLists.txt +++ b/grc/decoding/CMakeLists.txt @@ -18,5 +18,6 @@ # Boston, MA 02110-1301, USA. install(FILES - gsm_control_channels_decoder.xml DESTINATION share/gnuradio/grc/blocks + gsm_control_channels_decoder.xml + gsm_tch_f_decoder.xml DESTINATION share/gnuradio/grc/blocks ) diff --git a/grc/decoding/gsm_tch_f_decoder.xml b/grc/decoding/gsm_tch_f_decoder.xml new file mode 100644 index 0000000..b8d6dbf --- /dev/null +++ b/grc/decoding/gsm_tch_f_decoder.xml @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<block> + <name>TCH/F decoder</name> + <key>gsm_tch_f_decoder</key> + <import>import grgsm</import> + <make>grgsm.tch_f_decoder($mode, $file)</make> + + <param> + <name>TCH coding mode</name> + <key>mode</key> + <type>enum</type> + <option> + <name>GSM-FR</name> + <key>grgsm.MODE_SPEECH_FR</key> + </option> + <option> + <name>GSM-EFR</name> + <key>grgsm.MODE_SPEECH_EFR</key> + </option> + </param> + <param> + <name>destination file</name> + <key>file</key> + <value>/tmp/speech.gsm</value> + <type>file_open</type> + </param> + + <sink> + <name>bursts</name> + <type>message</type> + </sink> + <source> + <name>msgs</name> + <type>message</type> + <optional>1</optional> + </source> +</block> |