diff options
author | Vo Trung Chi <chi.votrung@vn.bosch.com> | 2019-11-14 14:10:23 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-11-14 16:10:23 +0900 |
commit | b38a8d1631cf7fc8eec6d1e88b60d5db340ee376 (patch) | |
tree | 956e60b9c6b35afad7ee4a422f08a15b6e22ff0c /doc | |
parent | 181fa112dd00021c834ebe85a38ab39834a2eb11 (diff) | |
download | DLT-daemon-b38a8d1631cf7fc8eec6d1e88b60d5db340ee376.tar.gz |
Provide DLT_GET_APPID macro (#187) (#188)
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dlt_for_developers.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/dlt_for_developers.md b/doc/dlt_for_developers.md index 1773f20..9f3f09c 100644 --- a/doc/dlt_for_developers.md +++ b/doc/dlt_for_developers.md @@ -405,6 +405,25 @@ the IPC channel. Because of this, messages might be lost if logs are emitted immediately after registering. Typically this is not a problem, but may arise especially with simple examples. +### Get application ID + +To get the application ID value, requested to allocate a char array at least +4 byte length and input to the function call. + +The application ID will be stored in this input char array. + +#### MACRO + +``` +DLT_GET_APPID(appid); +``` + +#### Function + +``` +dlt_get_appid(appid); +``` + ### Define and register all logging contexts As many contexts as needed can be defined. These contexts can be declared as |