Function esp_idf_sys::esp_wifi_set_csi_rx_cb

source ยท
pub unsafe extern "C" fn esp_wifi_set_csi_rx_cb(
    cb: wifi_csi_cb_t,
    ctx: *mut c_void,
) -> esp_err_t
Expand description

@brief Register the RX callback function of CSI data.

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

@param cb callback @param ctx context argument, passed to callback function

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init