summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>2020-07-13 17:24:51 +0700
committerSaya Sugiura <ssugiura@jp.adit-jv.com>2021-01-06 09:15:12 +0900
commitc065ba70ae53ab6a7253e53680c7dd7930e90fa1 (patch)
treebcec27d1d5da310b6be6f470af122cde841cef6e
parent5d0eb635e502f81d6af89fbbff15e6bc340acb22 (diff)
downloadDLT-daemon-c065ba70ae53ab6a7253e53680c7dd7930e90fa1.tar.gz
design doc: update spec for new environment variable
Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
-rw-r--r--doc/dlt_design_specification.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/dlt_design_specification.md b/doc/dlt_design_specification.md
index 5731cec..a6df3c5 100644
--- a/doc/dlt_design_specification.md
+++ b/doc/dlt_design_specification.md
@@ -333,6 +333,12 @@ During sending of a network trace message, the following things occur:
During registration of a callback function for an injection message, then following
steps are executed:
+ - Check if the environment variable DLT\_DISABLE\_INJECTION\_MSG\_AT\_USER is set.
+ - If yes:
+ - libdlt will ignore all data/messages from dlt-daemon, including:
+ loglevel change, custom injection messages ...
+ - If no (default):
+ - libdlt will handle all data/messages from dlt-daemon as normal.
- For the specified context, check if service id is already in the table of the
registered callbacks (this table is dynamically growing in steps of one entry).
- If yes: