#include "can-bus.hpp"
+#include "can-signals.hpp"
#include "can-decoder.hpp"
#include "../configuration.hpp"
#include "../utils/signals.hpp"
{
decoded_message = decoder_t::translateSignal(*sig, can_message, configuration_t::instance().get_can_signals());
- openxc_SimpleMessage s_message = build_SimpleMessage(sig->get_generic_name(), decoded_message);
+ openxc_SimpleMessage s_message = build_SimpleMessage(sig->get_name(), decoded_message);
vehicle_message = build_VehicleMessage(s_message);
std::lock_guard<std::mutex> decoded_can_message_lock(decoded_can_message_mutex_);
* @brief Will make the decoding operation on a diagnostic CAN message.It will add to
* the vehicle_message queue the decoded message and tell the event push thread to process it.
*
- * @param[in] entry - an active_diagnostic_request_t object that made the request
- * about that diagnostic CAN message.
+ * @param[in] manager - the diagnostic manager object that handle diagnostic communication
* @param[in] can_message - a single CAN message from the CAN socket read, to be decode.
*
* @return How many signals has been decoded.