mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
979fce0df5
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. |
||
---|---|---|
.. | ||
main | ||
Makefile | ||
README.rst | ||
sdkconfig.defaults |
ESP-IDF GATT SECURITY SERVICE demo ======================== This is the demo for user to use ESP BLE security API to connection with peer device & communication. 1.Should used the esp_ble_gap_set_security_param API to set the security parameter to the BLE stack in the init stage; 2.Used the esp_ble_set_encryption API to start encryption with peer device, if the peer device take the initiative encryption, should used the esp_ble_gap_security_rsp API to sent response to peer device when receive the ESP_GAP_BLE_SEC_REQ_EVT. 3.It will receive the ESP_GAP_BLE_AUTH_CMPL_EVT event when encryption finish will peer device.