ESP32-IDF 非易失性存储 NVS (二) 相关工具
NVS迭代器
相当于终端的 ls
命令,可以遍历 NVS 所有的 key 和 value
1 | // Example of listing all the key-value pairs of any type under specified partition and namespace |
获取NVS当前状态
1 | // Example of nvs_get_stats() to get the number of used entries and free entries: |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Xiao's Tech Blog!