mirror of
https://github.com/Lurkars/esp-ena.git
synced 2026-05-08 20:10:37 +02:00
option to reset last check via config, TEK storage functions
This commit is contained in:
@@ -113,6 +113,14 @@ uint32_t ena_storage_read_last_exposure_date(void);
|
||||
*/
|
||||
void ena_storage_write_last_exposure_date(uint32_t timestamp);
|
||||
|
||||
/**
|
||||
* @brief get number of stored TEKs
|
||||
*
|
||||
* @return
|
||||
* total number of TEKs stored
|
||||
*/
|
||||
uint32_t ena_storage_tek_count(void);
|
||||
|
||||
/**
|
||||
* @brief get last stored TEK
|
||||
*
|
||||
@@ -123,6 +131,15 @@ void ena_storage_write_last_exposure_date(uint32_t timestamp);
|
||||
*/
|
||||
uint32_t ena_storage_read_last_tek(ena_tek_t *tek);
|
||||
|
||||
/**
|
||||
* @brief get stored TEK at given index
|
||||
*
|
||||
* @param[in] index the index of the TEK to read
|
||||
* @param[out] tek pointer to write TEK to
|
||||
*
|
||||
*/
|
||||
void ena_storage_get_tek(uint32_t index, ena_tek_t *tek);
|
||||
|
||||
/**
|
||||
* @brief store given TEK
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user