Re: OPP File Transfer From Settings always uses L2cap Conf as BASIC_MODE- OS: Ubuntu 18.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sathish,

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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux