19 #ifndef GNSS_SDR_GALILEO_CNAV_MESSAGE_H 20 #define GNSS_SDR_GALILEO_CNAV_MESSAGE_H 45 void read_HAS_page(
const std::string& page_string);
47 inline bool have_new_HAS_message()
52 inline bool is_HAS_in_test_mode()
const 57 inline bool is_HAS_message_dummy()
const 68 bool CRC_test(std::bitset<GALILEO_CNAV_BITS_FOR_CRC> bits, uint32_t checksum)
const;
69 void read_HAS_page_header(
const std::string& page_string);
70 void process_HAS_page(
const std::string& page_string);
71 void decode_message_type1();
72 void read_HAS_message_type1(
const std::string& message_string);
73 void read_MT1_header(
const std::string& message_string);
74 void read_MT1_body(
const std::string& message_string);
76 uint8_t read_has_page_header_parameter(std::bitset<GALILEO_CNAV_PAGE_HEADER_BITS> bits,
const std::pair<int32_t, int32_t>& parameter)
const;
77 uint8_t read_has_message_header_parameter_uint8(std::bitset<GALILEO_CNAV_MT1_HEADER_BITS> bits,
const std::pair<int32_t, int32_t>& parameter)
const;
78 uint16_t read_has_message_header_parameter_uint16(std::bitset<GALILEO_CNAV_MT1_HEADER_BITS> bits,
const std::pair<int32_t, int32_t>& parameter)
const;
79 bool read_has_message_header_parameter_bool(std::bitset<GALILEO_CNAV_MT1_HEADER_BITS> bits,
const std::pair<int32_t, int32_t>& parameter)
const;
80 uint8_t read_has_message_body_uint8(
const std::string& bits)
const;
81 uint16_t read_has_message_body_uint16(
const std::string& bits)
const;
82 uint64_t read_has_message_body_uint64(
const std::string& bits)
const;
83 int16_t read_has_message_body_int16(
const std::string& bits)
const;
87 std::string d_encoded_message_type_1;
88 std::list<uint8_t> d_list_pid;
90 uint8_t d_has_page_status{};
91 uint8_t d_current_message_id{};
92 uint8_t d_current_message_size{};
94 uint8_t d_received_message_page_id{};
95 uint8_t d_received_message_type{};
96 uint8_t d_received_message_id{};
97 uint8_t d_received_encoded_messages{};
98 uint8_t d_received_message_size{};
101 bool d_new_message{};
102 bool d_flag_CRC_test{};
109 #endif // GNSS_SDR_GALILEO_CNAV_MESSAGE_H This class is a storage for Galileo HAS message type 1, as defined in Galileo High Accuracy Service E...
This class handles the Galileo CNAV Data message, as described in the Galileo High Accuracy Service E...
Galileo CNAV mesage constants. Data from: Galileo High Accuracy Service E6-B Signal-In-Space Message ...
Class for Galileo HAS message type 1 data storage.