summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/main.c b/src/main.c
index 9f76ab2..16deb68 100644
--- a/src/main.c
+++ b/src/main.c
@@ -9,20 +9,12 @@
9 9
10// Project 10// Project
11#include <mosquitto.h> 11#include <mosquitto.h>
12#include "config.h"
12 13
13#ifndef UNUSED 14#ifndef UNUSED
14# define UNUSED(x) (void) (x) 15# define UNUSED(x) (void) (x)
15#endif 16#endif
16 17
17#define CLIENT_ID "my-client-id"
18#define HOST "192.168.77.2"
19#define PORT 1883
20#define USERNAME "zigbee2mqtt"
21#define PASSWORD "xoorei2uk2booSudies4Numoek1uot"
22#define TOPIC "zigbee2mqtt/Kontaktsensor"
23#define KEEPALIVE 10
24#define WAIT_UNTIL_RECONNECT 10
25
26static volatile bool terminate = false; // NOLINT 18static volatile bool terminate = false; // NOLINT
27 19
28static void 20static void