20 #ifndef GNSS_SDR_GALILEO_E6_HAS_MSG_RECEIVER_H 21 #define GNSS_SDR_GALILEO_E6_HAS_MSG_RECEIVER_H 27 #include <gnuradio/block.h> 45 using galileo_e6_has_msg_receiver_sptr = gnss_shared_ptr<galileo_e6_has_msg_receiver>;
47 galileo_e6_has_msg_receiver_sptr galileo_e6_has_msg_receiver_make();
59 void set_enable_navdata_monitor(
bool enable);
63 friend galileo_e6_has_msg_receiver_sptr galileo_e6_has_msg_receiver_make();
66 void msg_handler_galileo_e6_has(
const pmt::pmt_t& msg);
68 void read_MT1_header(
const std::string& message_header);
69 void read_MT1_body(
const std::string& message_body);
72 int decode_message_type1(uint8_t message_id, uint8_t message_size);
74 uint16_t read_has_message_header_parameter_uint16(
const std::bitset<GALILEO_CNAV_MT1_HEADER_BITS>& bits,
const std::pair<int32_t, int32_t>& parameter)
const;
75 uint8_t read_has_message_header_parameter_uint8(
const std::bitset<GALILEO_CNAV_MT1_HEADER_BITS>& bits,
const std::pair<int32_t, int32_t>& parameter)
const;
76 bool read_has_message_header_parameter_bool(
const std::bitset<GALILEO_CNAV_MT1_HEADER_BITS>& bits,
const std::pair<int32_t, int32_t>& parameter)
const;
78 uint64_t read_has_message_body_uint64(
const std::string& bits)
const;
79 uint16_t read_has_message_body_uint16(
const std::string& bits)
const;
80 int16_t read_has_message_body_int16(
const std::string& bits)
const;
81 uint8_t read_has_message_body_uint8(
const std::string& bits)
const;
84 std::string debug_print_vector(
const std::string& title,
const std::vector<T>& vec)
const;
87 std::string debug_print_matrix(
const std::string& title,
const std::vector<std::vector<T>>& mat)
const;
89 std::unique_ptr<ReedSolomon> d_rs;
94 std::vector<std::vector<uint64_t>> d_received_timestamps;
95 std::vector<std::vector<std::vector<uint8_t>>> d_C_matrix;
96 std::vector<std::vector<uint8_t>> d_M_matrix;
97 std::vector<std::vector<uint8_t>> d_received_pids;
98 std::vector<uint64_t> d_printed_timestamps;
99 std::vector<bool> d_printed_mids;
102 std::vector<int> d_nsat_in_mask_id;
103 std::vector<std::vector<uint8_t>> d_gnss_id_in_mask;
104 std::vector<std::vector<uint64_t>> d_satellite_mask;
105 std::vector<std::vector<uint16_t>> d_signal_mask;
106 std::vector<std::vector<bool>> d_cell_mask_availability_flag;
107 std::vector<std::vector<std::vector<std::vector<bool>>>> d_cell_mask;
108 std::vector<uint8_t> d_nsys_in_mask;
109 std::vector<std::vector<uint8_t>> d_nav_message_mask;
111 uint8_t d_current_has_status{};
112 uint8_t d_current_message_id{};
113 bool d_new_message{};
114 bool d_enable_navdata_monitor{};
120 #endif // GNSS_SDR_GALILEO_E6_HAS_MSG_RECEIVER_H std::shared_ptr< Galileo_HAS_data > process_test_page(const pmt::pmt_t &msg)
For testing purposes only.
Class implementing a Reed-Solomon encoder and decoder RS(255,K,d) where k=255-nroots is the informati...
This class is a storage for Galileo HAS message type 1, as defined in Galileo High Accuracy Service S...
This interface represents a GNSS block.
Galileo CNAV mesage constants. Data from: Galileo High Accuracy Service Signal-In-Space Interface Con...
Class for storage of decoded navigation messages.
GNU Radio block that receives asynchronous Galileo HAS message pages from the telemetry blocks...
This class is a storage for Galileo HAS message page, as defined in Galileo High Accuracy Service Sig...
Class for Galileo HAS message type 1 data storage.
~galileo_e6_has_msg_receiver()=default
Default destructor.