Fix bit_position swapping
authorCorentin Le Gall <corentin.legall@iot.bzh>
Mon, 18 Nov 2019 15:48:20 +0000 (16:48 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 3 Dec 2019 18:46:26 +0000 (19:46 +0100)
commit00fc4d94ba9585b6262218136d76b913e162876b
treeb2ca58ab7206cfeba24ce843ed1c487e3f0a18c7
parent65ec074edcda5403164b36073a57454958353fc1
Fix bit_position swapping

-Added an attribute to signals that tells if the bit_position
has been swapped.
-Test if bit_size and bit_position gives an "out of range" data

Change-Id: I589565ca923ec807da2d4f0db7c4c92fb737b579
Signed-off-by: Corentin Le Gall <corentin.legall@iot.bzh>
low-can-binding/can/can-decoder.cpp
low-can-binding/can/signals.cpp
low-can-binding/can/signals.hpp
low-can-binding/utils/converter.cpp