2018-07-30 12:10:10 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_USE_SEC_1
|
2019-01-25 11:10:53 -05:00
|
|
|
bool
|
|
|
|
default y
|
|
|
|
prompt "Use Security Version 1"
|
|
|
|
help
|
|
|
|
Security version 1 used Curve25519 key exchange for establishing
|
|
|
|
secure session between device and client during provisioning
|
2018-07-30 12:10:10 -04:00
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_USE_POP
|
2019-01-25 11:10:53 -05:00
|
|
|
bool
|
2019-05-09 10:43:06 -04:00
|
|
|
depends on EXAMPLE_USE_SEC_1
|
2019-01-25 11:10:53 -05:00
|
|
|
default y
|
|
|
|
prompt "Use proof-of-possession"
|
|
|
|
help
|
|
|
|
Proof-of-possession can be optionally used to prove that the device is indeed
|
|
|
|
in possession of the user who is provisioning the device. This proof-of-possession
|
|
|
|
is internally used to generate the shared secret through key exchange.
|
2018-07-30 12:10:10 -04:00
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_POP
|
2019-01-25 11:10:53 -05:00
|
|
|
string "Proof-of-possession"
|
|
|
|
default "abcd1234"
|
2019-05-09 10:43:06 -04:00
|
|
|
depends on EXAMPLE_USE_POP
|
2018-07-30 12:10:10 -04:00
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_RESET_PROVISIONED
|
2019-01-25 11:10:53 -05:00
|
|
|
bool
|
|
|
|
default n
|
|
|
|
prompt "Reset provisioned status of the device"
|
|
|
|
help
|
|
|
|
This erases the NVS to reset provisioned status of the device on every reboot.
|
2018-12-25 12:38:50 -05:00
|
|
|
Provisioned status is determined by the Wi-Fi STA configuration, saved on the NVS.
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_AP_RECONN_ATTEMPTS
|
2018-12-25 12:38:50 -05:00
|
|
|
int "Maximum AP connection attempts"
|
|
|
|
default 5
|
|
|
|
help
|
|
|
|
Set the maximum connection attempts to perform when connecting to a Wi-Fi AP.
|
2018-07-30 12:10:10 -04:00
|
|
|
|
2021-02-18 05:45:21 -05:00
|
|
|
config EXAMPLE_PROV_SHOW_QR
|
|
|
|
bool "Show provisioning QR code"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Show the QR code for provisioning.
|
2021-06-23 08:03:23 -04:00
|
|
|
|
|
|
|
config EXAMPLE_PROV_USING_BLUEDROID
|
|
|
|
bool
|
|
|
|
depends on (BT_BLUEDROID_ENABLED && (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3))
|
|
|
|
select BT_BLE_42_FEATURES_SUPPORTED
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables BLE 4.2 features for Bluedroid.
|
2018-07-30 12:10:10 -04:00
|
|
|
endmenu
|