Function esp_idf_svc::sys::esp_wifi_sta_wpa2_ent_set_ca_cert
source ยท pub unsafe extern "C" fn esp_wifi_sta_wpa2_ent_set_ca_cert(
ca_cert: *const u8,
ca_cert_len: i32,
) -> i32
Expand description
@brief Set CA certificate for PEAP/TTLS method.
@deprecated This function is deprecated and will be removed in the future.
Please use esp_eap_client_set_ca_cert
instead.
@attention 1. The API only passes the parameter ca_cert to the global pointer variable in wpa2 enterprise module. @attention 2. The ca_cert should be zero terminated.
@param ca_cert: point to address where stores the CA certificate; @param ca_cert_len: length of ca_cert
@return
- ESP_OK: succeed