'ESP32: When to use nvs_flash_init?

When I use esp-idf. All the examples that use the WiFi library call the nvs_flash_init function. Why? Is this necessary because the WiFi library uses encrypted data?

Thanks for your help!



Solution 1:[1]

The Wifi library uses NVS flash to store access point name and password

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Guido Schreuder