From: Mikel Astiz <mikel.astiz@bmw-carit.de>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: D-Bus API of obex-client
Date: Thu, 17 Nov 2011 16:05:23 +0100 [thread overview]
Message-ID: <4EC522B3.5080607@bmw-carit.de> (raw)
Hi all,
After some tests with the obex-client, I would like to ask some
questions related to the D-Bus API:
1. Transfers for OBEX-specific mime types: in obc_transfer_register,
these types are filtered out so no transfer is registered for them. Is
this a matter of overhead only? I mean, for considerable transfers such
as full phonebook downloads, it would still make sense to provide a
transfer. First, you could track the progress, and second, you could
cancel it. Am I missing any other reason not to want this registration?
2. External monitoring of the active transfers: currently the agent
owning a session is the only component that is able to know about the
ongoing transfers. However it could be interesting to signal these
transfers publicly, so other "external" components can have knowledge of
them. Typically a GUI could be showing the progress of a download (even
though another component initiated it) but it could also be that certain
components would like to react accordingly (example, cancel a download
if A2DP starts).
In addition, this kind of API would be more consistent with the ones in
BlueZ or oFono, meaning that any interested component can keep track
(and modify) the state.
Cheers,
Mikel
next reply other threads:[~2011-11-17 15:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 15:05 Mikel Astiz [this message]
2011-11-17 17:17 ` D-Bus API of obex-client 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=4EC522B3.5080607@bmw-carit.de \
--to=mikel.astiz@bmw-carit.de \
--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