Type Alias esp_idf_svc::hal::sys::esp_gattc_cb_t
source · pub type esp_gattc_cb_t = Option<unsafe extern "C" fn(_: u32, _: u8, _: *mut esp_ble_gattc_cb_param_t)>;
Expand description
@brief GATT Client callback function type @param event : Event type @param gattc_if : GATT client access interface, normally different gattc_if correspond to different profile @param param : Point to callback parameter, currently is union type
Aliased Type§
enum esp_gattc_cb_t {
None,
Some(unsafe extern "C" fn(_: u32, _: u8, _: *mut esp_ble_gattc_cb_param_t)),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: u32, _: u8, _: *mut esp_ble_gattc_cb_param_t))
Some value of type T
.