summaryrefslogtreecommitdiff
path: root/android/hal-msg.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-12-17 11:18:44 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-12-19 14:26:47 +0100
commite0b7cd73531eda84e4ec7362754a9a4f7b760c37 (patch)
treea6fc65e1dfa4525c59b570f038e2c8aeefbd82dc /android/hal-msg.h
parent21d4d3b7a7b2d410e24e4574adc17057b1996a9e (diff)
downloadbluez-e0b7cd73531eda84e4ec7362754a9a4f7b760c37.tar.gz
android/handsfree: Add initial support for configure WBS commmand
This adds required IPC message and handler for configure WBS command.
Diffstat (limited to 'android/hal-msg.h')
-rw-r--r--android/hal-msg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 88b0c52c1..ecc1150e6 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -624,6 +624,16 @@ struct hal_cmd_handsfree_phone_state_change {
uint8_t number[0];
} __attribute__((packed));
+#define HAL_HANDSFREE_WBS_NONE 0x00
+#define HAL_HANDSFREE_WBS_NO 0x01
+#define HAL_HANDSFREE_WBS_YES 0x02
+
+#define HAL_OP_HANDSFREE_CONFIGURE_WBS 0x0F
+struct hal_cmd_handsfree_configure_wbs {
+ uint8_t bdaddr[6];
+ uint8_t config;
+} __attribute__((packed));
+
/* AVRCP TARGET HAL API */
#define HAL_AVRCP_PLAY_STATUS_STOPPED 0x00