mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
NVS is used to store PHY calibration data, WiFi configuration, and BT configuration. Previously BT examples did not call nvs_flash_init, relying on the fact that it is called during PHY init. However PHY init did not handle possible NVS initialization errors. This change moves PHY init procedure into the application, and adds diagnostic messages to BT config management routines if NVS is not initialized.
Bluetooth Examples
Note: To use examples in this directory, you need to have Bluetooth enabled in configuration. Run make menuconfig
, go to Component config
and verify if you see [*] Bluetooth
. If not - enable it and save.
See the README.md file in the upper level examples directory for more information about examples.