aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-10-17 07:14:23 +0700
committerPiotr Krysik <ptrkrysik@users.noreply.github.com>2017-11-05 17:33:26 +0100
commiteecab7eaf4516da814c50b269a727c070f0a636e (patch)
tree0c5d8d1d273adb1c3ac31b4106bfbcdcac49bee4 /python
parent873e44e68d188b5c26621b8ee8fd0c33bf9bd29d (diff)
python/trx: install helper classes as a grgsm submodule
Diffstat (limited to 'python')
-rw-r--r--python/__init__.py6
-rw-r--r--python/trx/CMakeLists.txt7
-rw-r--r--python/trx/__init__.py27
3 files changed, 31 insertions, 9 deletions
diff --git a/python/__init__.py b/python/__init__.py
index 9e99e72..ad551ac 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -58,12 +58,6 @@ from gsm_sdcch8_demapper import gsm_sdcch8_demapper
from gsm_gmsk_mod import gsm_gmsk_mod
from fn_time import *
from txtime_bursts_tagger import *
-#from ctrl_if import *
-#from ctrl_if_bb import *
-#from fake_pm import *
-#from radio_if import *
-#from udp_link import *
-
import arfcn
diff --git a/python/trx/CMakeLists.txt b/python/trx/CMakeLists.txt
index a0ad38f..d8e9164 100644
--- a/python/trx/CMakeLists.txt
+++ b/python/trx/CMakeLists.txt
@@ -19,9 +19,10 @@
GR_PYTHON_INSTALL(
FILES
- ctrl_if_bb.py
+ __init__.py
+ udp_link.py
ctrl_if.py
+ ctrl_if_bb.py
fake_pm.py
- radio_if.py
- udp_link.py DESTINATION ${GR_PYTHON_DIR}/grgsm
+ radio_if.py DESTINATION ${GR_PYTHON_DIR}/grgsm/trx
)
diff --git a/python/trx/__init__.py b/python/trx/__init__.py
new file mode 100644
index 0000000..81e569c
--- /dev/null
+++ b/python/trx/__init__.py
@@ -0,0 +1,27 @@
+#
+# Copyright 2008,2009 Free Software Foundation, Inc.
+#
+# This application is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# This application is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+
+'''
+This is a set of helper classes for the grgsm_trx application.
+'''
+
+from udp_link import udp_link
+from ctrl_if import ctrl_if
+from ctrl_if_bb import ctrl_if_bb
+from fake_pm import fake_pm
+from radio_if import radio_if