From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Szymon Janc To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH BlueZ 01/12] android/hal-ipc-api: Add Remote Features notification Date: Fri, 14 Feb 2014 11:34:40 +0100 Message-ID: <5640209.0873DRHjq4@uw000953> In-Reply-To: <1392304728-5061-1-git-send-email-luiz.dentz@gmail.com> References: <1392304728-5061-1-git-send-email-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, On Thursday 13 of February 2014 17:18:37 Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz > > --- > android/hal-ipc-api.txt | 14 ++++++++++++-- > android/hal-msg.h | 6 ++++++ > 2 files changed, 18 insertions(+), 2 deletions(-) > > diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt > index c1609c9..70f947d 100644 > --- a/android/hal-ipc-api.txt > +++ b/android/hal-ipc-api.txt > @@ -1300,8 +1300,18 @@ Android HAL name: "avrcp" (BT_PROFILE_AV_RC_ID) > Valid type values : 0x00 = Interim > 0x01 = Changed > > - Opcode 0x81 - Get Play Status notification > - Opcode 0x82 - List Player Application Attributes notification > + Opcode 0x81 - Remote Features notification > + > + Notification parameters: Remote address (6 octets) > + Features (1 octet) > + > + Valid features values : 0x00 = None > + 0x01 = Metadata > + 0x02 = Absolute Volume > + 0x03 = Browse > + > + Opcode 0x82 - Get Play Status notification > + Opcode 0x83 - List Player Application Attributes notification > ... > > > diff --git a/android/hal-msg.h b/android/hal-msg.h > index ca1f6b5..f6cdf58 100644 > --- a/android/hal-msg.h > +++ b/android/hal-msg.h > @@ -881,3 +881,9 @@ struct hal_cmd_avrcp_register_notification { > uint8_t len; > uint8_t data[0]; > } __attribute__((packed)); > + > +#define HAL_EV_AVRCP_REMOTE_FEATURES 0x81 > +struct hal_ev_avrcp_remote_features { > + uint8_t bdaddr[6]; > + uint8_t features; > +} __attribute__((packed)); > All patches applied, thanks. -- Best regards, Szymon Janc