pub type esp_now_send_cb_t = Option<unsafe extern "C" fn(mac_addr: *const u8, status: esp_now_send_status_t)>;
Expand description

@brief Callback function of sending ESPNOW data @param mac_addr peer MAC address @param status status of sending ESPNOW data (succeed or fail)

Aliased Type§

enum esp_now_send_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *const u8, _: u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const u8, _: u32))

Some value of type T.