/* Triggers a pending transmit for the specified discover-service-by-uuid proc.  */
static int ble_gattc_disc_svc_uuid_tx(struct ble_gattc_proc *proc)
/* Triggers a pending transmit for the specified discover-service-by-uuid proc.  */
static int ble_gattc_disc_svc_uuid_tx(struct ble_gattc_proc *proc)
{
    uint8_t val[16];
    int rc;
    ble_gattc_dbg_assert_proc_not_inserted(proc);
    ble_uuid_flat(&proc->disc_svc_uuid.service_uuid.u, val);
    rc = ble_att_clt_tx_find_type_value(proc->conn_handle,
                                        proc->disc_svc_uuid.prev_handle + 1,
                                        0xffff, BLE_ATT_UUID_PRIMARY_SERVICE,
                                        val,
                                        ble_uuid_length(&proc->disc_svc_uuid.service_uuid.u));
    if (rc != 0) {
        return rc;
    }
    return 0;
}