Function esp_idf_svc::sys::esp_wifi_set_vendor_ie_cb
source ยท pub unsafe extern "C" fn esp_wifi_set_vendor_ie_cb(
cb: Option<unsafe extern "C" fn(_: *mut c_void, _: u32, _: *const u8, _: *const vendor_ie_data_t, _: i32)>,
ctx: *mut c_void,
) -> i32
Expand description
@brief Register Vendor-Specific Information Element monitoring callback.
@param cb Callback function @param ctx Context argument, passed to callback function.
@return
- ESP_OK: succeed
- ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init