Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 01/13] android/hal-ipc-api: Add Set Volume command
@ 2014-02-18 14:24 Luiz Augusto von Dentz
  2014-02-18 14:24 ` [PATCH BlueZ 02/13] android/avrcp: Add command handlers stubs Luiz Augusto von Dentz
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Luiz Augusto von Dentz @ 2014-02-18 14:24 UTC (permalink / raw)
  To: linux-bluetooth

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

---
 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];
-- 
1.8.5.3


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-02-18 20:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 14:24 [PATCH BlueZ 01/13] android/hal-ipc-api: Add Set Volume command Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 02/13] android/avrcp: Add command handlers stubs Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 03/13] android/hal-avrcp: Add .get_play_status implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 04/13] android/hal-avrcp: Add .list_player_app_attr_rsp implementation Luiz Augusto von Dentz
2014-02-18 20:36   ` Szymon Janc
2014-02-18 14:24 ` [PATCH BlueZ 05/13] android/hal-avrcp: Add .list_player_app_value_rsp implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 06/13] android/hal-avrcp: Add .get_player_app_value_rsp implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 07/13] android/hal-avrcp: Add .get_player_app_attr_text_rsp implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 08/13] android/hal-avrcp: Add .get_player_app_value_text_rsp implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 09/13] android/hal-avrcp: Add .get_element_attr_rsp implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 10/13] android/hal-avrcp: Add .set_player_app_value_rsp implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 11/13] android/hal-avrcp: Add .register_notification_rsp implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 12/13] android/hal-avrcp: Add .set_volume implementation Luiz Augusto von Dentz
2014-02-18 14:24 ` [PATCH BlueZ 13/13] android/hal-avrcp: Add notification handlers Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox