Implement check of supported diagnostic PID.
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 01:18:00 +0000 (02:18 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:21:57 +0000 (17:21 +0100)
commit1ee222a7250896fc7f2e5fb1dc50a7466d81b741
tree7f73cc373b73314962ef4c774657b0842d3f9e94
parentf3ddfa1c2c4a9ac54f129a63dc9673afdc87bb9e
Implement check of supported diagnostic PID.

Supported boolean member about diagnostic messages is now used. When
a response is received, completed but not successful, then set the diagnostic
message as not supported and clean the request from the queue.

Subscription remains for now, not cool but will be fix soon.

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