Function esp_idf_sys::esp_wifi_register_if_rxcb

source ยท
pub unsafe extern "C" fn esp_wifi_register_if_rxcb(
    ifx: wifi_netif_driver_t,
    fn_: esp_netif_receive_t,
    arg: *mut c_void,
) -> esp_err_t
Expand description

@brief Register interface receive callback function with argument

@param[in] ifx pointer to wifi interface handle @param[in] fn function to be registered (typically esp_netif_receive) @param[in] arg argument to be supplied to registered function (typically esp_netif ptr)

@return ESP_OK on success