#ifndef __NVS_STORAGE_H #define __NVS_STORAGE_H typedef enum { NVS_STORAGE_UINT8, NVS_STORAGE_UINT16, NVS_STORAGE_UINT32, NVS_STORAGE_UINT64 } nvs_storage_type_t; void nvs_storage_init(void); int nvs_storage_read(const char *key, void *value, nvs_storage_type_t type); int nvs_storage_write(const char *key, const void *value, nvs_storage_type_t type); #endif