Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1189780rdb; Fri, 20 Oct 2023 10:49:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqwdEXknyDSKtG47TEgq1Rr/7kCq3GgYhxi3cEiT83hlfGk22mx8mgeU38xCkOnOnhi6Z3 X-Received: by 2002:a05:6300:8002:b0:172:eda5:36ea with SMTP id an2-20020a056300800200b00172eda536eamr2286069pzc.7.1697824198264; Fri, 20 Oct 2023 10:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697824198; cv=none; d=google.com; s=arc-20160816; b=bUNrWG89LzTxJPlb4AEp/137020V7fxAFjhX0YQUb3QN+1+pTar74cegMDVXRbdvCb butjOgFmOfSGOWz/76JRstikRngxemyngk6JFvb/cRYEmpkg7Xrv7ny7vtgAizXqp9/4 SJL2GgToSYF6WedHUmXkrFd6fUDmmYXqJWvJvNL4+WxEhb6YvZEx3Go9nenY/v4hCNlR eqJG06qE36sns+DvSpzlraFkAH0lQk5WysDSJ/PcWb5tEo2AqdMVeClz5odpd73dXLec IC8wdp+aNsXggyNJskEJ2gks3PTkw8OSzXjFzXkZI5MvNoFWRDY6CWgSoeLWg7ztxuiS qZiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3j9qMD28THVBw7Rt3wRPu9PaqR5X3vJDrYmEbo8hLfk=; fh=I94iPXBHbMNooNJDE9WNf5AxhUME5CtTcDTE9RZkgdM=; b=zx4b/eWVX4Jr3m9sYmibqauA9GpsKzUfQVCVSSgym2+CXCaZd3b3Eb5EO5NMMM+PuJ cHZspx/KGYys5Rbf+3f78hRUtKeLYT3RUr7yfw9pYm49vk9r2pCxZzRLFhxt9gkjfCCJ qxQdyrW+NKaYDDxHM/mK2aIFbM+Rxhc41ibhfS5LKZP1OcZnn93z74ZM+WN6e8je8qdU yrcm8OASo2g8g3uQuMp692frXUVTJdrtg4Y0cgWQ8thf7NBhdIeMtT3d3uEXsoNGQdnz DgfXoFuwciqLzrrQfKRNgKW7SSYhKxFOkAHHoE4RdIfQNtWgrBmENd6PVq/dOtGha34t 6DcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TX6rytgg; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r21-20020aa79635000000b00690ccc67aa4si2260735pfg.198.2023.10.20.10.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 10:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TX6rytgg; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B8EAD8311BDB; Fri, 20 Oct 2023 10:49:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377964AbjJTRtm (ORCPT + 99 others); Fri, 20 Oct 2023 13:49:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377970AbjJTRtk (ORCPT ); Fri, 20 Oct 2023 13:49:40 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13FF6D6C for ; Fri, 20 Oct 2023 10:49:37 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2c50cf61f6dso17613171fa.2 for ; Fri, 20 Oct 2023 10:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697824175; x=1698428975; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3j9qMD28THVBw7Rt3wRPu9PaqR5X3vJDrYmEbo8hLfk=; b=TX6rytggrGgd6GZLA1eOq9oQi6bb61L1z2zq/SDB71wC5EKyjwuK0nM/MbrlVEe/bO erEzhIPccZUQ19CeqlzQ1VWo9jSbcwr4HPvC6DWN3/Kw3GXJYOK7F+D7j9u4Fl5y4fOV JXeNAwQwzf3oEi5ARRDeX8ic1plJuMtOdSUOu54OcXWHi8UQNtCpab99zwo44pBbkSmN DRlqw8EEMIobAmVcsIPvKvlbzSJSTp/GXVfSCFcvjM6AhwYCUaT/m3ve+vU0nXlScoeM gQC8rBmP4AY1I/liCcLyKPIX4+dM/HAmC3vfQiqy6ciEmfGDdFR9lvk4DkF/JbNYsvdS Qq4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697824175; x=1698428975; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3j9qMD28THVBw7Rt3wRPu9PaqR5X3vJDrYmEbo8hLfk=; b=fB6uaYN1NlnYoh3V//eCpXis3uFVwDTDhcXHlp14R0nnTcKtbDpXAlcrArL7D3cGDl GsgJBRlwXF5U0CvflgFQAMmMWTc9ppaipWZICKCeQNV5dNBjL/7+wBbsrNNnN8gj2PX8 fxS7dm0rTdIf6MY4ITjkmFF8TlIuIYbaS/kq4E/9Wt4DN7Gj0y/620R6bXrLSpclUw8y LEuSaYfnNAJyxAONkRxGJh+sPSss+0Nc0iWNHDaE/FbObWu1Tm4U1ucNrWyoheCyIb/J H4z4jsW8jIu4IwLJIOXxGGHiKknTEXEt1pSb1Hhu/rH3ASbEm+h4uefD9KhxU/wAqFox CEXA== X-Gm-Message-State: AOJu0YzwpOYoJ7OC2aYuKGep0iLdS1eXiok8s+N4nZy8jYnpB5HTvLUs iKeS7/WDCnzCbL2Y96cXTYcyLh8VvjStNUfIMdBVFbpapperMtO+ X-Received: by 2002:a2e:b5b7:0:b0:2bf:fae2:f97 with SMTP id f23-20020a2eb5b7000000b002bffae20f97mr1851344ljn.12.1697824174828; Fri, 20 Oct 2023 10:49:34 -0700 (PDT) MIME-Version: 1.0 References: <20231020093716.9654-1-purendra.singh@nxp.com> <20231020093716.9654-2-purendra.singh@nxp.com> <4cf2cb28-b334-487b-96d6-6318961035e1@molgen.mpg.de> In-Reply-To: <4cf2cb28-b334-487b-96d6-6318961035e1@molgen.mpg.de> From: Luiz Augusto von Dentz Date: Fri, 20 Oct 2023 10:49:22 -0700 Message-ID: Subject: Re: [PATCH BlueZ v2 1/1] gobex/gobex.c : Increase default obex timeout from 10 sec to 500 sec To: Paul Menzel Cc: Purendra Singh , linux-bluetooth@vger.kernel.org, devyani.godbole@nxp.com, nitin.jadhav@nxp.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 20 Oct 2023 10:49:42 -0700 (PDT) Hi, On Fri, Oct 20, 2023 at 2:44=E2=80=AFAM Paul Menzel = wrote: > > Dear Purendra, > > > Thank you for sending version 2. (No space is necessary in the prefix > before the colon.) > > > Am 20.10.23 um 11:37 schrieb Purendra Singh: > > This issue is observed when multiple profiles are active from > > multiple connected devices: A2DP + HID + OBex File transfer > > > > File received status of some reference devices is delayed, > > that causes timeout and file transfer status error (Variation > > of timeout is between ~100 seconds to ~450 seconds). > > > > We tested with Motorola Edge, Samsung M33, OnePlus 6T. > > > > Experimentaly we increased the timeout and at 500 seconds no issue was > > Experimentally > > > observed. > > Oh, it=E2=80=99s really seconds. Isn=E2=80=99t greater than 8 minute time= out *not* very > user friendly? Yeah, something like that would probably cause the user to assume the operation didn't work. > > --- > > gobex/gobex.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/gobex/gobex.c b/gobex/gobex.c > > index e9b89cead..f0e1c2c83 100644 > > --- a/gobex/gobex.c > > +++ b/gobex/gobex.c > > @@ -22,7 +22,7 @@ > > #define G_OBEX_MINIMUM_MTU 255 > > #define G_OBEX_MAXIMUM_MTU 65535 > > > > -#define G_OBEX_DEFAULT_TIMEOUT 10 > > +#define G_OBEX_DEFAULT_TIMEOUT 500 > > #define G_OBEX_ABORT_TIMEOUT 5 > > > > #define G_OBEX_OP_NONE 0xff > > > Kind regards, > > Paul --=20 Luiz Augusto von Dentz