From: Jakub Sitnicki <jsitnicki@gmail.com>
To: Christopher Schramm <blueman@cschramm.eu>
Cc: linux-bluetooth@vger.kernel.org, blueman@ml.mate-desktop.org
Subject: Re: Services connected in BlueZ 5
Date: Sun, 18 Jan 2015 11:34:19 +0100 [thread overview]
Message-ID: <87k30kgyxg.fsf@frog.home> (raw)
In-Reply-To: <54A956DC.2050100@cschramm.eu>
Hi Christopher,
On Sun, Jan 04, 2015 at 04:06 PM CET, Christopher Schramm wrote:
> So, is there any way to determine a specific service's connection state
> in BlueZ 5? If not, ConnectProfile / DisconnectProfile seem pretty
> useless, since one is left in the dark, so the only valid way would be
> using Connect and hope all services desired by the user get connected
> which is pretty unsatisfying. Can you confirm the awkward behavior of
> Device.Connect and Device.Connected e.g. in conjunction with a network
> service?
While I can't definitely confirm that it is not possible to check if
specific service is connected because I'm not a developer in this
project, I would say that this note from Device1.DisconnectProfile() API
docs suggests it:
> There is *no connection tracking* for a profile, so as long as the
> profile is registered this [DisconnectProfile()] will always succeed.
Also, in case you haven't already seen it, I think you might find
interesting a part of the discussion of this patchset from some time ago
(regarding the need to show in UI which services are connected):
http://thread.gmane.org/gmane.linux.bluez.kernel/36507
Hope this helps,
Jakub
next prev parent reply other threads:[~2015-01-18 10:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-04 15:06 Services connected in BlueZ 5 Christopher Schramm
2015-01-18 10:34 ` Jakub Sitnicki [this message]
2015-01-18 17:02 ` Christopher Schramm
2015-01-19 15:13 ` 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=87k30kgyxg.fsf@frog.home \
--to=jsitnicki@gmail.com \
--cc=blueman@cschramm.eu \
--cc=blueman@ml.mate-desktop.org \
--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 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).