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_common_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_COMMON_CFG_H
\r
66 #define DLT_COMMON_CFG_H
\r
72 /* Buffer length for temporary buffer */
\r
73 #define DLT_COMMON_BUFFER_LENGTH 255
\r
75 /* Number of ASCII chars to be printed in one line as HEX and as ASCII */
\r
76 /* e.g. XX XX XX XX ABCD is DLT_COMMON_HEX_CHARS = 4 */
\r
77 #define DLT_COMMON_HEX_CHARS 16
\r
79 /* Length of line number */
\r
80 #define DLT_COMMON_HEX_LINELEN 8
\r
82 /* Length of one char */
\r
83 #define DLT_COMMON_CHARLEN 1
\r
85 /* Number of indices to be allocated at one, if no more indeces are left */
\r
86 #define DLT_COMMON_INDEX_ALLOC 1000
\r
88 /* If limited output is called,
\r
89 this is the maximum number of characters to be printed out */
\r
90 #define DLT_COMMON_ASCII_LIMIT_MAX_CHARS 20
\r
92 /* This defines the dummy ECU ID set in storage header during import
\r
93 of a message from a DLT file in RAW format (without storage header) */
\r
94 #define DLT_COMMON_DUMMY_ECUID "ECU"
\r
97 /************************/
\r
98 /* Don't change please! */
\r
99 /************************/
\r
101 /* ASCII value for space */
\r
102 #define DLT_COMMON_ASCII_CHAR_SPACE 32
\r
104 /* ASCII value for tilde */
\r
105 #define DLT_COMMON_ASCII_CHAR_TILDE 126
\r
107 /* ASCII value for lesser than */
\r
108 #define DLT_COMMON_ASCII_CHAR_LT 60
\r
110 #endif /* DLT_COMMON_CFG_H */
\r