feature: Checking Certificate Expiry

This commit is contained in:
Harshit Malpani
2021-09-24 13:27:06 +05:30
parent a7347cdf1a
commit cfa896ec54
5 changed files with 179 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
/*
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Update the system time from time stored in NVS.
*
*/
esp_err_t update_time_from_nvs(void);
/**
* @brief Fetch the current time from SNTP and stores it in NVS.
*
*/
void fetch_and_store_time_in_nvs(void*);
#ifdef __cplusplus
}
#endif