Skip to content

WPA2 Enterprise, EAP-TTLS support #5483

Closed
@hgshoggins

Description

@hgshoggins

Trying to have EAP-TTLS support on a NodeMCU-ESP32 for WiFi 802.1X authentication.
The board tries to authenticate itself with MSCHAPv2 method, but I need it to use TTLS for phase 2.

It is suggested here (espressif/esp-idf#7011 (comment)) to use esp_wifi_sta_wpa2_ent_set_ttls_phase2_method(ESP_EAP_TTLS_PHASE2_PAP); but all I get is a dreaded error message when compiling:

'ESP_EAP_TTLS_PHASE2_PAP' was not declared in this scope

Is there any documentation where I can find details on arguments that need to be passed to the esp_wifi_sta_wpa2_ent_set_ttls_phase2_method() method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions