Function esp_idf_svc::hal::sys::esp_ble_gattc_register_callback
source ยท pub unsafe extern "C" fn esp_ble_gattc_register_callback(
callback: Option<unsafe extern "C" fn(_: u32, _: u8, _: *mut esp_ble_gattc_cb_param_t)>,
) -> i32
Expand description
@brief This function is called to register application callbacks with GATTC module.
@param[in] callback : pointer to the application callback function.
@return - ESP_OK: success - other: failed