diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-04-09 09:50:15 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-04-17 11:42:37 +0200 |
commit | 985fe9e5689a8c411fdd69d044e5ba4d9e4955bf (patch) | |
tree | 4d1b306c98e4f1c93f6c93e60cd211f6b7c9734d /low-can-binding/binding/application.hpp | |
parent | e4e00c65f8b686dd93e68a3226020692a62e1d26 (diff) |
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>
Diffstat (limited to 'low-can-binding/binding/application.hpp')
-rw-r--r-- | low-can-binding/binding/application.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/low-can-binding/binding/application.hpp b/low-can-binding/binding/application.hpp index fa2204f0..93494872 100644 --- a/low-can-binding/binding/application.hpp +++ b/low-can-binding/binding/application.hpp @@ -78,6 +78,8 @@ class application_t uint32_t get_signal_id(can_signal_t& sig) const; + bool isEngineOn(); + void set_active_message_set(uint8_t id); /* |