summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dlt/dlt_client.h')
-rw-r--r--include/dlt/dlt_client.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/dlt/dlt_client.h b/include/dlt/dlt_client.h
index 587c6ca..8943184 100644
--- a/include/dlt/dlt_client.h
+++ b/include/dlt/dlt_client.h
@@ -211,9 +211,9 @@ DltReturnValue dlt_client_send_default_log_level(DltClient *client, uint8_t defa
* Send the log level to all contexts registered with dlt daemon
* @param client pointer to dlt client structure
* @param LogLevel Log Level to be set
- * @return negative value if there was an error
+ * @return Value from DltReturnValue enum
*/
-int dlt_client_send_all_log_level(DltClient *client, uint8_t LogLevel);
+DltReturnValue dlt_client_send_all_log_level(DltClient *client, uint8_t LogLevel);
/**
* Send the default trace status to the dlt daemon
* @param client pointer to dlt client structure
@@ -222,6 +222,13 @@ int dlt_client_send_all_log_level(DltClient *client, uint8_t LogLevel);
*/
DltReturnValue dlt_client_send_default_trace_status(DltClient *client, uint8_t defaultTraceStatus);
/**
+ * Send the trace status to all contexts registered with dlt daemon
+ * @param client pointer to dlt client structure
+ * @param traceStatus trace status to be set
+ * @return Value from DltReturnValue enum
+ */
+DltReturnValue dlt_client_send_all_trace_status(DltClient *client, uint8_t traceStatus);
+/**
* Send the timing pakets status to the dlt daemon
* @param client pointer to dlt client structure
* @param timingPakets Timing pakets enabled