Skip to main content

Nvs Nodes

Use these nodes to interact the NVS (non-volatile storage) of the device.

Config Nodes

nvs config

Handles data to read and write in NVS.

Inputs

  • Namespace : Specify the namespace to be used in nvs

Proc Nodes

nvs open

Opens NVS handle with required namespace.

Inputs

  • Config : Select the nvs config

nvs close

Closes the NVS handle.

Inputs

  • Config : Select the nvs config

nvs write

Writes data with different datatype in NVS.

Inputs

  • Config : Select the nvs config
  • Key : Specify the key
  • Datatype : Select the datatype
  • Advanced Datatype : Select the advanced datatype
  • Value : Specify the value
  • Value : Specify the value
  • Value : Specify the value
  • String : Specify the value
  • Value : Specify the value
  • Blob Length : Specify the blob length

nvs read

Reads data of different datatype from Nvs.

Inputs

  • Config : Select the nvs config
  • Key : Specify the key
  • Datatype : Select the datatype
  • Advanced Datatype : Select the advanced datatype

Outputs

  • Signed integer : Value as signed integer
  • Unsigned integer : value as unsigned integer
  • Float : value as float
  • Text : value as text
  • Blob : value as blob

nvs find key

To lookup key-value pair with given key name.

Inputs

  • Config : Select the nvs config
  • Key : Specify the key to find in nvs

Outputs

  • Type : Datatype

nvs get statistics

It provides info about memory used by NVS.

Inputs

  • Part name : Specify the partition name

Outputs

  • Used entries : Used entries
  • Free entries : Free entries
  • Available entries : Available entries
  • Total entries : Total entries
  • Namespace count : Namespace count

nvs erase key

To erase key-value pair with given key name.

Inputs

  • Config : Select the nvs config
  • Key : Specify a key to erase

nvs erase all

To erase all key-value pair in a namespace.

Inputs

  • Config : Select the nvs config