Type Alias esp_idf_svc::hal::sys::wifi_tx_done_cb_t

source ·
pub type wifi_tx_done_cb_t = Option<unsafe extern "C" fn(_: u8, _: *mut u8, _: *mut u16, _: bool)>;
Expand description

@brief TxDone callback function type. Should be registered using esp_wifi_set_tx_done_cb()

@param ifidx The interface id that the tx callback has been triggered from @param data Pointer to the data transmitted @param data_len Length of the data transmitted @param txStatus True:if the data was transmitted successfully False: if data transmission failed

Aliased Type§

enum wifi_tx_done_cb_t {
    None,
    Some(unsafe extern "C" fn(_: u8, _: *mut u8, _: *mut u16, _: bool)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u8, _: *mut u8, _: *mut u16, _: bool))

Some value of type T.