Function esp_idf_sys::protocomm_unset_security

source ·
pub unsafe extern "C" fn protocomm_unset_security(
    pc: *mut protocomm_t,
    ep_name: *const c_char,
) -> esp_err_t
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