Function esp_idf_svc::sys::protocomm_unset_security

source ·
pub unsafe extern "C" fn protocomm_unset_security(
    pc: *mut protocomm,
    ep_name: *const i8,
) -> i32
Expand description

@brief Remove endpoint security for a protocomm instance

This API will remove a registered security endpoint identified by an endpoint name.

@param[in] pc Pointer to the protocomm instance @param[in] ep_name Endpoint identifier(name) string

@return

  • ESP_OK : Success
  • ESP_ERR_NOT_FOUND : Endpoint with specified name doesn’t exist
  • ESP_ERR_INVALID_ARG : Null instance/name arguments