Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 324226fa09cfa21a5ddada93eab2fc83 > files > 17

gr-fcdproplus-doc-3.7.12-3.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GNU Radio&#39;s FCDPROPLUS Package: gr::fcdproplus::fcdproplus Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GNU Radio&#39;s FCDPROPLUS Package
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classgr_1_1fcdproplus_1_1fcdproplus.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classgr_1_1fcdproplus_1_1fcdproplus-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gr::fcdproplus::fcdproplus Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Funcube Pro+ Dongle source block.  
 <a href="classgr_1_1fcdproplus_1_1fcdproplus.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="fcdproplus_8h_source.html">fcdproplus.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for gr::fcdproplus::fcdproplus:</div>
<div class="dyncontent">
<div class="center"><img src="classgr_1_1fcdproplus_1_1fcdproplus__inherit__graph.png" border="0" usemap="#gr_1_1fcdproplus_1_1fcdproplus_inherit__map" alt="Inheritance graph"/></div>
<map name="gr_1_1fcdproplus_1_1fcdproplus_inherit__map" id="gr_1_1fcdproplus_1_1fcdproplus_inherit__map">
<area shape="rect"  title="Funcube Pro+ Dongle source block." alt="" coords="23,80,210,107"/>
<area shape="rect"  href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html" title=" " alt="" coords="5,155,228,181"/>
<area shape="rect"  title=" " alt="" coords="68,5,165,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aecfbd15d08a9500223ac75bee3a493c4"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html">fcdproplus</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#aecfbd15d08a9500223ac75bee3a493c4">sptr</a></td></tr>
<tr class="separator:aecfbd15d08a9500223ac75bee3a493c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9da58f91e3c6ee69f380d2f4eb5c997a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a9da58f91e3c6ee69f380d2f4eb5c997a">set_freq</a> (float freq)=0</td></tr>
<tr class="memdesc:a9da58f91e3c6ee69f380d2f4eb5c997a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set frequency with resolution defined by unit.  <a href="#a9da58f91e3c6ee69f380d2f4eb5c997a">More...</a><br /></td></tr>
<tr class="separator:a9da58f91e3c6ee69f380d2f4eb5c997a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b8e92206019aa63e68125d4a6705280"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a0b8e92206019aa63e68125d4a6705280">set_lna</a> (int gain)=0</td></tr>
<tr class="memdesc:a0b8e92206019aa63e68125d4a6705280"><td class="mdescLeft">&#160;</td><td class="mdescRight">Switches the LNA on/off.  <a href="#a0b8e92206019aa63e68125d4a6705280">More...</a><br /></td></tr>
<tr class="separator:a0b8e92206019aa63e68125d4a6705280"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4300449c9276498849c929f7e30189aa"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a4300449c9276498849c929f7e30189aa">set_mixer_gain</a> (int gain)=0</td></tr>
<tr class="memdesc:a4300449c9276498849c929f7e30189aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Switches mixer gain onf/off.  <a href="#a4300449c9276498849c929f7e30189aa">More...</a><br /></td></tr>
<tr class="separator:a4300449c9276498849c929f7e30189aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe8d939abb9796260b052c11e658bddf"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#abe8d939abb9796260b052c11e658bddf">set_freq_corr</a> (int ppm)=0</td></tr>
<tr class="memdesc:abe8d939abb9796260b052c11e658bddf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set new frequency correction.  <a href="#abe8d939abb9796260b052c11e658bddf">More...</a><br /></td></tr>
<tr class="separator:abe8d939abb9796260b052c11e658bddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae931b647f16d552a725b0f9ee406aa5a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#ae931b647f16d552a725b0f9ee406aa5a">set_if_gain</a> (int gain)=0</td></tr>
<tr class="memdesc:ae931b647f16d552a725b0f9ee406aa5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set If gain.  <a href="#ae931b647f16d552a725b0f9ee406aa5a">More...</a><br /></td></tr>
<tr class="separator:ae931b647f16d552a725b0f9ee406aa5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a43b18abe293f09b406ff113bd8a7ae5f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#aecfbd15d08a9500223ac75bee3a493c4">sptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a43b18abe293f09b406ff113bd8a7ae5f">make</a> (const std::string device_name=&quot;&quot;, int unit=1)</td></tr>
<tr class="memdesc:a43b18abe293f09b406ff113bd8a7ae5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a shared_ptr to a new instance of <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html" title="Funcube Pro+ Dongle source block.">fcdproplus::fcdproplus</a>.  <a href="#a43b18abe293f09b406ff113bd8a7ae5f">More...</a><br /></td></tr>
<tr class="separator:a43b18abe293f09b406ff113bd8a7ae5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Funcube Pro+ Dongle source block. </p>
<p>This class provides a soure block for the Funcube Pro+ Dongle by wrapping the alsa audio interface and the USB control interface of the Funcube Dongle into one convenient source block. The hadware audio device is autodetected by the card name. If more than one Pro+ are connected it takes the first card. The block was tested with firmware version 20.3 </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aecfbd15d08a9500223ac75bee3a493c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecfbd15d08a9500223ac75bee3a493c4">&#9670;&nbsp;</a></span>sptr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html">fcdproplus</a>&gt; <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#aecfbd15d08a9500223ac75bee3a493c4">gr::fcdproplus::fcdproplus::sptr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a43b18abe293f09b406ff113bd8a7ae5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43b18abe293f09b406ff113bd8a7ae5f">&#9670;&nbsp;</a></span>make()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#aecfbd15d08a9500223ac75bee3a493c4">sptr</a> gr::fcdproplus::fcdproplus::make </td>
          <td>(</td>
          <td class="paramtype">const std::string&#160;</td>
          <td class="paramname"><em>device_name</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>unit</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return a shared_ptr to a new instance of <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html" title="Funcube Pro+ Dongle source block.">fcdproplus::fcdproplus</a>. </p>
<p>To avoid accidental use of raw pointers, <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html" title="Funcube Pro+ Dongle source block.">fcdproplus::fcdproplus</a>'s constructor is in a private implementation class. <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a43b18abe293f09b406ff113bd8a7ae5f" title="Return a shared_ptr to a new instance of fcdproplus::fcdproplus.">fcdproplus::fcdproplus::make</a> is the public interface for creating new instances. </p>

</div>
</div>
<a id="a9da58f91e3c6ee69f380d2f4eb5c997a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9da58f91e3c6ee69f380d2f4eb5c997a">&#9670;&nbsp;</a></span>set_freq()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr::fcdproplus::fcdproplus::set_freq </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>freq</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set frequency with resolution defined by unit. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">freq</td><td>The frequency in unit Hz</td></tr>
  </table>
  </dd>
</dl>
<p>Sets the frequency of the Funcube Dongle with Hz or Khz resolution depending on the unit paramater ( 1: Hz , 1000 Khz ) applying the frequency correction set by <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#abe8d939abb9796260b052c11e658bddf" title="Set new frequency correction.">set_freq_corr()</a>. </p>

<p>Implemented in <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#a734fbbf5e52b2782012eb9c3cd76e51d">gr::fcdproplus::fcdproplus_impl</a>.</p>

</div>
</div>
<a id="abe8d939abb9796260b052c11e658bddf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe8d939abb9796260b052c11e658bddf">&#9670;&nbsp;</a></span>set_freq_corr()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr::fcdproplus::fcdproplus::set_freq_corr </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ppm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set new frequency correction. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ppm</td><td>The new frequency correction in parts per million</td></tr>
  </table>
  </dd>
</dl>
<p>Funcube recommends 0 for the Pro+.</p>
<p>Ref: <a href="http://www.funcubedongle.com/MyImages/FCD2ManualV4.pdf">http://www.funcubedongle.com/MyImages/FCD2ManualV4.pdf</a> </p>

<p>Implemented in <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#a41415b4f9daf64e7a0d378e47f1c448b">gr::fcdproplus::fcdproplus_impl</a>.</p>

</div>
</div>
<a id="ae931b647f16d552a725b0f9ee406aa5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae931b647f16d552a725b0f9ee406aa5a">&#9670;&nbsp;</a></span>set_if_gain()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr::fcdproplus::fcdproplus::set_if_gain </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>gain</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set If gain. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gain</td><td>The If gain value between 0 and 59 db </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#aa1e44da35ea983902849ef48a8590ef8">gr::fcdproplus::fcdproplus_impl</a>.</p>

</div>
</div>
<a id="a0b8e92206019aa63e68125d4a6705280"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b8e92206019aa63e68125d4a6705280">&#9670;&nbsp;</a></span>set_lna()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr::fcdproplus::fcdproplus::set_lna </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>gain</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Switches the LNA on/off. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gain</td><td>lna on/off. </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#a34dc8b14252bf76f729d379ec260d512">gr::fcdproplus::fcdproplus_impl</a>.</p>

</div>
</div>
<a id="a4300449c9276498849c929f7e30189aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4300449c9276498849c929f7e30189aa">&#9670;&nbsp;</a></span>set_mixer_gain()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr::fcdproplus::fcdproplus::set_mixer_gain </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>gain</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Switches mixer gain onf/off. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gain</td><td>true means on. </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#ad491b9b81af03bb3893ce8ab004a41d3">gr::fcdproplus::fcdproplus_impl</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="fcdproplus_8h_source.html">fcdproplus.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacegr.html">gr</a></li><li class="navelem"><a class="el" href="namespacegr_1_1fcdproplus.html">fcdproplus</a></li><li class="navelem"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html">fcdproplus</a></li>
    <li class="footer">Generated on Sat Jan 19 2019 17:47:07 for GNU Radio&#39;s FCDPROPLUS Package by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>