mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
97f4130ad2
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.
49 lines
1.5 KiB
Plaintext
49 lines
1.5 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"
|
|
help
|
|
Used to enforce link encryption when attempting to read / write characteristic
|
|
|
|
config WIFI_PROV_KEEP_BLE_ON_AFTER_PROV
|
|
bool "Keep BT on after provisioning is done"
|
|
depends on BT_ENABLED
|
|
|
|
config WIFI_PROV_DISCONNECT_AFTER_PROV
|
|
bool "Terminate connection after provisioning is done"
|
|
depends on WIFI_PROV_KEEP_BLE_ON_AFTER_PROV
|
|
default y
|
|
|
|
endmenu
|