summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dlt/dlt_user.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h
index 0c665ab..93ac0a0 100644
--- a/include/dlt/dlt_user.h
+++ b/include/dlt/dlt_user.h
@@ -232,6 +232,7 @@ typedef struct
int8_t use_extende_header_for_non_verbose; /**< Use extended header for non verbose: 1 enabled, 0 disabled */
int8_t with_session_id; /**< Send always session id: 1 enabled, 0 disabled */
int8_t with_timestamp; /**< Send always timestamp: 1 enabled, 0 disabled */
+ int8_t with_ecu_id; /**< Send always ecu id: 1 enabled, 0 disabled */
int8_t enable_local_print; /**< Local printing of log messages: 1 enabled, 0 disabled */
int8_t local_print_mode; /**< Local print mode, controlled by environment variable */
@@ -569,6 +570,14 @@ int dlt_with_session_id(int8_t with_session_id);
int dlt_with_timestamp(int8_t with_timestamp);
/**
+ * Send ecu id configuration.
+ * Enabled by default.
+ * @param with_ecu_id Send ecu id in each message if enabled
+ * @return negative value if no success
+ */
+int dlt_with_ecu_id(int8_t with_ecu_id);
+
+/**
* Set maximum logged log level and trace status of application
*
* @param loglevel This is the log level to be set for the whole application