espressif/brookesia_service_nvs

0.7.1

Latest
uploaded 23 hours ago
ESP-Brookesia NVS (Non-Volatile Storage) service which provides namespace-based key-value storage management.

changelog

# ChangeLog

## v0.7.1 - 2025-12-10

## Enhancements

- feat(test_apps): add test cases for service helper NVS functions
- feat(nvs): auto use custom task scheduler if Service Manager uses external stack
- feat(docs): update README

### Bug Fixes

- fix(nvs): use `KeyValueMap` instead of `KeyValuePair`
- fix(nvs): use object instead of array for `set` function parameter

## v0.7.0 - 2025-12-07

### Initial Release

- feat(repo): Add NVS (Non-Volatile Storage) service for ESP-Brookesia ecosystem
- feat(namespace): Support namespace-based key-value pair storage with multiple independent storage spaces
- feat(data_types): Support three basic data types (Boolean, Integer, String)
- feat(persistent_storage): Store data in NVS partition with persistence after power loss
- feat(functions): Implement list function to list all key-value pairs in a namespace with metadata
- feat(functions): Implement set function to batch set multiple key-value pairs
- feat(functions): Implement get function to retrieve values of specified keys or all keys in a namespace
- feat(functions): Implement erase function to delete specified keys or clear entire namespace
- feat(nvs_init): Automatic NVS flash initialization with partition erase and version handling
- feat(thread_safety): Optional asynchronous task scheduling based on `TaskScheduler` for thread safety
- feat(default_namespace): Support default namespace "storage" when namespace is not specified

Links

Supports all targets

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/brookesia_service_nvs^0.7.1"

download archive

Stats

  • Archive size
    Archive size ~ 27.12 KB
  • Downloaded in total
    Downloaded in total 2 times
  • Downloaded this version
    This version: 0 times

Badge

espressif/brookesia_service_nvs version: 0.7.1
|