diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-11-28 13:49:08 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-11 10:25:38 +0000 |
commit | 9a441dad97539ec696d33eabb8ac36c222790e7f (patch) | |
tree | a8c5ed2ec746ef133d51b8964e2f2aff49f18ec2 /src/openxc/can_message.hpp | |
parent | e2a6bd168da5505f150ffad21aaf03498f2a3f67 (diff) |
Adds CAN FD flag on message object.
Adds CAN FD flag on message object when generating CPP file for the
low-can service. So with this commit you are now able to use a new flags
in your JSON CAN message definitions. This will imply that messages
received from a certain CAN ID will be handled as CAN FD.
Bug-AGL: SPEC-1980
Change-Id: Ia5fb573711742591c068928aee914ba708c802df
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/openxc/can_message.hpp')
-rwxr-xr-x | src/openxc/can_message.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openxc/can_message.hpp b/src/openxc/can_message.hpp index 3f7b018..f2d1b6e 100755 --- a/src/openxc/can_message.hpp +++ b/src/openxc/can_message.hpp @@ -22,10 +22,13 @@ namespace openxc float max_signal_frequency_;
bool force_send_changed_;
bool force_send_changed_signals_;
+ bool is_fd_;
public:
std::string id() const;
void id(const std::string& id);
+ void is_fd(const bool is_fd);
+ bool is_fd() const;
std::string bus() const;
bool bit_numbering_inverted() const;
const std::vector<signal>& signals() const;
|