From 8ad4039cc4134bb4af41abdf34d5e76fa403ad0c Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Wed, 8 Jun 2022 14:00:11 +0530 Subject: [PATCH] docs: Added a subsection for FAQ regarding paring pop up during provisioning --- examples/provisioning/wifi_prov_mgr/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/provisioning/wifi_prov_mgr/README.md b/examples/provisioning/wifi_prov_mgr/README.md index 748ba5014b..64c5e70749 100644 --- a/examples/provisioning/wifi_prov_mgr/README.md +++ b/examples/provisioning/wifi_prov_mgr/README.md @@ -263,6 +263,17 @@ Now erase NVS partition by running the following commands : $IDF_PATH/components/esptool_py/esptool/esptool.py erase_region 0x9000 0x6000 ``` +### Bluetooth Pairing Request during provisioning + +ESP-IDF now enforces link encryption requirement while performing GATT write on characteristics of provisioning service. This results in a pairing pop-up dialog, if link is not encrypted. This feature is enabled by default. In order to disable this feature and fallback to earlier behaviour of no pairing pop up during provisioning, please set CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION=n in the sdkconfig or unselect the configuration using "idf.py menuconfig" . + +``` +Component Config --> Wi-Fi Provisioning Manager --> Force Link Encryption during Characteristic Read/Write + +``` +Recompiling the application with above changes should suffice to disable this functionality. + + ### Unsupported platform If the platform requirement, for running `esp_prov` is not satisfied, then the script execution will fallback to console mode, in which case the full process (involving user inputs) will look like this :