X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Fbinding%2Flow-can-subscription.hpp;h=b5d4f7aa05ede0fbf08d792204332eab7493ab1c;hb=b37ea4acd86941e587b6eefe1dca262e3bf21f12;hp=d0462ecb0a1707c8660b428108be8c2db04435ad;hpb=5174772b69e56b671fb149e8acdc4f2a35e354d9;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/binding/low-can-subscription.hpp b/low-can-binding/binding/low-can-subscription.hpp index d0462ecb..b5d4f7aa 100644 --- a/low-can-binding/binding/low-can-subscription.hpp +++ b/low-can-binding/binding/low-can-subscription.hpp @@ -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);