summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack He <siyuanh@google.com>2017-05-13 13:54:26 -0700
committerJack He <siyuanh@google.com>2017-05-24 14:50:03 -0700
commit5aa83c0c094a26e2a51baac56534d2f29cee4d34 (patch)
treebf0134af9e36c1d8565617a208fe4a555564b7cd
parentcb7791b44231be633e38ce860b1a56de9cd704a5 (diff)
downloadlibhardware-5aa83c0c094a26e2a51baac56534d2f29cee4d34.tar.gz
MCAP: Add test interface ID (1/2)
* Some PTS tests requires protocols and profiles to be accessed at stack API level * This CL creates an ID for the MCAP protocol * An application must be able to reference stack headers in order to use such an interface Bug: 37867299 Test: make, no user visible effect Change-Id: Ice654321cdeb11f93b1c8fc4a0753fe86bd82a56 (cherry picked from commit 9213f5b0430b329461b8f52f06b0ea98b1ff737c)
-rw-r--r--include/hardware/bluetooth.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index b706e8ad..6e287e6d 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -35,7 +35,7 @@ __BEGIN_DECLS
#define BT_STACK_TEST_MODULE_ID "bluetooth_test"
-/* Bluetooth profile interface IDs */
+/** Bluetooth profile interface IDs */
#define BT_PROFILE_HANDSFREE_ID "handsfree"
#define BT_PROFILE_HANDSFREE_CLIENT_ID "handsfree_client"
@@ -52,6 +52,9 @@ __BEGIN_DECLS
#define BT_PROFILE_AV_RC_ID "avrcp"
#define BT_PROFILE_AV_RC_CTRL_ID "avrcp_ctrl"
+/** Bluetooth test interface IDs */
+#define BT_TEST_INTERFACE_MCAP_ID "mcap_test"
+
/** Bluetooth Address */
typedef struct {
uint8_t address[6];