17 #ifndef GNSS_SDR_Ad936xCustom_SIGNAL_SOURCE_H 18 #define GNSS_SDR_Ad936xCustom_SIGNAL_SOURCE_H 26 #include "unpack_short_byte_samples.h" 27 #include <gnuradio/blocks/char_to_short.h> 28 #include <gnuradio/blocks/file_sink.h> 30 #include <gnuradio/blocks/delay.h> 31 #include <gnuradio/blocks/interleaved_short_to_complex.h> 55 const std::string& role,
unsigned int in_stream,
60 inline size_t item_size()
override 65 void connect(gr::top_block_sptr top_block)
override;
66 void disconnect(gr::top_block_sptr top_block)
override;
67 gr::basic_block_sptr get_left_block()
override;
68 gr::basic_block_sptr get_right_block()
override;
69 gr::basic_block_sptr get_right_block(
int RF_channel)
override;
72 unsigned int in_stream_;
73 unsigned int out_stream_;
75 std::vector<gr::blocks::file_sink::sptr> sink_;
76 std::vector<std::string> filename_vec_;
78 gr::blocks::delay::sptr gr_delay;
79 std::vector<gr::blocks::char_to_short::sptr> gr_char_to_short_;
80 std::vector<gr::blocks::interleaved_short_to_complex::sptr> gr_interleaved_short_to_complex_;
82 std::vector<unpack_short_byte_samples_sptr> unpack_short_byte;
83 std::vector<unpack_byte_4bit_samples_sptr> unpack_byte_fourbits;
84 std::vector<unpack_byte_2bit_cpx_samples_sptr> unpack_byte_twobits;
86 std::string item_type_;
90 std::string dump_filename_;
93 std::string pluto_uri_;
94 std::string board_type_;
95 long long sample_rate_;
99 std::string rf_port_select_;
100 std::string rf_filter;
101 std::string gain_mode_rx0_;
102 std::string gain_mode_rx1_;
113 bool inverted_spectrum_ch0_;
114 bool inverted_spectrum_ch1_;
115 double lo_attenuation_db_;
118 double rx0_to_rx1_delay_ns_;
120 bool apply_delay_on_rx0;
122 std::vector<bool> inverted_spectrum_vec;
129 #endif // GNSS_SDR_Ad936xCustom_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
Unpacks byte samples to 2 bits complex samples. Packing Order Most Significant Nibble - Sample n Leas...
This class instantiates the Ad936xCustom gnuradio signal source. It has support also for a customized...
Header file of the base class to signal_source GNSS blocks.
This abstract class represents an interface to configuration parameters.
Conjugate a stream of gr_complex.
A direct IIO custom front-end gnss-sdr signal gnuradio block for the AD936x AD front-end family with ...
Unpacks byte samples to 4 bits samples. Packing Order Packing order in Nibble I0 I1 I2 I3 I0 I1 I2 I3...
This class implements conversion between Labsat 2, 3 and 3 Wideband formats to gr_complex.