Snorktracker
 All Data Structures Files Functions Variables Macros Pages
Config.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2018 SFini
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
24 // #define SIM808_CONNECTED //!< With SIM808 or only as a WeatherStation?
25 
26 #define SOFT_AP_NAME "SnorkTracker"
27 #define SOFT_AP_PW ""
28 #define WIFI_SID "sid"
29 #define WIFI_PW "password"
30 #define GPRS_AP "internet"
31 #define GPRS_USER ""
32 #define GPRS_PASSWORD ""
33 #define PHONE_NUMBER "0123456789"
34 
35 #define MQTT_NAME "SnorkTracker"
36 #define MQTT_ID "01"
37 #define MQTT_SERVER "server"
38 #define MQTT_PORT 1883
39 #define MQTT_USER "user"
40 #define MQTT_PASSWORD "password"
41 
42 #define POWER_CONSUMPTION_ACTIVE 70.0
43 #define POWER_CONSUMPTION_POWER_ON 140.0
44 #define POWER_CONSUMPTION_DEEP_SLEEP 0.407