Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1515838ybk; Thu, 14 May 2020 10:50:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHVk7yhY1tG95uRZ1twmMjSebs5uh+Hrwdw2v0TfA0DIsmyrv0jEi3JR9UTPp8l65nlZJG X-Received: by 2002:a05:6402:1d81:: with SMTP id dk1mr4953213edb.143.1589478650946; Thu, 14 May 2020 10:50:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589478650; cv=none; d=google.com; s=arc-20160816; b=U/eZnLGvUwBYXQ90v9e2nH+Fi07wA7xrTwVTXhfLjXv/2PQOtxEkH5luJadGqakaA/ tkkQdjuOX7k3XcJW7BLckcrlmErbxQwQy7FYfEFM9FWitfUmSIAti2SEmxpJDjytxR94 ZrG8ntnNxlnBRG/qWOGf2JbSRD9qgNsPCJ9AYXB9B8hivL/Cb20p0n2fOd5kuxXlqAKm Op2yloH0bQOhJaRBolAKxj6eyNpz8nb4wuw6+h/vOYVwEbUNqNwoybOPbLsqJ/W6bX9D TFEDr4EimFT8TDS39Dr58S5iiV8Jxws8OHbn0canhBcrQc/m87d06lG9t7FweYTbQstW ul2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RK+vPSyT4MaOt6wYORPOotAUU865qNrGNdClhmtjoZU=; b=BgTBdBmgue63k9wuvfkRI9u+vz2Mg79jzZp5kWcWTt3ZR771dBd46IJOxTGSK5k7f0 6Rnx7amlIWumWSC3xnEfUQbaAYW3xM80gihSfxZv6xfgW5jlTo6Z51UpCH59UjcaacM6 TKU9kse+x83FZN6ekbQS1vzb2X6eG/KgLDHm3XHQkn3rv3KCk6Q8SolNAv0Xedtoresp VCK/HbQoYkBvreUbWZuhYsmMVGHqCVS3n7ZOBByxc2bKweHJDzpnhUQvVen3PMDFYGY9 a39ZrQNgKGa+u4pNkQ6NAAIDxie7NUMHnmBHkAwUbg12jtKk46iw3yRi60WaKZg2VSIJ PCUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q4vjDaxf; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si2399637edn.476.2020.05.14.10.50.25; Thu, 14 May 2020 10:50:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q4vjDaxf; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726215AbgENRrQ (ORCPT + 99 others); Thu, 14 May 2020 13:47:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725965AbgENRrQ (ORCPT ); Thu, 14 May 2020 13:47:16 -0400 Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D44C4C061A0C for ; Thu, 14 May 2020 10:47:15 -0700 (PDT) Received: by mail-oi1-x22e.google.com with SMTP id c12so24295133oic.1 for ; Thu, 14 May 2020 10:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RK+vPSyT4MaOt6wYORPOotAUU865qNrGNdClhmtjoZU=; b=q4vjDaxfEzwVgGNfndDW6XOsRUfc++ffjf6m4zLLKUhd4panvIWBhM/sFv+mHAVMsj lqyfXDai5iqFaEx3pkgZTwnQkjQY18N3Na7NilO7svx4hbWxM/u3Me39Kkvi0VpRE8mE hKT97MqChqdMmLYeAxHQvCcXEwmIkpa5G2Eu4bTPPP/+MUcGpuJRez+ymRqO1XG2QHo3 azqHf44YgjlEQ6hI7qoZ55qUMr92FEesqeAz4hyG+cCKpIrcKBD5k09bgykbnOoDHRm4 C8ho5Vx5jR0ne1xiLLbSUN/sOWsIxphVFsDgsbFdijD9bzAZ7y58obrSPxrD1ztlcqE1 vHvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RK+vPSyT4MaOt6wYORPOotAUU865qNrGNdClhmtjoZU=; b=jEcC/kDfY8FFPJpbcWqvJwRrxT9yJFOOpx4yQSYajzUoBk+VMgv2FX9Ny8ezerjttF H2V9UcR67v9KTxp8aNUlMnN1EGPr1kg8YdhbrVCNZ31JzKGv+NnBBRfvsj5/f6mDaNdp 0IYAI6MFvSw+AZQ2EgoOZDPiH+HtZBAIC+ZJA5C6yLNy/EemZ3dxroL6ECqU052QazTC YS+kWSdzjTrUjo34kpNCAwddWe8IWoHOdPH3UZckVzdllpC6mi1I8rABCHKxvs3ZuVz+ 9BH2tpnARCzl3DOUjycfLDFuTR/7MfsnD8Ar8iYOrmzhX/eCMugXKCbH3Jy5qVfuiUf+ CAmQ== X-Gm-Message-State: AGi0PuZFVc6SgqJZj4SwDE3JC0oL0ETbYjAYpkTsi3T8U1E7YTrwzjun pJDvABLFEgsReg1yJp45giId8Fu3iR0jQZdT+pr2Fw== X-Received: by 2002:aca:b5d5:: with SMTP id e204mr31998940oif.108.1589478435111; Thu, 14 May 2020 10:47:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Thu, 14 May 2020 10:47:03 -0700 Message-ID: Subject: Re: OPP File Transfer From Settings always uses L2cap Conf as BASIC_MODE- OS: Ubuntu 18.04 To: Sathish Narasimman Cc: Bluez mailing list Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Sathish, On Wed, May 13, 2020 at 12:14 AM Sathish Narasimman wrote: > > Hi > > In Ubuntu when trying to do OPP File transfer using Bluetooth settings > the L2cap Configuration uses BASIC_MODE > > whereas obexctl it is using ERTM_MODE mode. > > Once the initial connection made from obexctl.later any transfer of > files from setting UI also used ERTM mode. > > How to change the MODE to ERTM for the transfer of file using settings? Is ubuntu setting really using obexd? Or perhaps they are setting a Channel on CreateSession which is then forcing to use RFCOMM instead of L2CAP ERTM, when you use obexctl and don't set any Channel it will attempt to discover the record using SDP and if there is an entry for L2CAP channel it will use to connect using ERTM. -- Luiz Augusto von Dentz