Move attributes flags and maxdlen
[apps/agl-service-can-low-level.git] / low-can-binding / can / message / can-message.hpp
index 0f8bc9b..76515d8 100644 (file)
@@ -35,7 +35,6 @@ class can_message_t : public message_t {
        private:
                uint32_t id_; ///< id_ - The ID of the message. */
                bool rtr_flag_; ///< rtr_flag_ - Telling if the frame has RTR flag positionned. Then frame hasn't data field*/
-               uint32_t flags_; ///< flags_ - flags of a CAN FD frame. Needed if we catch FD frames.*/
                struct bcm_msg bcm_msg_;
 
        public:
@@ -46,6 +45,7 @@ class can_message_t : public message_t {
 
                static std::shared_ptr<can_message_t> convert_from_frame(const canfd_frame& frame, size_t nbytes, uint64_t timestamp);
                struct canfd_frame convert_to_canfd_frame();
+               struct std::vector<canfd_frame> convert_to_canfd_frame_vector();
                struct can_frame convert_to_can_frame();
 
                bool is_correct_to_send();
@@ -54,5 +54,5 @@ class can_message_t : public message_t {
                void set_bcm_msg(struct bcm_msg bcm_msg);
 
                std::string get_debug_message();
-               uint32_t get_flags();
+
 };