diff options
author | Manikandan C <mchockalingam@de.adit-jv.com> | 2018-11-12 14:01:47 +0100 |
---|---|---|
committer | Manikandan C <mchockalingam@de.adit-jv.com> | 2018-11-16 11:03:28 +0100 |
commit | 8112bb0c3a1b16a9f7e47e725d95f9fbab1bf4c2 (patch) | |
tree | 2967d4bf0cf3b95a542fc40e29cd7e67a341fc03 /include/dlt/dlt_common.h | |
parent | 2c507329d9d161910c793c445ae8c388a608cf35 (diff) | |
download | DLT-daemon-8112bb0c3a1b16a9f7e47e725d95f9fbab1bf4c2.tar.gz |
dlt-client: logging: Extended the receiver buffer sizeGateway_updates
- dlt-control couldn't receive all the GET_LOG_INFO response message
when many applications and contexts are registered.
Therefore the receiver buffer size was extended to 65K.
Also the receive buffer size macros are reduced to one variable.
- Code cleanup and improvements
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'include/dlt/dlt_common.h')
-rw-r--r-- | include/dlt/dlt_common.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index d76d190..2824efd 100644 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -210,7 +210,6 @@ enum { /** * Definitions for GET_LOG_INFO */ -#define DLT_RECEIVE_TEXTBUFSIZE 1024 /* Size of buffer for text output */ #define DLT_GET_LOG_INFO_HEADER 18 /*Get log info header size in response text */ #define GET_LOG_INFO_LENGTH 13 #define SERVICE_OPT_LENGTH 3 @@ -361,6 +360,16 @@ enum { #define DLT_IPC_PATH_MAX 100 /** + * Maximal receiver buffer size for application messages + */ +#define DLT_RECEIVE_BUFSIZE 65535 + +/** + * Maximal line length + */ +#define DLT_LINE_LEN 1024 + +/** * Provision to test static function */ #ifndef DLT_UNIT_TESTS @@ -1488,6 +1497,8 @@ extern "C" * * @param rp char * @param rp_count int + * @param wp char + * @param length int */ void dlt_getloginfo_conv_ascii_to_id(char *rp, int *rp_count, char *wp, int len); |