aboutsummaryrefslogtreecommitdiffstats
path: root/apps/grgsm_trx
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-01-19 12:29:19 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-01-22 14:41:42 +0700
commitd1c95940caef788cb24eac6611dce29f33044add (patch)
tree94f75998eb0444f4ce15c398a4ce7ba977b3a76d /apps/grgsm_trx
parentca49a3e621379646477072522df6c2791b80f3a4 (diff)
apps/grgsm_trx: introduce initial LMS driver supportfixeria/lms
Diffstat (limited to 'apps/grgsm_trx')
-rwxr-xr-xapps/grgsm_trx4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/grgsm_trx b/apps/grgsm_trx
index 7da9e06..fb5a005 100755
--- a/apps/grgsm_trx
+++ b/apps/grgsm_trx
@@ -59,6 +59,8 @@ class Application:
if argv.driver == "uhd":
from grgsm.trx.radio_if_uhd import RadioInterfaceUHD as Radio
+ elif argv.driver == "lms":
+ from grgsm.trx.radio_if_lms import RadioInterfaceLMS as Radio
else:
raise ValueError("Unknown RadioInterface driver '%s'" % argv.driver)
@@ -117,7 +119,7 @@ def parse_argv():
phy_group = parser.add_argument_group("PHY parameters")
phy_group.add_argument("--driver",
dest = "driver", type = str, default = "uhd",
- choices = ["uhd"],
+ choices = ["uhd", "lms"],
help = "Set device driver (default %(default)s)")
phy_group.add_argument("-a", "--args",
dest = "args", type = str, default = "",