From 38f9b3de40b1d1d8e9ed5db0fee40bdaa763d577 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 12 Jul 2017 17:40:36 +0200 Subject: Implements new verbs to write on CAN bus This will open a new BCM socket not dedicated to a subscription use to that mean. Change-Id: Idf353015f731e32d6eb7c7856bd73167c66e790f Signed-off-by: Romain Forlot --- low-can-binding/binding/low-can-hat.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'low-can-binding/binding/low-can-hat.hpp') diff --git a/low-can-binding/binding/low-can-hat.hpp b/low-can-binding/binding/low-can-hat.hpp index cf3d999..6ecad23 100644 --- a/low-can-binding/binding/low-can-hat.hpp +++ b/low-can-binding/binding/low-can-hat.hpp @@ -37,4 +37,5 @@ void on_no_clients(std::shared_ptr can_subscription, uin int read_message(sd_event_source *s, int fd, uint32_t revents, void *userdata); void subscribe(struct afb_req request); -void unsubscribe(struct afb_req request); \ No newline at end of file +void unsubscribe(struct afb_req request); +void swrite(struct afb_req request); -- cgit 1.2.3-korg