Function esp_idf_hal::sys::esp_ble_gatts_register_callback
source ยท pub unsafe extern "C" fn esp_ble_gatts_register_callback(
callback: Option<unsafe extern "C" fn(_: u32, _: u8, _: *mut esp_ble_gatts_cb_param_t)>,
) -> i32
Expand description
@brief This function is called to register application callbacks with BTA GATTS module.
@return - ESP_OK : success - other : failed