diff --git a/src/core/system_parameters/osnma_helper.cc b/src/core/system_parameters/osnma_helper.cc index 7cf3165c2..3feeb96cf 100644 --- a/src/core/system_parameters/osnma_helper.cc +++ b/src/core/system_parameters/osnma_helper.cc @@ -18,6 +18,7 @@ #include #include #include +#include uint32_t Osnma_Helper::compute_gst(uint32_t WN, uint32_t TOW) const { @@ -25,6 +26,7 @@ uint32_t Osnma_Helper::compute_gst(uint32_t WN, uint32_t TOW) const return GST; } + std::vector Osnma_Helper::gst_to_uint8(uint32_t GST) const { std::vector res; @@ -36,6 +38,7 @@ std::vector Osnma_Helper::gst_to_uint8(uint32_t GST) const return res; } + /** * @brief Convert a binary string to a vector of bytes. * @@ -67,6 +70,7 @@ std::vector Osnma_Helper::bytes(const std::string& binaryString) { return bytes; } + std::string Osnma_Helper::verification_status_str(int status) { switch (status) { @@ -76,6 +80,8 @@ std::string Osnma_Helper::verification_status_str(int status) default: return "UNKNOWN"; } } + + std::string Osnma_Helper::convert_to_hex_string(const std::vector& vector) { std::stringstream ss;