diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-05-12 20:19:45 +0200 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-05-12 20:19:45 +0200 |
commit | 52dea1e0b7f47614c37c04d8f202f5ab458a9192 (patch) | |
tree | 028176f98fdf3b29d30a251c484227cc08c22ae6 /grc | |
parent | d384cf52e2d2f38f64633cca0148833b5da6fcef (diff) |
remove unused grc source/sink block files
Diffstat (limited to 'grc')
-rw-r--r-- | grc/CMakeLists.txt | 6 | ||||
-rw-r--r-- | grc/osmosdr_sink_c.xml | 14 | ||||
-rw-r--r-- | grc/osmosdr_source_c.xml | 87 |
3 files changed, 0 insertions, 107 deletions
diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt index 5344842..d30761e 100644 --- a/grc/CMakeLists.txt +++ b/grc/CMakeLists.txt @@ -17,12 +17,6 @@ # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. -#install(FILES -# osmosdr_source_c.xml -## osmosdr_sink_c.xml -# DESTINATION share/gnuradio/grc/blocks -#) - ######################################################################## # Rules for generating the source and sink xml wrappers ######################################################################## diff --git a/grc/osmosdr_sink_c.xml b/grc/osmosdr_sink_c.xml deleted file mode 100644 index 999f218..0000000 --- a/grc/osmosdr_sink_c.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<block> - <name>OsmoSDR Sink</name> - <key>osmosdr_sink_c</key> - <category>OsmoSDR</category> - <throttle>1</throttle> - <import>import osmosdr</import> - <make>osmosdr.sink_c()</make> - <sink> - <name>in</name> - <type>complex</type> - <nports>1</nports> - </sink> -</block> diff --git a/grc/osmosdr_source_c.xml b/grc/osmosdr_source_c.xml deleted file mode 100644 index 6c99874..0000000 --- a/grc/osmosdr_source_c.xml +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version="1.0"?> -<block> - <name>OsmoSDR Source</name> - <key>osmosdr_source_c</key> - <category>OsmoSDR</category> - <throttle>1</throttle> - <import>import osmosdr</import> - <make>osmosdr.source_c($args) -self.$(id).set_sample_rate($rate) -self.$(id).set_center_freq($freq) -self.$(id).set_freq_corr($corr) -self.$(id).set_gain($gain) -self.$(id).set_antenna($antenna) - </make> - <callback>set_center_freq($freq)</callback> - <callback>set_freq_corr($corr)</callback> - <callback>set_sample_rate($rate)</callback> - <callback>set_gain($gain)</callback> - <callback>set_antenna($antenna)</callback> - <param> - <name>Device arguments</name> - <key>args</key> - <value></value> - <type>string</type> - </param> - <param> - <name>Frequency (Hz)</name> - <key>freq</key> - <value>392.8e6</value> - <type>real</type> - </param> - <param> - <name>Freq. corr. (ppm)</name> - <key>corr</key> - <value>0</value> - <type>real</type> - </param> - <param> - <name>Sample rate (Hz)</name> - <key>rate</key> - <value>1024000</value> - <type>real</type> - </param> - <param> - <name>Gain (dB)</name> - <key>gain</key> - <value>20.0</value> - <type>real</type> - </param> - <param> - <name>Antenna</name> - <key>antenna</key> - <value></value> - <type>string</type> - </param> - <check>($freq >= 50e6) and ($freq <= 2.2e9)</check> - <check>($rate >= 1e6) and ($rate <= 3.2e6)</check> - <source> - <name>out</name> - <type>complex</type> - <nports>1</nports> - </source> - <doc> -The OsmoSDR Source Block: - -Device Arguments: -The device address is a delimited string used to locate devices on your system. -Use the device address to specify a specific device or list of devices. -If left blank, the first device found will be used. - -Frequency: -The center frequency is the overall frequency of the RF chain. - -Frequency correction: -The frequency correction factor in parts per million (ppm). - -Sample rate: -The sample rate is the number of samples per second output by this block. - -Gain: -Overall RF gain of the device. - -Antenna: -For devices with only one antenna, this may be left blank. -Otherwise, the user should specify one of the possible antenna choices. - </doc> -</block> |