mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6040bba236
By default, disabled the BLE Encrpyption requirement for provisioning characteristic. With this flag enabled, when remote attempts to read and if the ACL link is not encrypted, ESP device will return Insufficient Authentication. It is remote device responsibility to go for link encryption which may result in pairing. Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs to remove bonding on remote phone manually and then try again. This is causing bad user experience. End user can enable it as per their use case.
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
menu "Wi-Fi Provisioning Manager"
|
|
|
|
config WIFI_PROV_SCAN_MAX_ENTRIES
|
|
int "Max Wi-Fi Scan Result Entries"
|
|
default 16
|
|
range 1 255
|
|
help
|
|
This sets the maximum number of entries of Wi-Fi scan results that will be kept by the provisioning manager
|
|
|
|
config WIFI_PROV_AUTOSTOP_TIMEOUT
|
|
int "Provisioning auto-stop timeout"
|
|
default 30
|
|
range 5 600
|
|
help
|
|
Time (in seconds) after which the Wi-Fi provisioning manager will auto-stop after connecting to
|
|
a Wi-Fi network successfully.
|
|
|
|
config WIFI_PROV_BLE_BONDING
|
|
bool
|
|
prompt "Enable BLE bonding"
|
|
depends on BT_ENABLED
|
|
help
|
|
This option is applicable only when provisioning transport is BLE.
|
|
|
|
config WIFI_PROV_BLE_SEC_CONN
|
|
bool
|
|
prompt "Enable BLE Secure connection flag"
|
|
depends on BT_NIMBLE_ENABLED
|
|
default y
|
|
help
|
|
Used to enable Secure connection support when provisioning transport is BLE.
|
|
|
|
config WIFI_PROV_BLE_FORCE_ENCRYPTION
|
|
bool
|
|
prompt "Force Link Encryption during characteristic Read / Write"
|
|
depends on BT_NIMBLE_ENABLED
|
|
help
|
|
Used to enforce link encryption when attempting to read / write characteristic
|
|
|
|
endmenu
|