pub unsafe extern "C" fn esp_wifi_sta_wpa2_use_default_cert_bundle(
    use_default_bundle: bool,
) -> i32
Expand description

@brief Use default CA cert bundle for server validation

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

@use_default_bundle : whether to use bundle or not

@return

  • ESP_OK: succeed
  • ESP_FAIL: fail