<!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's FCDPROPLUS Package: gr::fcdproplus::fcdproplus_impl 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&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'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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('classgr_1_1fcdproplus_1_1fcdproplus__impl.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classgr_1_1fcdproplus_1_1fcdproplus__impl-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">gr::fcdproplus::fcdproplus_impl Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="fcdproplus__impl_8h_source.html">fcdproplus_impl.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gr::fcdproplus::fcdproplus_impl:</div> <div class="dyncontent"> <div class="center"><img src="classgr_1_1fcdproplus_1_1fcdproplus__impl__inherit__graph.png" border="0" usemap="#gr_1_1fcdproplus_1_1fcdproplus__impl_inherit__map" alt="Inheritance graph"/></div> <map name="gr_1_1fcdproplus_1_1fcdproplus__impl_inherit__map" id="gr_1_1fcdproplus_1_1fcdproplus__impl_inherit__map"> <area shape="rect" title=" " alt="" coords="5,155,228,181"/> <area shape="rect" href="classgr_1_1fcdproplus_1_1fcdproplus.html" title="Funcube Pro+ Dongle source block." alt="" coords="23,80,210,107"/> <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-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:af5600a501a95ef3aa0cca33fcb22819d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#af5600a501a95ef3aa0cca33fcb22819d">fcdproplus_impl</a> (const std::string user_device_name, int unit)</td></tr> <tr class="separator:af5600a501a95ef3aa0cca33fcb22819d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4830e2af49e2f1cd2f0b58903ff0fd69"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#a4830e2af49e2f1cd2f0b58903ff0fd69">~fcdproplus_impl</a> ()</td></tr> <tr class="separator:a4830e2af49e2f1cd2f0b58903ff0fd69"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a734fbbf5e52b2782012eb9c3cd76e51d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#a734fbbf5e52b2782012eb9c3cd76e51d">set_freq</a> (float freq)</td></tr> <tr class="memdesc:a734fbbf5e52b2782012eb9c3cd76e51d"><td class="mdescLeft"> </td><td class="mdescRight">Set frequency with resolution defined by unit. <a href="#a734fbbf5e52b2782012eb9c3cd76e51d">More...</a><br /></td></tr> <tr class="separator:a734fbbf5e52b2782012eb9c3cd76e51d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a34dc8b14252bf76f729d379ec260d512"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#a34dc8b14252bf76f729d379ec260d512">set_lna</a> (int gain)</td></tr> <tr class="memdesc:a34dc8b14252bf76f729d379ec260d512"><td class="mdescLeft"> </td><td class="mdescRight">Switches the LNA on/off. <a href="#a34dc8b14252bf76f729d379ec260d512">More...</a><br /></td></tr> <tr class="separator:a34dc8b14252bf76f729d379ec260d512"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad491b9b81af03bb3893ce8ab004a41d3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#ad491b9b81af03bb3893ce8ab004a41d3">set_mixer_gain</a> (int gain)</td></tr> <tr class="memdesc:ad491b9b81af03bb3893ce8ab004a41d3"><td class="mdescLeft"> </td><td class="mdescRight">Switches mixer gain onf/off. <a href="#ad491b9b81af03bb3893ce8ab004a41d3">More...</a><br /></td></tr> <tr class="separator:ad491b9b81af03bb3893ce8ab004a41d3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a41415b4f9daf64e7a0d378e47f1c448b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#a41415b4f9daf64e7a0d378e47f1c448b">set_freq_corr</a> (int ppm)</td></tr> <tr class="memdesc:a41415b4f9daf64e7a0d378e47f1c448b"><td class="mdescLeft"> </td><td class="mdescRight">Set new frequency correction. <a href="#a41415b4f9daf64e7a0d378e47f1c448b">More...</a><br /></td></tr> <tr class="separator:a41415b4f9daf64e7a0d378e47f1c448b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa1e44da35ea983902849ef48a8590ef8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus__impl.html#aa1e44da35ea983902849ef48a8590ef8">set_if_gain</a> (int gain)</td></tr> <tr class="memdesc:aa1e44da35ea983902849ef48a8590ef8"><td class="mdescLeft"> </td><td class="mdescRight">Set If gain. <a href="#aa1e44da35ea983902849ef48a8590ef8">More...</a><br /></td></tr> <tr class="separator:aa1e44da35ea983902849ef48a8590ef8"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_classgr_1_1fcdproplus_1_1fcdproplus"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classgr_1_1fcdproplus_1_1fcdproplus')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html">gr::fcdproplus::fcdproplus</a></td></tr> <tr class="memitem:aecfbd15d08a9500223ac75bee3a493c4 inherit pub_types_classgr_1_1fcdproplus_1_1fcdproplus"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr< <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html">fcdproplus</a> > </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 inherit pub_types_classgr_1_1fcdproplus_1_1fcdproplus"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classgr_1_1fcdproplus_1_1fcdproplus"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classgr_1_1fcdproplus_1_1fcdproplus')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html">gr::fcdproplus::fcdproplus</a></td></tr> <tr class="memitem:a43b18abe293f09b406ff113bd8a7ae5f inherit pub_static_methods_classgr_1_1fcdproplus_1_1fcdproplus"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#aecfbd15d08a9500223ac75bee3a493c4">sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a43b18abe293f09b406ff113bd8a7ae5f">make</a> (const std::string device_name="", int unit=1)</td></tr> <tr class="memdesc:a43b18abe293f09b406ff113bd8a7ae5f inherit pub_static_methods_classgr_1_1fcdproplus_1_1fcdproplus"><td class="mdescLeft"> </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="classgr_1_1fcdproplus_1_1fcdproplus.html#a43b18abe293f09b406ff113bd8a7ae5f">More...</a><br /></td></tr> <tr class="separator:a43b18abe293f09b406ff113bd8a7ae5f inherit pub_static_methods_classgr_1_1fcdproplus_1_1fcdproplus"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="af5600a501a95ef3aa0cca33fcb22819d"></a> <h2 class="memtitle"><span class="permalink"><a href="#af5600a501a95ef3aa0cca33fcb22819d">◆ </a></span>fcdproplus_impl()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gr::fcdproplus::fcdproplus_impl::fcdproplus_impl </td> <td>(</td> <td class="paramtype">const std::string </td> <td class="paramname"><em>user_device_name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>unit</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="a4830e2af49e2f1cd2f0b58903ff0fd69"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4830e2af49e2f1cd2f0b58903ff0fd69">◆ </a></span>~fcdproplus_impl()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gr::fcdproplus::fcdproplus_impl::~fcdproplus_impl </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a734fbbf5e52b2782012eb9c3cd76e51d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a734fbbf5e52b2782012eb9c3cd76e51d">◆ </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">void gr::fcdproplus::fcdproplus_impl::set_freq </td> <td>(</td> <td class="paramtype">float </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">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__impl.html#a41415b4f9daf64e7a0d378e47f1c448b" title="Set new frequency correction.">set_freq_corr()</a>. </p> <p>Implements <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a9da58f91e3c6ee69f380d2f4eb5c997a">gr::fcdproplus::fcdproplus</a>.</p> </div> </div> <a id="a41415b4f9daf64e7a0d378e47f1c448b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a41415b4f9daf64e7a0d378e47f1c448b">◆ </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">void gr::fcdproplus::fcdproplus_impl::set_freq_corr </td> <td>(</td> <td class="paramtype">int </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">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>Implements <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#abe8d939abb9796260b052c11e658bddf">gr::fcdproplus::fcdproplus</a>.</p> </div> </div> <a id="aa1e44da35ea983902849ef48a8590ef8"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa1e44da35ea983902849ef48a8590ef8">◆ </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">void gr::fcdproplus::fcdproplus_impl::set_if_gain </td> <td>(</td> <td class="paramtype">int </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">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>Implements <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#ae931b647f16d552a725b0f9ee406aa5a">gr::fcdproplus::fcdproplus</a>.</p> </div> </div> <a id="a34dc8b14252bf76f729d379ec260d512"></a> <h2 class="memtitle"><span class="permalink"><a href="#a34dc8b14252bf76f729d379ec260d512">◆ </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">void gr::fcdproplus::fcdproplus_impl::set_lna </td> <td>(</td> <td class="paramtype">int </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">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>Implements <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a0b8e92206019aa63e68125d4a6705280">gr::fcdproplus::fcdproplus</a>.</p> </div> </div> <a id="ad491b9b81af03bb3893ce8ab004a41d3"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad491b9b81af03bb3893ce8ab004a41d3">◆ </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">void gr::fcdproplus::fcdproplus_impl::set_mixer_gain </td> <td>(</td> <td class="paramtype">int </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">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>Implements <a class="el" href="classgr_1_1fcdproplus_1_1fcdproplus.html#a4300449c9276498849c929f7e30189aa">gr::fcdproplus::fcdproplus</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="fcdproplus__impl_8h_source.html">fcdproplus_impl.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__impl.html">fcdproplus_impl</a></li> <li class="footer">Generated on Sat Jan 19 2019 17:47:07 for GNU Radio'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>