1menu "Example Configuration" 2 3 choice 4 bool "Device type" 5 default MESH_SET_ROOT 6 help 7 Device type (root or node). 8 9 config MESH_SET_ROOT 10 bool "MESH_SET_ROOT" 11 config MESH_SET_NODE 12 bool "MESH_SET_NODE" 13 endchoice 14 15 config MESH_CHANNEL 16 int "channel" 17 range 1 14 18 default 1 19 help 20 mesh network channel. 21 22 config MESH_ROUTER_SSID 23 string "Router SSID" 24 default "ROUTER_SSID" 25 help 26 Router SSID. 27 28 config MESH_ROUTER_PASSWD 29 string "Router password" 30 default "ROUTER_PASSWD" 31 help 32 Router password. 33 34 choice 35 bool "Mesh AP Authentication Mode" 36 default WIFI_AUTH_WPA2_PSK 37 help 38 Authentication mode. 39 40 config WIFI_AUTH_OPEN 41 bool "WIFI_AUTH_OPEN" 42 config WIFI_AUTH_WPA_PSK 43 bool "WIFI_AUTH_WPA_PSK" 44 config WIFI_AUTH_WPA2_PSK 45 bool "WIFI_AUTH_WPA2_PSK" 46 config WIFI_AUTH_WPA_WPA2_PSK 47 bool "WIFI_AUTH_WPA_WPA2_PSK" 48 endchoice 49 50 config MESH_AP_AUTHMODE 51 int 52 default 0 if WIFI_AUTH_OPEN 53 default 2 if WIFI_AUTH_WPA_PSK 54 default 3 if WIFI_AUTH_WPA2_PSK 55 default 4 if WIFI_AUTH_WPA_WPA2_PSK 56 help 57 Mesh AP authentication mode. 58 59 config MESH_AP_PASSWD 60 string "Mesh AP Password" 61 default "MAP_PASSWD" 62 help 63 Mesh AP password. 64 65 config MESH_AP_CONNECTIONS 66 int "Mesh AP Connections" 67 range 1 10 68 default 6 69 help 70 The number of stations allowed to connect in. 71 72 config MESH_MAX_LAYER 73 int "Mesh Max Layer" 74 range 1 25 75 default 6 76 help 77 Max layer allowed in mesh network. 78 79 config MESH_IE_CRYPTO_KEY 80 string "Mesh IE Crypto Key" 81 default "hello, esp-mesh." 82 help 83 Mesh IE ASCII crypto key, length in bytes, range:8~64. 84 85 choice 86 bool "Mesh IE Crypto Funcs" 87 default IE_CRYPTO_ENABLE 88 help 89 Mesh IE crypto funcs. 90 91 config IE_CRYPTO_ENABLE 92 bool "IE_CRYPTO_ENABLE" 93 config IE_CRYPTO_DISABLE 94 bool "IE_CRYPTO_DISABLE" 95 endchoice 96 97 config MESH_IE_CRYPTO_FUNCS 98 int 99 default 1 if IE_CRYPTO_ENABLE 100 default 0 if IE_CRYPTO_DISABLE 101 help 102 Mesh IE crypto enable/disable. 103 104endmenu 105