Function esp_idf_sys::esp_wifi_set_tx_done_cb

source ยท
pub unsafe extern "C" fn esp_wifi_set_tx_done_cb(
    cb: wifi_tx_done_cb_t,
) -> esp_err_t
Expand description

@brief Register the txDone callback function of type wifi_tx_done_cb_t

@param cb The callback function

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
  • ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start