diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2014-05-13 17:06:31 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2014-05-16 08:37:40 +0200 |
commit | 965e022b9d5375691763864658b3f0cf39ecf875 (patch) | |
tree | 987534b67f526f7ff1f2ded53bbf84d9d02eebbb /include | |
parent | b06bb75b62251cab81d41ffa506ce47916448165 (diff) | |
download | DLT-daemon-965e022b9d5375691763864658b3f0cf39ecf875.tar.gz |
Send ECU Id if enabled and added library API to change.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/dlt/dlt_user.h | 9 |
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 |