linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* OPP File Transfer From Settings always uses L2cap Conf as BASIC_MODE- OS: Ubuntu 18.04
@ 2020-05-13  7:09 Sathish Narasimman
  2020-05-14 17:47 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 3+ messages in thread
From: Sathish Narasimman @ 2020-05-13  7:09 UTC (permalink / raw)
  To: Bluez mailing list

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?

Regards
Sathish N

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OPP File Transfer From Settings always uses L2cap Conf as BASIC_MODE- OS: Ubuntu 18.04
  2020-05-13  7:09 OPP File Transfer From Settings always uses L2cap Conf as BASIC_MODE- OS: Ubuntu 18.04 Sathish Narasimman
@ 2020-05-14 17:47 ` Luiz Augusto von Dentz
       [not found]   ` <CAOVXEJKf5dAv5eriZf04PLABLhPU9uW5CLAnzKf8ePEJRq-GGg@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2020-05-14 17:47 UTC (permalink / raw)
  To: Sathish Narasimman; +Cc: Bluez mailing list

Hi Sathish,

On Wed, May 13, 2020 at 12:14 AM Sathish Narasimman
<nsathish41@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OPP File Transfer From Settings always uses L2cap Conf as BASIC_MODE- OS: Ubuntu 18.04
       [not found]   ` <CAOVXEJKf5dAv5eriZf04PLABLhPU9uW5CLAnzKf8ePEJRq-GGg@mail.gmail.com>
@ 2020-05-15 17:26     ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2020-05-15 17:26 UTC (permalink / raw)
  To: Sathish Narasimman; +Cc: Bluez mailing list

Hi Sathish,

On Fri, May 15, 2020 at 1:27 AM Sathish Narasimman <nsathish41@gmail.com> wrote:
>
> Hi Luiz
>
> On Thu, May 14, 2020 at 11:17 PM Luiz Augusto von Dentz
> <luiz.dentz@gmail.com> wrote:
> >
> > Hi Sathish,
> >
> > On Wed, May 13, 2020 at 12:14 AM Sathish Narasimman
> > <nsathish41@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-15 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13  7:09 OPP File Transfer From Settings always uses L2cap Conf as BASIC_MODE- OS: Ubuntu 18.04 Sathish Narasimman
2020-05-14 17:47 ` Luiz Augusto von Dentz
     [not found]   ` <CAOVXEJKf5dAv5eriZf04PLABLhPU9uW5CLAnzKf8ePEJRq-GGg@mail.gmail.com>
2020-05-15 17:26     ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).