Function esp_idf_svc::hal::sys::esp_ble_gatts_send_response
source ยท pub unsafe extern "C" fn esp_ble_gatts_send_response(
gatts_if: u8,
conn_id: u16,
trans_id: u32,
status: u32,
rsp: *mut esp_gatt_rsp_t,
) -> i32
Expand description
@brief This function is called to send a response to a request.
@param[in] gatts_if: GATT server access interface @param[in] conn_id - connection identifier. @param[in] trans_id - transfer id @param[in] status - response status @param[in] rsp - response data.
@return - ESP_OK : success - other : failed