Function esp_idf_sys::esp_wifi_sta_wpa2_ent_set_password

source ยท
pub unsafe extern "C" fn esp_wifi_sta_wpa2_ent_set_password(
    password: *const c_uchar,
    len: c_int,
) -> esp_err_t
Expand description

@brief Set password for PEAP/TTLS method..

@deprecated This function is deprecated and will be removed in the future. Please use esp_eap_client_set_password instead.

@param password: point to address where stores the password; @param len: length of password(len > 0)

@return

  • ESP_OK: succeed
  • ESP_ERR_INVALID_ARG: fail(len <= 0)
  • ESP_ERR_NO_MEM: fail(internal memory malloc fail)