Type Alias esp_idf_hal::sys::wifi_csi_cb_t

source ·
pub type wifi_csi_cb_t = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut wifi_csi_info_t)>;
Expand description

@brief The RX callback function of Channel State Information(CSI) data.

   Each time a CSI data is received, the callback function will be called.

@param ctx context argument, passed to esp_wifi_set_csi_rx_cb() when registering callback function. @param data CSI data received. The memory that it points to will be deallocated after callback function returns.

Aliased Type§

enum wifi_csi_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut wifi_csi_info_t)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut wifi_csi_info_t))

Some value of type T.