Function esp_idf_sys::esp_ble_gatts_send_response

source ยท
pub unsafe extern "C" fn esp_ble_gatts_send_response(
    gatts_if: esp_gatt_if_t,
    conn_id: u16,
    trans_id: u32,
    status: esp_gatt_status_t,
    rsp: *mut esp_gatt_rsp_t,
) -> esp_err_t
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