added https_client and menuconfig
This commit is contained in:
@ -124,22 +124,17 @@ menu "Mesh OTA Configuration"
|
||||
help
|
||||
Authentication mode.
|
||||
|
||||
config WIFI_AUTH_OPEN
|
||||
bool "WIFI_AUTH_OPEN"
|
||||
config WIFI_AUTH_WPA_PSK
|
||||
bool "WIFI_AUTH_WPA_PSK"
|
||||
config WIFI_AUTH_WPA2_PSK
|
||||
bool "WIFI_AUTH_WPA2_PSK"
|
||||
config WIFI_AUTH_WPA_WPA2_PSK
|
||||
bool "WIFI_AUTH_WPA_WPA2_PSK"
|
||||
config WIFI_AUTH_WPA2_ENTERPRISE
|
||||
bool "WIFI_AUTH_WPA2_ENTERPRISE"
|
||||
endchoice
|
||||
|
||||
config MESH_AP_AUTHMODE
|
||||
int
|
||||
default 0 if WIFI_AUTH_OPEN
|
||||
default 2 if WIFI_AUTH_WPA_PSK
|
||||
|
||||
default 3 if WIFI_AUTH_WPA2_PSK
|
||||
default 4 if WIFI_AUTH_WPA_WPA2_PSK
|
||||
default 5 if WIFI_AUTH_WPA2_ENTERPRISE
|
||||
help
|
||||
Mesh AP authentication mode.
|
||||
|
||||
@ -162,4 +157,29 @@ menu "Mesh OTA Configuration"
|
||||
default 50
|
||||
help
|
||||
The number of devices over the network(max: 300).
|
||||
|
||||
config OTA_HTTPS_SERVER_COMMON_NAME
|
||||
string "Common name OTA server"
|
||||
default "exmaple.com"
|
||||
help
|
||||
Fully Qualified Domain Name used in the certificate.
|
||||
|
||||
config OTA_HTTPS_SERVER_PORT
|
||||
string "Server port"
|
||||
default "443"
|
||||
help
|
||||
HTTPS webserver port
|
||||
|
||||
config OTA_HTTPS_URL
|
||||
string "URL to ota image"
|
||||
default "https://exmaple.com/theImage.bin"
|
||||
help
|
||||
Uniform Resource Locator to the image file
|
||||
|
||||
config OTA_HTTPS_AUTH
|
||||
string "HTTPS authentication"
|
||||
default "base64(user:password)"
|
||||
help
|
||||
HTTPS basic auth using base64 decoded "user:password"
|
||||
|
||||
endmenu
|
||||
|
Reference in New Issue
Block a user