aboutsummaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorVasil Velichkov <vvvelichkov@gmail.com>2018-05-06 02:13:36 +0300
committerPiotr Krysik <ptrkrysik@gmail.com>2019-07-18 10:31:26 +0200
commit5968552b47f924342ffeee9309b658c2ebbc9c98 (patch)
tree35d6bea15953f1964b202347076364b883f36d25 /swig
parent9d3606b17e93228dbdaf1d3bc708dd2092ee1a7b (diff)
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 ...
Diffstat (limited to 'swig')
-rw-r--r--swig/grgsm_swig.i3
1 files changed, 3 insertions, 0 deletions
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);