All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH 1/4] android/hal-ipc-txt: Add support for new AVRCP CTRL interface
Date: Mon, 10 Nov 2014 15:42:00 +0200	[thread overview]
Message-ID: <5460C0A8.6090400@linux.intel.com> (raw)
In-Reply-To: <CABBYNZLArffoj1Ggf9O=yvd=UFnJGTQUK+UZV=VkMjTeaeg-_g@mail.gmail.com>

Hi Luiz,

On 11/10/2014 03:32 PM, Luiz Augusto von Dentz wrote:
> Hi Ravi,
>
> On Mon, Nov 10, 2014 at 1:37 PM, Ravi kumar Veeramally
> <ravikumar.veeramally@linux.intel.com> wrote:
>> AVRCP controller interface added in Android Lollipop. Update it's
>> commands and notifications.
>> ---
>>   android/hal-ipc-api.txt | 49 +++++++++++++++++++++++++++++++++++++++++++++----
>>   1 file changed, 45 insertions(+), 4 deletions(-)
>>
>> diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
>> index 666e27f..fc78244 100644
>> --- a/android/hal-ipc-api.txt
>> +++ b/android/hal-ipc-api.txt
>> @@ -1241,7 +1241,7 @@ Notifications:
>>                                        0x04 = Destroyed
>>
>>
>> -Bluetooth Remote Control HAL (ID 8)
>> +Bluetooth Remote Control Target HAL (ID 8)
>>   ===================================
>>
>>   Android HAL name: "avrcp" (BT_PROFILE_AV_RC_ID)
>> @@ -1470,8 +1470,49 @@ Notifications:
>>                  Notification parameters: ID (1 octet)
>>                                           State (1 octet)
>>
>> +Bluetooth Remote Control Controller HAL (ID 9)
>> +===================================
>> +
>> +Android HAL name: "avrcp-ctrl" (BT_PROFILE_AV_RC_CTRL_ID)
>> +
>> +Commands and responses:
>> +
>> +       Opcode 0x00 - Error response
>> +
>> +               Response parameters: Status (1 octet)
>> +
>> +               Valid status values: 0x01 = Fail
>> +                                    0x02 = Not ready
>> +                                    0x03 = No memory
>> +                                    0x04 = Busy
>> +                                    0x05 = Done (already completed)
>> +                                    0x06 = Unsupported
>> +                                    0x07 = Parameter invalid
>> +                                    0x08 = Unhandled
>> +                                    0x09 = Authentication failure
>> +                                    0x0a = Remote device down
>> +
>> +       Opcode 0x01 - Send Pass Through command/response
>> +
>> +               Command parameters: Remote Address (6 octets)
>> +                                   Key Code (1 octet)
>> +                                   Key State (1 octet)
>> +
>> +               In case of an error, the error response will be returned.
>> +
>> +Notifications:
>> +
>> +       Opcode 0x81 - Passthrough Response Notification
>> +
>> +               Notification parameters: ID (1 octet)
>> +                                        Key State (1 octet)
>> +
>> +       Opcode 0x82 - Connection State Notification
>> +
>> +               Notification parameters: State (1 octet)
>> +                                        Remote Address (6 octets)
> This should probably be added to the bottom as we did with other new
> HAL.
   Sure, I will add at bottom in both hal-ipc-txt and hal-msg.h.
>   Btw, perhaps we should keep a history of API changes e.g. since:
> 5.0 per opcode so it become easier to identify changes in the future.
   So where should we keep changes related 5.0?

Thanks,
  Ravi.
>> -Bluetooth GATT HAL (ID 9)
>> +Bluetooth GATT HAL (ID 10)
>>   =========================
>>
>>   Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
>> @@ -2119,7 +2160,7 @@ Notifications:
>>                                           Handle (4 octets)
>>
>>
>> -Bluetooth Handsfree Client HAL (ID 10)
>> +Bluetooth Handsfree Client HAL (ID 11)
>>   ======================================
>>
>>   Android HAL name: "hf_client" (BT_PROFILE_HANDSFREE_CLIENT_ID)
>> @@ -2465,7 +2506,7 @@ Notifications:
>>                  Notification parameters: <none>
>>
>>
>> -Bluetooth Map Client HAL (ID 11)
>> +Bluetooth Map Client HAL (ID 12)
>>   =========================
>>
>>   Android HAL name: "map_client" (BT_PROFILE_MAP_CLIENT_ID)
>> --
>> 2.1.0
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>


  reply	other threads:[~2014-11-10 13:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10 11:37 [PATCH 0/4] Add support for new AVRCP ctrl interface Ravi kumar Veeramally
2014-11-10 11:37 ` [PATCH 1/4] android/hal-ipc-txt: Add support for new AVRCP CTRL interface Ravi kumar Veeramally
2014-11-10 13:32   ` Luiz Augusto von Dentz
2014-11-10 13:42     ` Ravi kumar Veeramally [this message]
2014-11-10 13:55       ` Luiz Augusto von Dentz
2014-11-10 11:37 ` [PATCH 2/4] android/hal-msg: " Ravi kumar Veeramally
2014-11-10 13:23   ` Luiz Augusto von Dentz
2014-11-10 13:32     ` Ravi kumar Veeramally
2014-11-10 11:37 ` [PATCH 3/4] android/hal-avrcp: Add suuport for new AVRCP ctrl interface Ravi kumar Veeramally
2014-11-10 11:37 ` [PATCH 4/4] android/client: Add support for new AVRCP CTRL interface Ravi kumar Veeramally

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=5460C0A8.6090400@linux.intel.com \
    --to=ravikumar.veeramally@linux.intel.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 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.