diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-01-19 12:29:19 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-01-22 14:41:42 +0700 |
commit | d1c95940caef788cb24eac6611dce29f33044add (patch) | |
tree | 94f75998eb0444f4ce15c398a4ce7ba977b3a76d /apps/grgsm_trx | |
parent | ca49a3e621379646477072522df6c2791b80f3a4 (diff) |
apps/grgsm_trx: introduce initial LMS driver supportfixeria/lms
Change-Id: Ie983b10d1814906b6e659213f865e58d0f5c08e4
Diffstat (limited to 'apps/grgsm_trx')
-rwxr-xr-x | apps/grgsm_trx | 4 |
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 = "", |