All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Bea Lam <blam@trolltech.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Adapter API - Devices property not updated if connection initiated by remote device
Date: Fri, 12 Dec 2008 02:43:17 +0100	[thread overview]
Message-ID: <1229046197.22285.21.camel@violet.holtmann.net> (raw)
In-Reply-To: <200812111357.59004.blam@trolltech.com>

Hi Bea,

> When using the org.bluez.Adapter interface, if I initiate a connection to a 
> remote device, then the adapter's Devices property is updated to include the 
> remote device, as expected. However, if the remote device initiates the 
> connection to my device instead, it isn't added to the Devices list. This 
> would appear to be a bug.
> 
> This can be problematic if I am trying to identify whether any remote devices 
> are currently connected to the local adapter; it is not possible to identify 
> the connected devices if they have initiated the connection.
> 
> It would be much appreciated if someone could look into this. Perhaps the 
> adapter->devices list could be updated when adapter_add_active_conn() is 
> called, but I'm not sure if this is correct.

I know that Johan fixed a bug where FindDevice would not give any result
for temporary devices. So you can use FindDevice to get the device
object. Adding it to the device list? I am not sure about that.

Regards

Marcel



  reply	other threads:[~2008-12-12  1:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-11  3:57 Adapter API - Devices property not updated if connection initiated by remote device Bea Lam
2008-12-12  1:43 ` Marcel Holtmann [this message]
2008-12-12  4:52   ` Bea Lam
2008-12-12 10:58     ` Marcel Holtmann
2008-12-12 13:28       ` Johan Hedberg
2008-12-13  1:02         ` Luiz Augusto von Dentz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1229046197.22285.21.camel@violet.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=blam@trolltech.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.