Add function remove last bcm frame
[apps/agl-service-can-low-level.git] / low-can-binding / binding / low-can-subscription.hpp
index d0462ec..b5d4f7a 100644 (file)
@@ -93,6 +93,7 @@ public:
 
        static struct bcm_msg make_bcm_head(uint32_t opcode, uint32_t can_id = 0, uint32_t flags = 0, const struct timeval& timeout = {0,0}, const struct timeval& frequency_thinning = {0,0});
        static void add_one_bcm_frame(struct canfd_frame& cfd, struct bcm_msg& bcm_msg);
+       static void remove_last_bcm_frame(struct bcm_msg& bcm_msg);
 
        static int open_socket(low_can_subscription_t &subscription, const std::string& bus_name = "", socket_type type = socket_type::INVALID);