Implemente way to send diagnostic request when subscribed.
authorRomain Forlot <romain.forlot@iot.bzh>
Sun, 12 Mar 2017 18:48:21 +0000 (19:48 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:10:41 +0000 (17:10 +0100)
commit7617950b0ab386949b43c6f221b02826e18548d6
treebd695ba29cbf87550288734690556af9df6615f7
parent6c40a7192cd6ddf89e625b53dd489b7a91a423e1
Implemente way to send diagnostic request when subscribed.

When subscribed, the signal is added to recurring request list
of diagnostic manager and an event is added to the systemd
event loop with timer set using frequency parameter from the
requested signal.

Change-Id: I4d604c498047d7744c090b7f03fce0f2b427fd01
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/configuration.cpp
src/diagnostic/active-diagnostic-request.cpp
src/diagnostic/active-diagnostic-request.hpp
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
src/utils/timer.cpp
src/utils/timer.hpp