File tree 2 files changed +6
-6
lines changed
HTTPClient/examples/HTTPClientEnterprise
WiFiClientSecure/examples/WiFiClientSecureEnterprise
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ void setup() {
47
47
WiFi.disconnect (true ); // disconnect form wifi to set new wifi connection
48
48
WiFi.mode (WIFI_STA); // init wifi mode
49
49
#if __has_include ("esp_eap_client.h")
50
- esp_eap_clien_set_identity ((uint8_t *)EAP_IDENTITY, strlen (EAP_IDENTITY)); // provide identity
51
- esp_eap_clien_set_username ((uint8_t *)EAP_IDENTITY, strlen (EAP_IDENTITY)); // provide username
52
- esp_eap_clien_set_password ((uint8_t *)EAP_PASSWORD, strlen (EAP_PASSWORD)); // provide password
50
+ esp_eap_client_set_identity ((uint8_t *)EAP_IDENTITY, strlen (EAP_IDENTITY)); // provide identity
51
+ esp_eap_client_set_username ((uint8_t *)EAP_IDENTITY, strlen (EAP_IDENTITY)); // provide username
52
+ esp_eap_client_set_password ((uint8_t *)EAP_PASSWORD, strlen (EAP_PASSWORD)); // provide password
53
53
esp_wifi_sta_enterprise_enable ();
54
54
#else
55
55
esp_wifi_sta_wpa2_ent_set_identity ((uint8_t *)EAP_IDENTITY, strlen (EAP_IDENTITY)); // provide identity
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ void setup() {
69
69
WiFi.disconnect (true ); // disconnect form wifi to set new wifi connection
70
70
WiFi.mode (WIFI_STA); // init wifi mode
71
71
#if __has_include ("esp_eap_client.h")
72
- esp_eap_clien_set_identity ((uint8_t *)EAP_ANONYMOUS_IDENTITY, strlen (EAP_ANONYMOUS_IDENTITY)); // provide identity
73
- esp_eap_clien_set_username ((uint8_t *)EAP_IDENTITY, strlen (EAP_IDENTITY)); // provide username
74
- esp_eap_clien_set_password ((uint8_t *)EAP_PASSWORD, strlen (EAP_PASSWORD)); // provide password
72
+ esp_eap_client_set_identity ((uint8_t *)EAP_ANONYMOUS_IDENTITY, strlen (EAP_ANONYMOUS_IDENTITY)); // provide identity
73
+ esp_eap_client_set_username ((uint8_t *)EAP_IDENTITY, strlen (EAP_IDENTITY)); // provide username
74
+ esp_eap_client_set_password ((uint8_t *)EAP_PASSWORD, strlen (EAP_PASSWORD)); // provide password
75
75
esp_wifi_sta_enterprise_enable ();
76
76
#else
77
77
esp_wifi_sta_wpa2_ent_set_identity ((uint8_t *)EAP_ANONYMOUS_IDENTITY, strlen (EAP_ANONYMOUS_IDENTITY)); // provide identity
You can’t perform that action at this time.
0 commit comments