STIMA  3
debug_config.h
Go to the documentation of this file.
1 
3 /*********************************************************************
4 Copyright (C) 2017 Marco Baldinetti <m.baldinetti@digiteco.it>
5 authors:
6 Paolo Patruno <p.patruno@iperbole.bologna.it>
7 Marco Baldinetti <m.baldinetti@digiteco.it>
8 
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of
12 the License, or (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 **********************************************************************/
22 
23 #ifndef _DEBUG_CONFIG_H
24 #define _DEBUG_CONFIG_H
25 
30 #define SERIAL_TRACE_LEVEL_OFF (0)
31 
36 #define SERIAL_TRACE_LEVEL_ERROR (1)
37 
42 #define SERIAL_TRACE_LEVEL_WARNING (2)
43 
48 #define SERIAL_TRACE_LEVEL_INFO (3)
49 
54 #define SERIAL_TRACE_LEVEL_DEBUG (4)
55 
60 #define SERIAL_TRACE_LEVEL_TRACE (5)
61 
66 #define LCD_TRACE_LEVEL_OFF (0)
67 
72 #define LCD_TRACE_LEVEL_ERROR (1)
73 
78 #define LCD_TRACE_LEVEL_WARNING (2)
79 
84 #define LCD_TRACE_LEVEL_INFO (3)
85 
90 #define LCD_TRACE_LEVEL_DEBUG (4)
91 
96 #define OK_STRING ("OK")
97 
102 #define ERROR_STRING ("ERROR")
103 
108 #define FAIL_STRING ("FAIL")
109 
114 #define YES_STRING ("YES")
115 
120 #define NO_STRING ("NO")
121 
126 #define ON_STRING ("ON")
127 
132 #define OFF_STRING ("OFF")
133 
138 #define SAVE_STRING ("SAVE")
139 
144 #define SENSOR_DRIVER_SERIAL_TRACE_LEVEL (SERIAL_TRACE_LEVEL_OFF)
145 
150 #define SIM800_SERIAL_TRACE_LEVEL (SERIAL_TRACE_LEVEL_INFO)
151 
156 #define OPC_SERIAL_TRACE_LEVEL (SERIAL_TRACE_LEVEL_INFO)
157 
162 #define I2C_TH_SERIAL_TRACE_LEVEL (SERIAL_TRACE_LEVEL_INFO)
163 
168 #define I2C_RAIN_SERIAL_TRACE_LEVEL (SERIAL_TRACE_LEVEL_INFO)
169 
174 #define I2C_OPC_SERIAL_TRACE_LEVEL (SERIAL_TRACE_LEVEL_DEBUG)
175 
180 #define STIMA_SERIAL_TRACE_LEVEL (SERIAL_TRACE_LEVEL_INFO)
181 
186 #define STIMA_LCD_TRACE_LEVEL (LCD_TRACE_LEVEL_INFO)
187 
188 #endif