remove unused grc source/sink block files
This commit is contained in:
parent
d384cf52e2
commit
52dea1e0b7
|
@ -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
|
||||
########################################################################
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
Loading…
Reference in New Issue