summaryrefslogtreecommitdiff
path: root/software/include/sntp.h
blob: 02263c1e830de5a3df3664ebe15dd2cb77a264f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);