-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.h
More file actions
31 lines (23 loc) · 835 Bytes
/
Copy pathconfig.h
File metadata and controls
31 lines (23 loc) · 835 Bytes
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
31
//
// 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 1000
#define PRESS_SAMP_INTERVAL 1000
#define TEMP_SAMP_INTERVAL 1000
#define HUMID_TOPIC "dml/sensor00002/humidity"
#define PRESS_TOPIC "dml/sensor00002/pressure"
#define TEMP_TOPIC "dml/sensor00002/temperature"
#define CTRL_TOPIC "dml/sensor00002/ctrl"
#define STATUS_TOPIC "dml/sensor00002/status"
#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