Function esp_idf_svc::hal::sys::esp_ble_gap_register_callback
source ยท pub unsafe extern "C" fn esp_ble_gap_register_callback(
callback: Option<unsafe extern "C" fn(_: u32, _: *mut esp_ble_gap_cb_param_t)>,
) -> i32
Expand description
@brief This function is called to occur gap event, such as scan result
@param[in] callback: callback function
@return - ESP_OK : success - other : failed