From 68d8bc019fab3e73654a330baf6b8dd7c11859ca Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 26 Nov 2019 16:18:36 +0100 Subject: Add feature to build messages and fix some functions Allows to build a message (J1939,BCM) with a signal and a value. Bug-AGL: SPEC-2386 Bug-AGL: SPEC-2976 Signed-off-by: Arthur Guyader Change-Id: Iadca13a927ff83f713f39da441c88356695a1285 Signed-off-by: Romain Forlot --- low-can-binding/utils/socketcan-raw.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'low-can-binding/utils/socketcan-raw.hpp') diff --git a/low-can-binding/utils/socketcan-raw.hpp b/low-can-binding/utils/socketcan-raw.hpp index 42e98746..966bf351 100644 --- a/low-can-binding/utils/socketcan-raw.hpp +++ b/low-can-binding/utils/socketcan-raw.hpp @@ -27,11 +27,7 @@ namespace utils using socketcan_t::socketcan_t; virtual int open(std::string device_name); virtual std::shared_ptr read_message(); - virtual void write_message(std::shared_ptr cm); - virtual void write_message(std::vector>& vobj); - - private: - int bind(const struct sockaddr* addr, socklen_t len); + virtual int write_message(message_t& cm); }; } -- cgit 1.2.3-korg