From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 6/6] hfp_hf_bluez5: Handle org.bluez.Profile1.Release()
Date: Mon, 19 Aug 2013 12:57:53 -0500 [thread overview]
Message-ID: <52125CA1.5020203@gmail.com> (raw)
In-Reply-To: <1376619969-15080-7-git-send-email-vcgomes@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 965 bytes --]
Hi Vinicius,
On 08/15/2013 09:26 PM, Vinicius Costa Gomes wrote:
> There's nothing we can do in this case, so we only reply with a
> success.
> ---
> plugins/hfp_hf_bluez5.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
> index 7e98a45..391a74e 100644
> --- a/plugins/hfp_hf_bluez5.c
> +++ b/plugins/hfp_hf_bluez5.c
> @@ -564,9 +564,7 @@ static DBusMessage *profile_release(DBusConnection *conn,
> {
> DBG("Profile handler Release");
>
> - return g_dbus_create_error(msg, BLUEZ_ERROR_INTERFACE
> - ".NotImplemented",
> - "Implementation not provided");
> + return dbus_message_new_method_return(msg);
To me it seems like this method is not properly labeled as NOREPLY
inside the BlueZ API specification. Sending a reply here seems pointless.
> }
>
> static DBusMessage *profile_cancel(DBusConnection *conn,
>
Regards,
-Denis
next prev parent reply other threads:[~2013-08-19 17:57 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 2:26 [PATCH 0/6] hfp_hf_bluez5: Add support for Transparent SCO Vinicius Costa Gomes
2013-08-16 2:26 ` [PATCH 1/6] bluetooth: Add define for SCO voice settings Vinicius Costa Gomes
2013-08-19 17:59 ` Denis Kenzior
2013-08-16 2:26 ` [PATCH 2/6] handsfree-audio: Add setting SCO air mode Vinicius Costa Gomes
2013-08-19 17:49 ` Denis Kenzior
2013-08-19 18:42 ` Vinicius Costa Gomes
2013-08-16 2:26 ` [PATCH 3/6] handsfree-audio: Add support for detecting Transparent SCO support Vinicius Costa Gomes
2013-08-19 17:55 ` Denis Kenzior
2013-08-19 19:36 ` Vinicius Costa Gomes
2013-08-16 2:26 ` [PATCH 4/6] handsfree-audio: Set the voice setting for outgoing connections Vinicius Costa Gomes
2013-08-19 17:56 ` Denis Kenzior
2013-08-16 2:26 ` [PATCH 5/6] hfp_hf_bluez5: Handle org.bluez.Profile1.Cancel() Vinicius Costa Gomes
2013-08-16 2:26 ` [PATCH 6/6] hfp_hf_bluez5: Handle org.bluez.Profile1.Release() Vinicius Costa Gomes
2013-08-19 17:57 ` Denis Kenzior [this message]
2013-08-19 18:47 ` Vinicius Costa Gomes
2013-08-20 13:51 ` Luiz Augusto von Dentz
2013-08-20 15:41 ` Denis Kenzior
2013-08-21 10:29 ` Luiz Augusto von Dentz
2013-08-21 15:21 ` Denis Kenzior
2013-08-22 14:41 ` 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=52125CA1.5020203@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.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.