pub type wifi_tx_done_cb_t = Option<unsafe extern "C" fn(ifidx: u8, data: *mut u8, data_len: *mut u16, txStatus: bool)>;
Expand description

@breif 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 sucessfully 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.