summaryrefslogtreecommitdiff
path: root/gr-uhd
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-07-03 20:25:07 +0200
committerMartin Braun <martin.braun@ettus.com>2014-07-07 23:12:09 +0200
commit3c42e7952dc9e5dbaf3b43cab37f13cce72dd0bf (patch)
tree4543699a05bd565c8c1f1f0802ee75999ef2afaf /gr-uhd
parentfe5853749e0cff54b04bdc06b47e996f1f4ffef2 (diff)
uhd: Added GRC bindings for command interface
Diffstat (limited to 'gr-uhd')
-rw-r--r--gr-uhd/grc/gen_uhd_usrp_blocks.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-uhd/grc/gen_uhd_usrp_blocks.py b/gr-uhd/grc/gen_uhd_usrp_blocks.py
index 6490723589..c31ee1325e 100644
--- a/gr-uhd/grc/gen_uhd_usrp_blocks.py
+++ b/gr-uhd/grc/gen_uhd_usrp_blocks.py
@@ -312,6 +312,11 @@ self.\$(id).set_bandwidth(\$bw$(n), $n)
<check>\$num_mboards > 0</check>
<check>\$nchan >= \$num_mboards</check>
<check>(not \$stream_chans()) or (\$nchan == len(\$stream_chans))</check>
+ <sink>
+ <name>command</name>
+ <type>message</type>
+ <optional>1</optional>
+ </sink>
<$sourk>
<name>$direction</name>
<type>\$type.type</type>