summaryrefslogtreecommitdiff
path: root/software/include/sntp.h
diff options
context:
space:
mode:
Diffstat (limited to 'software/include/sntp.h')
-rw-r--r--software/include/sntp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/software/include/sntp.h b/software/include/sntp.h
new file mode 100644
index 0000000..02263c1
--- /dev/null
+++ b/software/include/sntp.h
@@ -0,0 +1,18 @@
+#include <string.h>
+#include <time.h>
+#include <sys/time.h>
+#include "freertos/FreeRTOS.h"
+#include "freertos/task.h"
+#include "freertos/event_groups.h"
+#include "esp_system.h"
+#include "esp_event.h"
+#include "esp_log.h"
+#include "esp_attr.h"
+#include "esp_sleep.h"
+#include "nvs_flash.h"
+#include "esp_sntp.h"
+
+static const char *SNTP_TAG = "SNTP";
+
+void obtain_time(void);
+void initialize_sntp(void); \ No newline at end of file