aboutsummaryrefslogtreecommitdiffstats
path: root/python/trx/radio_if_uhd.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/trx/radio_if_uhd.py')
-rw-r--r--python/trx/radio_if_uhd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/trx/radio_if_uhd.py b/python/trx/radio_if_uhd.py
index 0b2ef7a..cb809ed 100644
--- a/python/trx/radio_if_uhd.py
+++ b/python/trx/radio_if_uhd.py
@@ -27,6 +27,10 @@ from gnuradio import uhd
from radio_if import RadioInterface
class RadioInterfaceUHD(RadioInterface):
+ # Human-readable description
+ def __str__(self):
+ return "UHD"
+
def phy_init_source(self):
self._phy_src = uhd.usrp_source(self.phy_args,
uhd.stream_args(cpu_format = "fc32",