From b38a8d1631cf7fc8eec6d1e88b60d5db340ee376 Mon Sep 17 00:00:00 2001 From: Vo Trung Chi Date: Thu, 14 Nov 2019 14:10:23 +0700 Subject: Provide DLT_GET_APPID macro (#187) (#188) Signed-off-by: Christoph Lipka --- doc/dlt_for_developers.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc') 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 -- cgit v1.2.1