SELKIELogger  1.0.0
sources.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Swansea University
3  *
4  * This file is part of the SELKIELogger suite of tools.
5  *
6  * SELKIELogger is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the Free
8  * Software Foundation, either version 3 of the License, or (at your option)
9  * any later version.
10  *
11  * SELKIELogger is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14  * more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this SELKIELogger product.
18  * If not, see <http://www.gnu.org/licenses/>.
19 */
20 
21 #ifndef SELKIELoggerBase_Sources
22 #define SELKIELoggerBase_Sources
23 
54 #define SLSOURCE_LOCAL 0x00
55 #define SLSOURCE_CONV 0x01
56 #define SLSOURCE_TIMER 0x02
57 
58 #define SLSOURCE_TEST1 0x05
59 #define SLSOURCE_TEST2 0x06
60 #define SLSOURCE_TEST3 0x07
61 
62 #define SLSOURCE_GPS 0x10
63 #define SLSOURCE_ADC 0x20
64 
65 #define SLSOURCE_NMEA 0x30
66 #define SLSOURCE_N2K 0x38
67 
68 #define SLSOURCE_I2C 0x40
69 
71 #define SLSOURCE_EXT 0x60
72 #define SLSOURCE_MQTT 0x68
73 
75 #define SLSOURCE_MP 0x70
76 
78 
97 #define SLCHAN_NAME 0x00
98 #define SLCHAN_MAP 0x01
99 #define SLCHAN_TSTAMP 0x02
100 #define SLCHAN_RAW 0x03
101 #define SLCHAN_LOG_INFO 0x7D
102 #define SLCHAN_LOG_WARN 0x7E
103 #define SLCHAN_LOG_ERR 0x7F
104 
106 #endif