From 0ca94151777a560209fe063a7f02474e3a0ff47d Mon Sep 17 00:00:00 2001 From: Vo Trung Chi Date: Mon, 5 Aug 2019 15:26:47 +0700 Subject: shm: Resend dlt msg when client connect After dlt-client connects to dlt-daemon successfully, all the stored dlt messages in daemon was not flushed to dlt client when using shared memory as IPC. It is harmonized with dlt_daemon_process_user_message_log(). Signed-off-by: Vo Trung Chi --- src/daemon/dlt-daemon_cfg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/daemon/dlt-daemon_cfg.h') diff --git a/src/daemon/dlt-daemon_cfg.h b/src/daemon/dlt-daemon_cfg.h index 67ce017..d9a0610 100644 --- a/src/daemon/dlt-daemon_cfg.h +++ b/src/daemon/dlt-daemon_cfg.h @@ -76,6 +76,8 @@ /* Stack size of ecu version thread */ #define DLT_DAEMON_ECU_VERSION_THREAD_STACKSIZE 100000 +/* Size of receive buffer for shm connection (from user application) */ +#define DLT_SHM_RCV_BUFFER_SIZE 10000 /* Size of receive buffer for fifo connection (from user application) */ #define DLT_DAEMON_RCVBUFSIZE 10024 /* Size of receive buffer for socket connection (from dlt client) */ -- cgit v1.2.1