summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>2020-07-13 17:24:51 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-01-06 09:27:28 +0900
commit4026dbb4fbdf1d7308f5b2efa5bc946e3d4acc19 (patch)
treebcec27d1d5da310b6be6f470af122cde841cef6e
parent3c464a994ee8ccba7fd714333f9bb042aba4bb86 (diff)
downloadDLT-daemon-4026dbb4fbdf1d7308f5b2efa5bc946e3d4acc19.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: