automotive-dlt
dlt_common_cfg.h
Go to the documentation of this file.
1 /*
2  * @licence app begin@
3  * SPDX license identifier: MPL-2.0
4  *
5  * Copyright (C) 2011-2015, BMW AG
6  *
7  * This file is part of GENIVI Project DLT - Diagnostic Log and Trace.
8  *
9  * This Source Code Form is subject to the terms of the
10  * Mozilla Public License (MPL), v. 2.0.
11  * If a copy of the MPL was not distributed with this file,
12  * You can obtain one at http://mozilla.org/MPL/2.0/.
13  *
14  * For further information see http://www.genivi.org/.
15  * @licence end@
16  */
17 
27 /*******************************************************************************
28 ** **
29 ** SRC-MODULE: dlt_common_cfg.h **
30 ** **
31 ** TARGET : linux **
32 ** **
33 ** PROJECT : DLT **
34 ** **
35 ** AUTHOR : Alexander Wenzel Alexander.AW.Wenzel@bmw.de **
36 ** Markus Klein **
37 ** **
38 ** PURPOSE : **
39 ** **
40 ** REMARKS : **
41 ** **
42 ** PLATFORM DEPENDANT [yes/no]: yes **
43 ** **
44 ** TO BE CHANGED BY USER [yes/no]: no **
45 ** **
46 *******************************************************************************/
47 
48 /*******************************************************************************
49 ** Author Identity **
50 ********************************************************************************
51 ** **
52 ** Initials Name Company **
53 ** -------- ------------------------- ---------------------------------- **
54 ** aw Alexander Wenzel BMW **
55 ** mk Markus Klein Fraunhofer ESK **
56 *******************************************************************************/
57 
58 /*******************************************************************************
59 ** Author Identity **
60 ********************************************************************************
61 ** **
62 ** Initials Name Company **
63 ** -------- ------------------------- ---------------------------------- **
64 ** aw Alexander Wenzel BMW **
65 ** mk Markus Klein Fraunhofer ESK **
66 *******************************************************************************/
67 
68 #ifndef DLT_COMMON_CFG_H
69 #define DLT_COMMON_CFG_H
70 
71 /*************/
72 /* Changable */
73 /*************/
74 
75 /* Buffer length for temporary buffer */
76 #define DLT_COMMON_BUFFER_LENGTH 255
77 
78 /* Number of ASCII chars to be printed in one line as HEX and as ASCII */
79 /* e.g. XX XX XX XX ABCD is DLT_COMMON_HEX_CHARS = 4 */
80 #define DLT_COMMON_HEX_CHARS 16
81 
82 /* Length of line number */
83 #define DLT_COMMON_HEX_LINELEN 8
84 
85 /* Length of one char */
86 #define DLT_COMMON_CHARLEN 1
87 
88 /* Number of indices to be allocated at one, if no more indeces are left */
89 #define DLT_COMMON_INDEX_ALLOC 1000
90 
91 /* If limited output is called,
92  this is the maximum number of characters to be printed out */
93 #define DLT_COMMON_ASCII_LIMIT_MAX_CHARS 20
94 
95 /* This defines the dummy ECU ID set in storage header during import
96  of a message from a DLT file in RAW format (without storage header) */
97 #define DLT_COMMON_DUMMY_ECUID "ECU"
98 
99 
100 /************************/
101 /* Don't change please! */
102 /************************/
103 
104 /* ASCII value for space */
105 #define DLT_COMMON_ASCII_CHAR_SPACE 32
106 
107 /* ASCII value for tilde */
108 #define DLT_COMMON_ASCII_CHAR_TILDE 126
109 
110 /* ASCII value for lesser than */
111 #define DLT_COMMON_ASCII_CHAR_LT 60
112 
113 #endif /* DLT_COMMON_CFG_H */
114