GNU Radio's FUNCUBE Package
gr::funcube::fcdpp_impl Class Reference

#include <fcdpp_impl.h>

Inheritance diagram for gr::funcube::fcdpp_impl:
gr::funcube::fcdpp

Public Member Functions

 fcdpp_impl (const std::string device_name, int unit)
 
 ~fcdpp_impl ()
 
void set_freq (double freq) override
 Set frequency with resolution defined by unit. More...
 
void set_lna (int gain) override
 Switches the LNA on/off. More...
 
void set_mixer_gain (int gain) override
 Switches mixer gain onf/off. More...
 
void set_freq_corr (double ppm) override
 Set new frequency correction. More...
 
void set_if_gain (int gain) override
 Set If gain. More...
 
virtual void set_freq (double freq)=0
 Set frequency with resolution defined by unit. More...
 
virtual void set_lna (int gain)=0
 Switches the LNA on/off. More...
 
virtual void set_mixer_gain (int gain)=0
 Switches mixer gain onf/off. More...
 
virtual void set_freq_corr (double ppm)=0
 Set new frequency correction. More...
 
virtual void set_if_gain (int gain)=0
 Set If gain. More...
 

Additional Inherited Members

- Public Types inherited from gr::funcube::fcdpp
typedef std::shared_ptr< fcdppsptr
 
- Static Public Member Functions inherited from gr::funcube::fcdpp
static sptr make (const std::string device_name="", int unit=1)
 Return a shared_ptr to a new instance of funcube::fcdpp. More...
 

Constructor & Destructor Documentation

◆ fcdpp_impl()

gr::funcube::fcdpp_impl::fcdpp_impl ( const std::string  device_name,
int  unit 
)

◆ ~fcdpp_impl()

gr::funcube::fcdpp_impl::~fcdpp_impl ( )

Member Function Documentation

◆ set_freq()

void gr::funcube::fcdpp_impl::set_freq ( double  freq)
overridevirtual

Set frequency with resolution defined by unit.

Parameters
freqThe frequency in unit Hz

Sets the frequency of the Funcube Dongle with Hz or Khz resolution depending on the unit parameter ( 1: Hz , 1000 Khz ) applying the frequency correction set by set_freq_corr().

Implements gr::funcube::fcdpp.

◆ set_freq_corr()

void gr::funcube::fcdpp_impl::set_freq_corr ( double  ppm)
overridevirtual

Set new frequency correction.

Parameters
ppmThe new frequency correction in parts per million

Funcube recommends 0 for the Pro+.

Ref: http://www.funcubedongle.com/MyImages/FCD2ManualV4.pdf

Implements gr::funcube::fcdpp.

◆ set_if_gain()

void gr::funcube::fcdpp_impl::set_if_gain ( int  gain)
overridevirtual

Set If gain.

Parameters
gainThe If gain value between 0 and 59 db

Implements gr::funcube::fcdpp.

◆ set_lna()

void gr::funcube::fcdpp_impl::set_lna ( int  gain)
overridevirtual

Switches the LNA on/off.

Parameters
gainlna on/off.

Implements gr::funcube::fcdpp.

◆ set_mixer_gain()

void gr::funcube::fcdpp_impl::set_mixer_gain ( int  gain)
overridevirtual

Switches mixer gain onf/off.

Parameters
gaintrue means on.

Implements gr::funcube::fcdpp.


The documentation for this class was generated from the following file: