Type Alias esp_idf_svc::hal::sys::esp_gap_ble_cb_t
source · pub type esp_gap_ble_cb_t = Option<unsafe extern "C" fn(_: u32, _: *mut esp_ble_gap_cb_param_t)>;
Expand description
@brief GAP callback function type @param event : Event type @param param : Point to callback parameter, currently is union type
Aliased Type§
enum esp_gap_ble_cb_t {
None,
Some(unsafe extern "C" fn(_: u32, _: *mut esp_ble_gap_cb_param_t)),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: u32, _: *mut esp_ble_gap_cb_param_t))
Some value of type T
.