Detect engine state and use it during diagnostic messages subscriptions
[apps/agl-service-can-low-level.git] / low-can-binding / binding / application.hpp
index c75a178..9349487 100644 (file)
@@ -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);
 
 /*
@@ -96,10 +98,6 @@ class application_t
                /// TODO: implement this function as method into can_bus class
                /// @brief Check if the device is connected to an active CAN bus, i.e. it's received a message in the recent past.
                /// @return true if a message was received on the CAN bus within CAN_ACTIVE_TIMEOUT_S seconds.
-               void logBusStatistics(can_bus_dev_t* buses, const int busCount);
-               /// TODO: implement this function as method into can_bus class
-               /// @brief Log transfer statistics about all active CAN buses to the debug log.
-               /// @param[in] buses An array of active CAN buses.
                bool isBusActive(can_bus_dev_t* bus);
                */
 };