[][src]Type Definition esp_idf_bindgen::wifi_promiscuous_cb_t

type wifi_promiscuous_cb_t = Option<unsafe extern "C" fn(buf: *mut c_void, type_: wifi_promiscuous_pkt_type_t)>;

@brief The RX callback function in the promiscuous mode. Each time a packet is received, the callback function will be called.

@param buf Data received. Type of data in buffer (wifi_promiscuous_pkt_t or wifi_pkt_rx_ctrl_t) indicated by 'type' parameter. @param type promiscuous packet type.