Function esp_idf_svc::hal::sys::esp_netif_get_event_id

source ยท
pub unsafe extern "C" fn esp_netif_get_event_id(
    esp_netif: *mut esp_netif_obj,
    event_type: u32,
) -> i32
Expand description

@brief Returns configured event for this esp-netif instance and supplied event type

@param[in] esp_netif Handle to esp-netif instance

@param event_type (either get or lost IP)

@return specific event id which is configured to be raised if the interface lost or acquired IP address -1 if supplied event_type is not known