GNU Radio's LIMESDR Package
gr::limesdr::sink Class Reference

#include <sink.h>

Inheritance diagram for gr::limesdr::sink:
gr::limesdr::sink_impl

Public Types

typedef boost::shared_ptr< sinksptr
 

Static Public Member Functions

static sptr make (int device_number, int device_type, int chip_mode, int channel, int file_switch, const char *filename, double rf_freq, double samp_rate, size_t oversample, int calibration_ch0, double calibr_bandw_ch0, int calibration_ch1, double calibr_bandw_ch1, int pa_path_mini, int pa_path_ch0, int pa_path_ch1, int analog_filter_ch0, double analog_bandw_ch0, int analog_filter_ch1, double analog_bandw_ch1, int digital_filter_ch0, double digital_bandw_ch0, int digital_filter_ch1, double digital_bandw_ch1, int gain_dB_ch0, int gain_dB_ch1)
 Return a shared_ptr to a new instance of sink. More...
 

Member Typedef Documentation

◆ sptr

typedef boost::shared_ptr<sink> gr::limesdr::sink::sptr

Member Function Documentation

◆ make()

static sptr gr::limesdr::sink::make ( int  device_number,
int  device_type,
int  chip_mode,
int  channel,
int  file_switch,
const char *  filename,
double  rf_freq,
double  samp_rate,
size_t  oversample,
int  calibration_ch0,
double  calibr_bandw_ch0,
int  calibration_ch1,
double  calibr_bandw_ch1,
int  pa_path_mini,
int  pa_path_ch0,
int  pa_path_ch1,
int  analog_filter_ch0,
double  analog_bandw_ch0,
int  analog_filter_ch1,
double  analog_bandw_ch1,
int  digital_filter_ch0,
double  digital_bandw_ch0,
int  digital_filter_ch1,
double  digital_bandw_ch1,
int  gain_dB_ch0,
int  gain_dB_ch1 
)
static

Return a shared_ptr to a new instance of sink.

To avoid accidental use of raw pointers, sink's constructor is private. limesdr::sink::make is the public interface for creating new instances.

Parameters
device_typeLimeSDR-Mini(1), LimeSDR-USB(2).
chip_modeSISO(1), MIMO(2).
channelSelect channel when in SISO mode: A(0),B(1).
file_switchLoad settings from file: NO(0),YES(1).
filenamePath to file if file switch is turned on.
rf_freqTX center frequency in Hz.
samp_ratesample rate in S/s.
oversampleoversample value. Valid values are: 0(default),1,2,4,8,16,32.
calibration_ch0Turn calibration channel 0: OFF(0),ON(1).
calibr_bandw_ch0Calibration bandwidth channel 0 [2.5e6,120e6] Hz.
calibration_ch1Turn calibration channel 1: OFF(0),ON(1).
calibr_bandw_ch1Calibration bandwidth channel 1 [2.5e6,120e6] Hz.
pa_path_miniPA path LimeSDR-Mini: BAND1(1),BAND2(2).
pa_path_ch0PA path LimeSDR-USB channel 0: BAND1(1),BAND2(2).
pa_path_ch1PA path LimeSDR-USB channel 1: BAND1(1),BAND2(2).
analog_filter_ch0Turn analog filter channel 0: OFF(0),ON(1).
analog_bandw_ch0LPF bandwidth channel 0 [1.5e6,130e6] Hz.
analog_filter_ch1Turn analog filter channel 1: OFF(0),ON(1).
analog_bandw_ch1LPF bandwidth channel 1 [1.5e6,130e6] Hz.
digital_filter_ch0Turn digital filter channel 0: OFF(0),ON(1).
digital_bandw_ch0Digital filter bandwidth channel 0.
digital_filter_ch1Turn digital filter channel 1: OFF(0),ON(1).
digital_bandw_ch1Digital filter bandwidth channel 1.
gain_dB_ch0Input TX gain channel 0 [0,60] dB.
gain_dB_ch1Input TX gain channel 1 [0,60] dB.
Returns
a new limesdr sink block object

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