Better suited method.
[apps/low-level-can-service.git] / CAN-binder / low-can-binding / can / can-message.hpp
index d38f7ba..954fdc3 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/can.h>
 
 #include "../utils/timer.hpp"
-#include "can-message-set.hpp"
 
 #define CAN_MESSAGE_SIZE 8
 
@@ -64,6 +63,7 @@ public:
        can_message_format_t get_format() const;
        uint8_t get_flags() const;
        const uint8_t* get_data() const;
+       const std::vector<uint8_t> get_data_vector() const;
        uint8_t get_length() const;
 
        void set_format(const can_message_format_t new_format);