path: root/swig
diff options
authorVadim Yanitskiy <axilirator@gmail.com>2017-06-16 21:00:29 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-07-07 22:12:52 +0700
commit89fc14ba44723cfbd88c2499ec8ab96ad993c5c4 (patch)
treebadecbb881fde1247b3f730f6dd47c3fccee5137 /swig
parent8f121c1e7c3e052ffcb63904f56de4eec7741dc2 (diff)
Implement transceiver interface
This change introduces a new block 'TRX Interface', which is aimed to provide an interface for external applications, such as Osmocom MS side stack implementation - OsmocomBB. Currently one allows to exchange raw GSM bursts between GR-GSM and other applications. Moreover, there is a new 'trx.py' application, which implements a simple follow graph, where all demodulated bursts are being sent to external application via UDP link provided by 'TRX Interface'. OsmoTRX (Osmocom's fork of OpenBTS transceiver) like control interface is used to initialize, configure, start and stop the application. Messages on this interface are human readable ASCII strings, which contain a command and some related parameters.
Diffstat (limited to 'swig')
1 files changed, 3 insertions, 0 deletions
diff --git a/swig/grgsm_swig.i b/swig/grgsm_swig.i
index 68911ae..6013cb1 100644
--- a/swig/grgsm_swig.i
+++ b/swig/grgsm_swig.i
@@ -41,6 +41,7 @@
#include "grgsm/misc_utils/message_file_source.h"
#include "grgsm/misc_utils/msg_to_tag.h"
#include "grgsm/misc_utils/controlled_fractional_resampler_cc.h"
+#include "grgsm/trx_interface/trx.h"
%include "grgsm/receiver/receiver.h"
@@ -117,3 +118,5 @@ GR_SWIG_BLOCK_MAGIC2(gsm, burst_source);
GR_SWIG_BLOCK_MAGIC2(gsm, message_source);
%include "grgsm/qa_utils/message_sink.h"
GR_SWIG_BLOCK_MAGIC2(gsm, message_sink);
+%include "grgsm/trx_interface/trx.h"
+GR_SWIG_BLOCK_MAGIC2(grgsm, trx);