Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp670706ybk; Fri, 15 May 2020 10:28:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuWPsPWoFJnr4avGHVhG6sKS5sIZWY+08K5b2wqqMWBVuOeBA9DA1RHLTpXoryMFQ0bVje X-Received: by 2002:aa7:dd84:: with SMTP id g4mr4089337edv.257.1589563702778; Fri, 15 May 2020 10:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589563702; cv=none; d=google.com; s=arc-20160816; b=qYSKmXc6OImCH83V6rH3tVRASRxniuE2WAvDjyJozXYtFIVWLiyMLxr9uEiGeeQ5Zd dZiDQNghuhsBNGSO1S7IDvgc9LkRfsI6hF169Wm90CO3MHG8E+KZdOk696lA2J6annkT INWD26v2B3yqIZMqzmaHLkb78A3bLaRczqO/Bv5D9sj2Sn9BZ9JDnkKXnA62ZgRa43PC RvWvs15wiFryiz29n6dAXvZ/O4r+mpXhlrvY+qjx55PmPht5U3jWxVQcIeQ04OEAZZ+M +3xd1hMuo3bsLbfvgKNyOz2lFtFhAhbIxtL6aXMd3iAPFn8LkW93u/sMOA+ZbulTHQ3B pStA== 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=Sz53O+u1aSe+jZLwEggDR+04Eu0cpgOBV46vxBKzjBY=; b=LCuggagPRCWXNsPpUCvb6wtXR2IaEFTBCcPwa6exIuW1x2hncqya+5MTrBc6o4yeqP pBH3BlAav2wjrJY7N9ldFyuV7h2nu1xQHbAz8fZqQizo/7yyWPhhq+gh9h+Tm/+97Tpf fbXHGjKk8t/BxhkDhZHgEhw0e2wfcAN5X79ywSGf0hD6tmKv4F7nUZ2Dlov4vcJOseVs JUm1J6WLJfx7jISH/O/N4Czm3IH+hkfGENp7u3wYfcW6/X4fMpmooNhyX2OzhK+0R5YA hkd/571FfBAOAt31l/RiLQvqCPFJudM7Aq0Qdn6qWBUSyPcxWI22hPLvUcdOmQ/dJCjO JdFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Rj1fAU1F; 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 g17si1634720ejc.416.2020.05.15.10.27.36; Fri, 15 May 2020 10:28:22 -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=Rj1fAU1F; 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 S1726191AbgEOR0V (ORCPT + 99 others); Fri, 15 May 2020 13:26:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726179AbgEOR0V (ORCPT ); Fri, 15 May 2020 13:26:21 -0400 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE968C061A0C for ; Fri, 15 May 2020 10:26:20 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id x7so2901057oic.3 for ; Fri, 15 May 2020 10:26:20 -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=Sz53O+u1aSe+jZLwEggDR+04Eu0cpgOBV46vxBKzjBY=; b=Rj1fAU1Fq7NqQcSCln3cbXesWb8Jc2aQad8F76CLn5s2uwQNbJ8zItt7KQF6aeX2DS 0rjip2WsNeEefAGkqfHd8TuiV3v65/KK6NTHm5AfD1yTKTyZkKOyz+O7NoJsW8QfU8HZ GhBVN0gIaVAnnliMHLaG2ByMpIoyHkHd2fHvo7l42naZkWXKPvqxps+wMYUF0eAZR/xb xKjb8ULCRzRYNyJHc9M5rkKVPQnB/gywdtJXxlHExRmrEkLeqqQ/DYHBXPF3/CJE1MyS cCugrVIR25VLqMvoXrtetBeCpJ0ZNZXWtfPqQyCcT9Y8Bg5sGaCGevrvxo9bX/ajX0Ot htXQ== 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=Sz53O+u1aSe+jZLwEggDR+04Eu0cpgOBV46vxBKzjBY=; b=NHMjBadsCZ4NmBJvPaaY2rrziXLqJn+LMb/qAMpLoSBtkmNMh6tCq+NjDj0zSCXXbR IC0j1tjG0EJJjxRBjgr5+s9iz4/RnN2Yeu7A3i90Ax3UfEdeNeyMZsJejEiHMNUygkCL OREtv6aSehXjPuQGkhjGmLXYETVOSxZnc02shAZO1jVord5Lt8Ds5lqnH2MvJjtwO0AE 13SMCU+ud9L69GVtwH7gPfV5fM9MyJB4LoDHrPO3pyxCX2w4mrbuDShss2UFot5hAbwe ALUlTjFLLgZ/tAZzcALyFAZ+qJmjTYU8bqQwVQCMaZqsC26OpcdYfIOGM4HASktGpZBr Y4+Q== X-Gm-Message-State: AOAM530jS1VPAF1jx6Azal8s2P75J/+ANhKpvRf0j0sJ8514brR5G7p0 2Yjz4w9ByzelJxTKwCsjjPWslSoW1RBpn8dmcpk= X-Received: by 2002:aca:b5d5:: with SMTP id e204mr2969051oif.108.1589563579594; Fri, 15 May 2020 10:26:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Fri, 15 May 2020 10:26:07 -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 Fri, May 15, 2020 at 1:27 AM Sathish Narasimman wrote: > > Hi Luiz > > On Thu, May 14, 2020 at 11:17 PM Luiz Augusto von Dentz > wrote: > > > > 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. > > Ubuntu settings are using obexd (OBEX over L2CAP). > The same is confirmed using the attached logs > > The transfer is made between two Ubuntu-18.04 machines You woulld need to look into obexd logs to check what is going on, as I said Ubuntu might be trying to set the Channel manually which then disables the logic to discover the SDP record which is then used to parse the L2CAP PSM for ERTM or the RFCOMM channel. -- Luiz Augusto von Dentz