1menu "Example Configuration" 2 3 choice 4 prompt "Enterprise configuration to be used" 5 default EXAMPLE_WPA_WPA2_ENTERPRISE 6 config EXAMPLE_WPA_WPA2_ENTERPRISE 7 bool "WPA_WPA2_ENT" 8 config EXAMPLE_WPA3_ENTERPRISE 9 bool "WPA3_ENT" 10 config EXAMPLE_WPA3_192BIT_ENTERPRISE 11 bool "WPA3_192BIT_ENT" 12 depends on IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 13 endchoice 14 15 config EXAMPLE_WIFI_SSID 16 string "WiFi SSID" 17 default "wpa2_test" 18 help 19 SSID (network name) for the example to connect to. 20 21 if EXAMPLE_WPA_WPA2_ENTERPRISE 22 config EXAMPLE_VALIDATE_SERVER_CERT 23 bool "Validate server" 24 default y 25 help 26 Validate the servers' certificate using CA cert. 27 endif 28 29 if !EXAMPLE_WPA_WPA2_ENTERPRISE 30 config EXAMPLE_VALIDATE_SERVER_CERT 31 default y 32 endif 33 34 choice 35 prompt "EAP method for the example to use" 36 default EXAMPLE_EAP_METHOD_PEAP 37 config EXAMPLE_EAP_METHOD_TLS 38 bool "TLS" 39 config EXAMPLE_EAP_METHOD_PEAP 40 bool "PEAP" 41 config EXAMPLE_EAP_METHOD_TTLS 42 bool "TTLS" 43 endchoice 44 45 config EXAMPLE_EAP_METHOD 46 int 47 default 0 if EXAMPLE_EAP_METHOD_TLS 48 default 1 if EXAMPLE_EAP_METHOD_PEAP 49 default 2 if EXAMPLE_EAP_METHOD_TTLS 50 51 choice 52 prompt "Phase2 method for TTLS" 53 depends on EXAMPLE_EAP_METHOD_TTLS 54 default EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAPV2 55 config EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAPV2 56 bool "MSCHAPV2" 57 config EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAP 58 bool "MSCHAP" 59 config EXAMPLE_EAP_METHOD_TTLS_PHASE2_PAP 60 bool "PAP" 61 config EXAMPLE_EAP_METHOD_TTLS_PHASE2_CHAP 62 bool "CHAP" 63 endchoice 64 65 config EXAMPLE_EAP_METHOD_TTLS_PHASE_2 66 int 67 default 1 if EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAPV2 68 default 2 if EXAMPLE_EAP_METHOD_TTLS_PHASE2_MSCHAP 69 default 3 if EXAMPLE_EAP_METHOD_TTLS_PHASE2_PAP 70 default 4 if EXAMPLE_EAP_METHOD_TTLS_PHASE2_CHAP 71 72 config EXAMPLE_EAP_ID 73 string "EAP ID" 74 default "example@espressif.com" 75 help 76 Identity in phase 1 of EAP procedure. 77 78 config EXAMPLE_EAP_USERNAME 79 string "EAP USERNAME" 80 depends on EXAMPLE_EAP_METHOD_PEAP || EXAMPLE_EAP_METHOD_TTLS 81 default "espressif" 82 help 83 Username for EAP method (PEAP and TTLS). 84 85 config EXAMPLE_EAP_PASSWORD 86 string "EAP PASSWORD" 87 depends on EXAMPLE_EAP_METHOD_PEAP || EXAMPLE_EAP_METHOD_TTLS 88 default "test11" 89 help 90 Password for EAP method (PEAP and TTLS). 91 92endmenu 93