From 5968552b47f924342ffeee9309b658c2ebbc9c98 Mon Sep 17 00:00:00 2001 From: Vasil Velichkov Date: Sun, 6 May 2018 02:13:36 +0300 Subject: Add TCH/H decoder block with AMR multirate support Add new TCHH channel mode Add two new optional arguments -m CHAN_MODE, --mode=CHAN_MODE Channel mode. Valid options are 'BCCH' (Non-combined C0), 'BCCH_SDCCH4'(Combined C0), 'SDCCH8' (Stand-alone control channel) 'TCHF' (Traffic Channel, Full rate), 'TCHH' (Traffic Channel, Half rate) --sub-channel=TCH_H_CHANNEL TCH/H sub-channel. [default=0] --multi-rate=MULTI_RATE The MultiRrate configuration element from the Assigment Command message. Example: 28111a40. See 3GPP TS 44.018 - 10.5.2.21aa MultiRate configuration Example: grgsm_decode -m TCHH --sub-channel 0 --multi-rate 2811 -o voice.amr ... --- swig/grgsm_swig.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'swig') diff --git a/swig/grgsm_swig.i b/swig/grgsm_swig.i index 5f06eb3..8035dc5 100644 --- a/swig/grgsm_swig.i +++ b/swig/grgsm_swig.i @@ -38,6 +38,7 @@ #include "grgsm/receiver/cx_channel_hopper.h" #include "grgsm/decoding/control_channels_decoder.h" #include "grgsm/decoding/tch_f_decoder.h" +#include "grgsm/decoding/tch_h_decoder.h" #include "grgsm/decryption/decryption.h" #include "grgsm/demapping/universal_ctrl_chans_demapper.h" #include "grgsm/demapping/tch_f_chans_demapper.h" @@ -92,6 +93,8 @@ GR_SWIG_BLOCK_MAGIC2(gsm, cx_channel_hopper); GR_SWIG_BLOCK_MAGIC2(gsm, control_channels_decoder); %include "grgsm/decoding/tch_f_decoder.h" GR_SWIG_BLOCK_MAGIC2(gsm, tch_f_decoder); +%include "grgsm/decoding/tch_h_decoder.h" +GR_SWIG_BLOCK_MAGIC2(gsm, tch_h_decoder); %include "grgsm/decryption/decryption.h" GR_SWIG_BLOCK_MAGIC2(gsm, decryption); -- cgit v1.2.3