forked from maxnil/ESP_WeatherSensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
30 lines (22 loc) · 785 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// Created by Max Nilsson on 2019-05-04.
//
#ifndef CONFIG_H
#define CONFIG_H
// Sampling interval for Humidity, Temperature and Air Pressure (in milliseconds)
#define HUMID_SAMP_INTERVAL 3000
#define PRESS_SAMP_INTERVAL 2000
#define TEMP_SAMP_INTERVAL 1000
#define HUMID_TOPIC "dml/sensor00001/humidity"
#define PRESS_TOPIC "dml/sensor00001/pressure"
#define TEMP_TOPIC "dml/sensor00001/temperature"
#define CTRL_TOPIC "dml/sensor00001/ctrl"
#define UART_BAUD_RATE 115200
// The following defines should be sett in the "private_config.h" file
// Examples:
// #define MQTT_HOST "192.168.1.101" or "mqtt-server.mydomain.org"
// #define MQTT_PORT 1883
// #define MQTT_USER "mqtt_user_name"
// #define MQTT_PASS "mqtt_password"
#include "private_config.h"
#endif //CONFIG_H