2 * @licence app begin@
\r
3 * Copyright (C) 2012 BMW AG
\r
5 * This file is part of GENIVI Project Dlt - Diagnostic Log and Trace console apps.
\r
7 * Contributions are licensed to the GENIVI Alliance under one or more
\r
8 * Contribution License Agreements.
\r
11 * This Source Code Form is subject to the terms of the
\r
12 * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
\r
13 * this file, You can obtain one at http://mozilla.org/MPL/2.0/.
\r
16 * \author Alexander Wenzel <alexander.wenzel@bmw.de> BMW 2011-2012
\r
19 * For further information see http://www.genivi.org/.
\r
24 /*******************************************************************************
\r
26 ** SRC-MODULE: dlt-daemon-cfg.h **
\r
28 ** TARGET : linux **
\r
32 ** AUTHOR : Alexander Wenzel Alexander.AW.Wenzel@bmw.de **
\r
39 ** PLATFORM DEPENDANT [yes/no]: yes **
\r
41 ** TO BE CHANGED BY USER [yes/no]: no **
\r
43 *******************************************************************************/
\r
45 /*******************************************************************************
\r
46 ** Author Identity **
\r
47 ********************************************************************************
\r
49 ** Initials Name Company **
\r
50 ** -------- ------------------------- ---------------------------------- **
\r
51 ** aw Alexander Wenzel BMW **
\r
52 ** mk Markus Klein Fraunhofer ESK **
\r
53 *******************************************************************************/
\r
55 /*******************************************************************************
\r
56 ** Author Identity **
\r
57 ********************************************************************************
\r
59 ** Initials Name Company **
\r
60 ** -------- ------------------------- ---------------------------------- **
\r
61 ** aw Alexander Wenzel BMW **
\r
62 ** mk Markus Klein Fraunhofer ESK **
\r
63 *******************************************************************************/
\r
65 #ifndef DLT_DAEMON_CFG_H
\r
66 #define DLT_DAEMON_CFG_H
\r
72 /* Stack size of timing packet thread */
\r
73 #define DLT_DAEMON_TIMINGPACKET_THREAD_STACKSIZE 100000
\r
75 /* Size of receive buffer for fifo connection (from user application) */
\r
76 #define DLT_DAEMON_RCVBUFSIZE 10024
\r
77 /* Size of receive buffer for socket connection (from dlt client) */
\r
78 #define DLT_DAEMON_RCVBUFSIZESOCK 10024
\r
79 /* Size of receive buffer for serial connection (from dlt client) */
\r
80 #define DLT_DAEMON_RCVBUFSIZESERIAL 10024
\r
82 /* Size of buffer for text output */
\r
83 #define DLT_DAEMON_TEXTSIZE 10024
\r
85 /* Size of buffer */
\r
86 #define DLT_DAEMON_TEXTBUFSIZE 512
\r
88 /* Maximum length of a description */
\r
89 #define DLT_DAEMON_DESCSIZE 256
\r
91 /* Name of daemon lock file, contain process id of dlt daemon instance */
\r
92 #define DLT_DAEMON_LOCK_FILE "dltd.lock"
\r
94 /* Umask of daemon, creates files with permission 750 */
\r
95 #define DLT_DAEMON_UMASK 027
\r
96 /* Permissions of daemon lock file */
\r
97 #define DLT_DAEMON_LOCK_FILE_PERM 0640
\r
99 /* Default ECU ID, used in storage header and transmitted to client*/
\r
100 #define DLT_DAEMON_ECU_ID "ECU1"
\r
102 /* Default baudrate for serial interface */
\r
103 #define DLT_DAEMON_SERIAL_DEFAULT_BAUDRATE 115200
\r
105 /************************/
\r
106 /* Don't change please! */
\r
107 /************************/
\r
109 #endif /* DLT_DAEMON_CFG_H */
\r