58 lines
1.8 KiB
Text
58 lines
1.8 KiB
Text
menu "Example Configuration"
|
|
|
|
config EXAMPLE_SSID
|
|
string "Wi-Fi SSID"
|
|
default "myssid"
|
|
help
|
|
SSID (network name) for the example to connect to.
|
|
|
|
config EXAMPLE_PASS
|
|
string "Wi-Fi Password"
|
|
default "mypassword"
|
|
help
|
|
Wi-Fi password (WPA or WPA2) for the example to use.
|
|
|
|
config EXAMPLE_USE_SEC_1
|
|
bool
|
|
default n
|
|
prompt "Use Security Version 1"
|
|
help
|
|
Security version 1 used Curve25519 key exchange for establishing
|
|
secure session between device and client during provisioning
|
|
|
|
config EXAMPLE_USE_POP
|
|
bool
|
|
depends on EXAMPLE_USE_SEC_1
|
|
default n
|
|
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.
|
|
|
|
config EXAMPLE_POP
|
|
string "Proof-of-possession"
|
|
default "abcd1234"
|
|
depends on EXAMPLE_USE_POP
|
|
|
|
config EXAMPLE_PROTOCOMM_HTTPD_PORT
|
|
int "Protocomm HTTP Port"
|
|
default 80
|
|
help
|
|
Port on which to run Protocomm HTTP based provisioning service
|
|
|
|
config EXAMPLE_RESET_PROVISIONED
|
|
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.
|
|
Provisioned status is determined by the Wi-Fi STA configuration, saved on the NVS.
|
|
|
|
config EXAMPLE_AP_RECONN_ATTEMPTS
|
|
int "Maximum AP connection attempts"
|
|
default 5
|
|
help
|
|
Set the maximum connection attempts to perform when connecting to a Wi-Fi AP.
|
|
|
|
endmenu
|