Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

- ESP_OK if storage handle was opened successfully - ESP_FAIL if there is an internal error; most likely due to corrupted NVS partition (only if NVS assertion checks are disabled) - ESP_ERR_NVS_NOT_INITIALIZED if the storage driver is not initialized - ESP_ERR_NVS_PART_NOT_FOUND if the partition with label "nvs" is not found - ESP_ERR_NVS_NOT_FOUND id namespace doesn't exist yet and mode is NVS_READONLY - ESP_ERR_NVS_INVALID_NAME if namespace name doesn't satisfy constraints - ESP_ERR_NO_MEM in case memory could not be allocated for the internal structures - ESP_ERR_NVS_NOT_ENOUGH_SPACE if there is no space for a new entry or there are too many different namespaces (maximum allowed different namespaces: 254) - ESP_ERR_NOT_ALLOWED if the NVS partition is read-only and mode is NVS_READWRITE - ESP_ERR_INVALID_ARG if out_handle is equal to NULL - other error codes from the underlying storage driver

References

from examples