From 5d3ac6da5a0e8aebe3cf4ab5b403c5c9ca267e73 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 17 Nov 2014 10:29:22 +0100 Subject: [PATCH] android/hal-msg: Fix AVRCP CTRL notifications opcodes Notifications should start from 0x81 as 0x80 is reserved. --- android/hal-msg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/hal-msg.h b/android/hal-msg.h index 773af5bf6..c86b0a642 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1509,13 +1509,13 @@ struct hal_ev_avrcp_passthrough_cmd { uint8_t state; } __attribute__((packed)); -#define HAL_EV_AVRCP_CTRL_CONN_STATE 0x80 +#define HAL_EV_AVRCP_CTRL_CONN_STATE 0x81 struct hal_ev_avrcp_ctrl_conn_state { uint8_t state; uint8_t bdaddr[6]; } __attribute__((packed)); -#define HAL_EV_AVRCP_CTRL_PASSTHROUGH_RSP 0x81 +#define HAL_EV_AVRCP_CTRL_PASSTHROUGH_RSP 0x82 struct hal_ev_avrcp_ctrl_passthrough_rsp { uint8_t id; uint8_t key_state; -- 2.47.3