Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH BlueZ v2 01/14] android/hal-ipc-api: Add Set Volume command
Date: Wed, 19 Feb 2014 19:20:43 +0100	[thread overview]
Message-ID: <9476967.ON8TCCZ2Cg@athlon> (raw)
In-Reply-To: <1392829138-10346-1-git-send-email-luiz.dentz@gmail.com>

Hi Luiz,

On Wednesday 19 February 2014 18:58:45 Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> ---
> v2: Use fixed buffers instead of allocating memory for ipc commands, also
> change to use variable length for text attributes to avoid having to define
> a huge MTU which in most cases would be filled with 0.
> 
>  android/hal-ipc-api.txt | 6 ++++++
>  android/hal-msg.h       | 5 +++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
> index ee3bd76..ea26d0d 100644
> --- a/android/hal-ipc-api.txt
> +++ b/android/hal-ipc-api.txt
> @@ -1300,6 +1300,12 @@ Android HAL name: "avrcp" (BT_PROFILE_AV_RC_ID)
>  		Valid type values : 0x00 = Interim
>  		                    0x01 = Changed
> 
> +	Opcode 0x0a - Set Volume command/response
> +
> +		Command parameters: Value (1 octet)
> +
> +		In case of an error, the error response will be returned.
> +
>  	Opcode 0x81 - Remote Features notification
> 
>  		Notification parameters: Remote address (6 octets)
> diff --git a/android/hal-msg.h b/android/hal-msg.h
> index 6504408..9d396a1 100644
> --- a/android/hal-msg.h
> +++ b/android/hal-msg.h
> @@ -882,6 +882,11 @@ struct hal_cmd_avrcp_register_notification {
>  	uint8_t data[0];
>  } __attribute__((packed));
> 
> +#define HAL_OP_AVRCP_SET_VOLUME			0x0a
> +struct hal_cmd_avrcp_set_volume {
> +	uint8_t value;
> +};
> +
>  #define HAL_EV_AVRCP_REMOTE_FEATURES		0x81
>  struct hal_ev_avrcp_remote_features {
>  	uint8_t bdaddr[6];

All patches are now upstream, thanks.

-- 
Szymon K. Janc
szymon.janc@gmail.com

      parent reply	other threads:[~2014-02-19 18:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19 16:58 [PATCH BlueZ v2 01/14] android/hal-ipc-api: Add Set Volume command Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 02/14] android/hal-ipc-api: Use variable length for text attributes Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 03/14] android/avrcp: Add command handlers stubs Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 04/14] android/hal-avrcp: Add .get_play_status implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 05/14] android/hal-avrcp: Add .list_player_app_attr_rsp implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 06/14] android/hal-avrcp: Add .list_player_app_value_rsp implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 07/14] android/hal-avrcp: Add .get_player_app_value_rsp implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 08/14] android/hal-avrcp: Add .get_player_app_attr_text_rsp implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 09/14] android/hal-avrcp: Add .get_player_app_value_text_rsp implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 10/14] android/hal-avrcp: Add .get_element_attr_rsp implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 11/14] android/hal-avrcp: Add .set_player_app_value_rsp implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 12/14] android/hal-avrcp: Add .register_notification_rsp implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 13/14] android/hal-avrcp: Add .set_volume implementation Luiz Augusto von Dentz
2014-02-19 16:58 ` [PATCH BlueZ v2 14/14] android/hal-avrcp: Add notification handlers Luiz Augusto von Dentz
2014-02-19 18:20 ` Szymon Janc [this message]

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=9476967.ON8TCCZ2Cg@athlon \
    --to=szymon.janc@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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