forked from tonyp7/esp32-wifi-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
107 lines (88 loc) · 3.63 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
menu "Wifi Manager Configuration"
config WIFI_MANAGER_TASK_PRIORITY
int "RTOS Task Priority for the wifi_manager"
default 5
help
Tasks spawn by the manager will have a priority of WIFI_MANAGER_TASK_PRIORITY-1. For this particular reason, minimum recommended task priority is 2.
config WIFI_MANAGER_RETRY_TIMER
int "Time (in ms) between each retry attempt"
default 5000
help
Defines the time to wait before an attempt to re-connect to a saved wifi is made after connection is lost or another unsuccesful attempt is made.
config WIFI_MANAGER_AUTOSTART_AP
bool "Automatically start the AP if the WiFi manager fails to connect to another AP"
default y
config WIFI_MANAGER_MAX_RETRY_START_AP
int "Max Retry before starting the AP" if WIFI_MANAGER_AUTOSTART_AP
default 3
help
Defines the maximum number of failed retries allowed before the WiFi manager starts its own access point.
config WIFI_MANAGER_SHUTDOWN_AP_TIMER
int "Time (in ms) to wait before shutting down the AP"
default 60000
help
Defines the time (in ms) to wait after a succesful connection before shutting down the access point. Use a negative number to never shut down the access point.
config WEBAPP_LOCATION
string "Defines the URL where the wifi manager is located"
default "/"
help
This parameter helps you relocate the wifimanager to another URL, for instance /wifimanager/ The trailing slash is important and should be included
config DEFAULT_AP_SSID
string "Access Point SSID"
default "esp32"
help
SSID (network name) the the esp32 will broadcast.
config WIFI_MANAGER_APPEND_MAC
bool "Append MAC address to access point SSID"
default n
help
The last two octets of the device's MAC address will be appended (with a preceding space) to the configured access point SSID. For example, "esp32" -> "esp32 ad7e". This helps make the SSID unique if you might have multiple devices on at once.
config USE_RANDOM_AP_PASSWORD
bool "Use a randomly-generated Access Point password"
default y
config DEFAULT_AP_PASSWORD
string "Access Point Password" if !USE_RANDOM_AP_PASSWORD
default "esp32pwd"
help
Password used for the Access Point. Leave empty and set AUTH MODE to WIFI_AUTH_OPEN for no password.
config DEFAULT_AP_CHANNEL
int "Access Point WiFi Channel"
default 1
help
Be careful you might not see the access point if you use a channel not allowed in your country.
config DEFAULT_AP_IP
string "Access Point IP Address"
default "10.10.0.1"
help
This is used for the redirection to the captive portal. It is recommended to leave unchanged.
config DEFAULT_AP_GATEWAY
string "Access Point IP Gateway"
default "10.10.0.1"
help
This is used for the redirection to the captive portal. It is recommended to leave unchanged.
config DEFAULT_AP_NETMASK
string "Access Point Netmask"
default "255.255.255.0"
help
This is used for the redirection to the captive portal. It is recommended to leave unchanged.
config DEFAULT_AP_MAX_CONNECTIONS
int "Access Point Max Connections"
default 4
help
Max is 4.
config DEFAULT_AP_BEACON_INTERVAL
int "Access Point Beacon Interval (ms)"
default 100
help
100ms is the recommended default.
config HARDCODED_SSID
string "Hardcoded SSID"
default "HardcodedSSID"
help
For factory configuration, the device will attempt to connect an an AP with this SSID if there are no user configured APs.
config HARDCODED_PASSWORD
string "Hardcoded password"
default "HardcodedPassword"
help
For factory configuration, the device will attempt to connect an an AP with this password if there are no user configured APs.
endmenu