19 #ifndef GNSS_SDR_GPS_L2C_TELEMETRY_DECODER_GS_H 20 #define GNSS_SDR_GPS_L2C_TELEMETRY_DECODER_GS_H 25 #include <gnuradio/block.h> 26 #include <gnuradio/types.h> 30 #if GNURADIO_USES_STD_POINTERS 33 #include <boost/shared_ptr.hpp> 44 #if GNURADIO_USES_STD_POINTERS 45 using gps_l2c_telemetry_decoder_gs_sptr = std::shared_ptr<gps_l2c_telemetry_decoder_gs>;
47 using gps_l2c_telemetry_decoder_gs_sptr = boost::shared_ptr<gps_l2c_telemetry_decoder_gs>;
50 gps_l2c_telemetry_decoder_gs_sptr gps_l2c_make_telemetry_decoder_gs(
68 int general_work(
int noutput_items, gr_vector_int &ninput_items,
69 gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
72 friend gps_l2c_telemetry_decoder_gs_sptr gps_l2c_make_telemetry_decoder_gs(
84 std::string d_dump_filename;
85 std::ofstream d_dump_file;
87 double d_TOW_at_current_symbol;
88 double d_TOW_at_Preamble;
90 uint64_t d_sample_counter;
91 uint64_t d_last_valid_preamble;
95 int32_t d_crc_error_count;
97 uint32_t d_max_symbols_without_valid_frame;
100 bool d_sent_tlm_failed_msg;
101 bool d_flag_PLL_180_deg_phase_locked;
102 bool d_flag_valid_word;
106 #endif // GNSS_SDR_GPS_L2C_TELEMETRY_DECODER_GS_H Utilities for CNAV message manipulation of the libswiftnav library.
This class implements a block that decodes CNAV data defined in IS-GPS-200K.
Interface of the Gnss_Satellite class.
This class represents a GNSS satellite.
Interface of a GPS CNAV Data message decoder.
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
This is where all signal processing takes place.
This class decodes a GPS CNAV Data message as described in IS-GPS-200K.
void set_channel(int32_t channel)
Set receiver's channel.
void set_satellite(const Gnss_Satellite &satellite)
Set satellite PRN.