Type Alias esp_idf_sys::wifi_rxcb_t

source ·
pub type wifi_rxcb_t = Option<unsafe extern "C" fn(buffer: *mut c_void, len: u16, eb: *mut c_void) -> esp_err_t>;
Expand description

@brief The WiFi RX callback function

       Each time the WiFi need to forward the packets to high layer, the callback function will be called

Aliased Type§

enum wifi_rxcb_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u16, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u16, _: *mut c_void) -> i32)

Some value of type T.