Linux bluetooth development
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 05/12] android/hal-ipc-api: Add Get Player Values notification
Date: Thu, 13 Feb 2014 17:18:41 +0200	[thread overview]
Message-ID: <1392304728-5061-5-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1392304728-5061-1-git-send-email-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 android/hal-ipc-api.txt | 7 +++++++
 android/hal-msg.h       | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 56df5b0..fd687fb 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -1324,6 +1324,13 @@ Android HAL name: "avrcp" (BT_PROFILE_AV_RC_ID)
 
 		Valid attribute values: Same as in List Player Attributes
 
+	Opcode 0x85 - Get Player Values notification
+
+		Notification parameters: Number of attributes (1 octet)
+		                         Attribute # (1 octet)
+		                         ...
+
+		Valid attribute values: Same as in List Player Attributes
 
 Bluetooth GATT HAL (ID 9)
 =========================
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 55cea27..d5d91dd 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -895,3 +895,9 @@ struct hal_ev_avrcp_remote_features {
 struct hal_ev_avrcp_list_player_values {
 	uint8_t attr;
 } __attribute__((packed));
+
+#define HAL_EV_AVRCP_GET_PLAYER_VALUES		0x85
+struct hal_ev_avrcp_get_player_values {
+	uint8_t number;
+	uint8_t attrs[0];
+} __attribute__((packed));
-- 
1.8.5.3


  parent reply	other threads:[~2014-02-13 15:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13 15:18 [PATCH BlueZ 01/12] android/hal-ipc-api: Add Remote Features notification Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 02/12] android/hal-ipc-api: Add Get Play Status notification Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 03/12] android/hal-ipc-api: Add List Player Attributes notification Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 04/12] android/hal-ipc-api: Add List Player Values notification Luiz Augusto von Dentz
2014-02-13 15:18 ` Luiz Augusto von Dentz [this message]
2014-02-13 15:18 ` [PATCH BlueZ 06/12] android/hal-ipc-api: Add Get Player Attributes Text notification Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 07/12] android/hal-ipc-api: Add Get Player Values " Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 08/12] android/hal-ipc-api: Add Set Player Values notification Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 09/12] android/hal-ipc-api: Add Get Element Attributes notification Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 10/12] android/hal-ipc-api: Add Register Notification notification Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 11/12] android/hal-ipc-api: Add Volume Changed notification Luiz Augusto von Dentz
2014-02-13 15:18 ` [PATCH BlueZ 12/12] android/hal-ipc-api: Add Passthrough Command notification Luiz Augusto von Dentz
2014-02-14 10:34 ` [PATCH BlueZ 01/12] android/hal-ipc-api: Add Remote Features notification Szymon Janc

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=1392304728-5061-5-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --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