diff options
author | Lutz Helwing <lutz_helwing@mentor.com> | 2015-10-08 18:07:21 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-10-28 11:37:05 +0100 |
commit | a65dcd34513308b37165f8544ab647016d6e7209 (patch) | |
tree | 1d8786162fdf24a719b5934982b8f892c5ab076a /include | |
parent | d781908d0006d3a8b681d95540558d3a231d9c79 (diff) | |
download | DLT-daemon-a65dcd34513308b37165f8544ab647016d6e7209.tar.gz |
Set DLT_USER_BUF_MAX_SIZE to 1390 to prepare UDP message transport
dlt-test-client and dlt-test-filetransfer have global failed test counter so they can return 1 on failure
Using DLT_USER_BUF_MAX_SIZE in dlt-test-client.c truncated check
Set path to /usr/local/share/ in dlt-test-filetransfer.c
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/dlt/dlt_user.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h index d5d8ed7..a24117e 100644 --- a/include/dlt/dlt_user.h +++ b/include/dlt/dlt_user.h @@ -89,9 +89,9 @@ extern "C" { #endif -#define DLT_USER_BUF_MAX_SIZE 2048 /**< maximum size of each user buffer, also used for injection buffer */ +#define DLT_USER_BUF_MAX_SIZE 1390 /**< maximum size of each user buffer, also used for injection buffer */ -#define DLT_USER_RESENDBUF_MAX_SIZE (DLT_USER_BUF_MAX_SIZE + 100) /**< Size of resend buffer; Max DLT message size is 2K plus some extra header space */ +#define DLT_USER_RESENDBUF_MAX_SIZE (DLT_USER_BUF_MAX_SIZE + 100) /**< Size of resend buffer; Max DLT message size is 1390 bytes plus some extra header space */ /* Use a semaphore or mutex from your OS to prevent concurrent access to the DLT buffer. */ #define DLT_SEM_LOCK() { sem_wait(&dlt_mutex); } |