2018-07-17 11:53:43 +02:00
|
|
|
#ifndef main_H
|
|
|
|
#define main_H
|
2018-04-05 08:47:17 +02:00
|
|
|
|
2018-07-17 11:53:43 +02:00
|
|
|
#include "led.h"
|
|
|
|
#include "macsniff.h"
|
2018-06-09 22:28:20 +02:00
|
|
|
#include "configmanager.h"
|
2018-07-14 19:12:20 +02:00
|
|
|
#include "senddata.h"
|
2018-06-09 22:28:20 +02:00
|
|
|
|
2018-07-15 14:28:05 +02:00
|
|
|
#include <esp_spi_flash.h> // needed for reading ESP32 chip attributes
|
2018-07-17 11:53:43 +02:00
|
|
|
#include <esp_event_loop.h> // needed for Wifi event handler
|
2018-06-16 19:50:36 +02:00
|
|
|
|
2018-04-26 18:07:48 +02:00
|
|
|
void reset_counters(void);
|
|
|
|
void blink_LED(uint16_t set_color, uint16_t set_blinkduration);
|
2018-07-15 23:40:42 +02:00
|
|
|
void led_loop(void);
|
2018-07-17 11:53:43 +02:00
|
|
|
uint64_t uptime();
|
|
|
|
|
|
|
|
#endif
|