From 7554585a80ca2a8ebdcd5d1f1693ffe8e39b571d Mon Sep 17 00:00:00 2001 From: Mohammed AL Dardoun Date: Tue, 9 Aug 2011 17:04:17 +0200 Subject: [GSW-43] Flow Control for sending huge amount of data over DLT. partialy fixed --- src/daemon/dlt_daemon_common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/daemon/dlt_daemon_common.h') diff --git a/src/daemon/dlt_daemon_common.h b/src/daemon/dlt_daemon_common.h index fa0fe53..d861a9e 100755 --- a/src/daemon/dlt_daemon_common.h +++ b/src/daemon/dlt_daemon_common.h @@ -97,6 +97,10 @@ extern "C" { #define DLT_DAEMON_RINGBUFFER_SIZE 100000 /**< Ring buffer size for storing log messages while no client is connected */ +#define DLT_DAEMON_RINGBUFFER_INCREASE_SIZE DLT_DAEMON_RINGBUFFER_SIZE + +#define DLT_DAEMON_RINGBUFFER_MAXIMUM_SIZE 100*DLT_DAEMON_RINGBUFFER_INCREASE_SIZE + #define DLT_DAEMON_STORE_TO_BUFFER -2 /**< Constant value to identify the command "store to buffer" */ /* Use a semaphore or mutex from your OS to prevent concurrent access to the DLT buffer. */ -- cgit v1.2.1