Detect engine state and use it during diagnostic messages subscriptions 43/13743/2
authorJonathan Aillet <jonathan.aillet@iot.bzh>
Mon, 9 Apr 2018 07:50:15 +0000 (09:50 +0200)
committerJonathan Aillet <jonathan.aillet@iot.bzh>
Tue, 17 Apr 2018 09:42:37 +0000 (11:42 +0200)
commit985fe9e5689a8c411fdd69d044e5ba4d9e4955bf
tree4d1b306c98e4f1c93f6c93e60cd211f6b7c9734d
parente4e00c65f8b686dd93e68a3226020692a62e1d26
Detect engine state and use it during diagnostic messages subscriptions

Get engine state recurringly by requesting a permanent
diagnostic messages request.
Use these information to warn that diagnostic request won't have any responses
at the moment of subscription if engine is off.

Bug-AGL: SPEC-1347

Change-Id: If8bd79bba89acd1c8f5452d3efdbf00a89f8cc77
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
low-can-binding/binding/application.cpp
low-can-binding/binding/application.hpp
low-can-binding/binding/low-can-cb.cpp