Check last value before send the event, if no change no event.
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 26 Apr 2017 16:27:35 +0000 (18:27 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 26 Apr 2017 23:03:34 +0000 (01:03 +0200)
commiteb5fc27fce3d832f1f969ebb01056a69c5f4c120
tree5c07e6f015fdfa3baa0648828def26248795703b
parentabd0190c2ba3a624272ed1f6a3a9c8fe8c4dd140
Check last value before send the event, if no change no event.

Adding a boolean parameter similarly of existing function to know if we would send
the event.

Change-Id: I03ee17f656065e556fd2b72b160b140852b68dcc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/can/can-bus.cpp
CAN-binder/low-can-binding/can/can-decoder.cpp
CAN-binder/low-can-binding/can/can-decoder.hpp