Function esp_idf_hal::sys::esp_transport_set_parent_transport_func
source ยท pub unsafe extern "C" fn esp_transport_set_parent_transport_func(
t: *mut esp_transport_item_t,
_parent_transport: Option<unsafe extern "C" fn(_: *mut esp_transport_item_t) -> *mut esp_transport_item_t>,
) -> i32
Expand description
@brief Set parent transport function to the handle
@param[in] t The transport handle @param[in] _parent_transport The underlying transport getter pointer
@return - ESP_OK - ESP_FAIL