Simplification of checking Diagnostic response.
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 15 Mar 2017 22:07:34 +0000 (23:07 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:21:57 +0000 (17:21 +0100)
commit865c6c6d6f4174c5874e4cd5136832c25a3b1198
tree58ef5ee4b6b3cbecb03920ec666a45f2509bfb50
parentdaa713ab23d8bb8192fc4e86aaf6720e830cdab9
Simplification of checking Diagnostic response.

A CAN message will be considered as a Diagnostic response when its
arbitration ID is between standardized 0x7E8 and 0x7EF.
Checking which request belong to that response will done in later methods

Change-Id: I7a093edf44b62a4552b90fe3d8935f94dc677cf4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/can/can-bus.cpp
src/diagnostic/diagnostic-manager.cpp
src/diagnostic/diagnostic-manager.hpp