summaryrefslogtreecommitdiff
path: root/android/tester-main.h
diff options
context:
space:
mode:
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>2014-10-29 14:13:32 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-10-29 14:40:00 +0200
commitc7e65ffa0ea37b1557fa3098e2c17e77cdb4723f (patch)
treeef9682c66196eb55631c82fe239a109eef6cc2ac /android/tester-main.h
parent3676ae7b92b0fe8231027d9e63f043a29a6d2f26 (diff)
downloadbluez-c7e65ffa0ea37b1557fa3098e2c17e77cdb4723f.tar.gz
android/tester: Add AVRCP GetElementAttributes test case
Diffstat (limited to 'android/tester-main.h')
-rw-r--r--android/tester-main.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/android/tester-main.h b/android/tester-main.h
index d46b2624d..ac310a343 100644
--- a/android/tester-main.h
+++ b/android/tester-main.h
@@ -409,6 +409,12 @@ struct pdu_set {
.callback_result.rc_index = cb_index, \
}
+#define CALLBACK_RC_GET_ELEMENT_ATTRIBUTES(cb, cb_num_of_attrs, cb_attrs) { \
+ .callback = cb, \
+ .callback_result.num_of_attrs = cb_num_of_attrs, \
+ .callback_result.attrs = cb_attrs, \
+ }
+
#define CALLBACK_DEVICE_PROPS(props, prop_cnt) \
CALLBACK_PROPS(CB_BT_REMOTE_DEVICE_PROPERTIES, props, prop_cnt)
@@ -484,6 +490,8 @@ typedef enum {
CB_AVRCP_PLAY_STATUS_RSP,
CB_AVRCP_REG_NOTIF_REQ,
CB_AVRCP_REG_NOTIF_RSP,
+ CB_AVRCP_GET_ATTR_REQ,
+ CB_AVRCP_GET_ATTR_RSP,
/* Gatt client */
CB_GATTC_REGISTER_CLIENT,
@@ -666,6 +674,8 @@ struct bt_callback_data {
uint32_t song_position;
btrc_play_status_t play_status;
uint64_t rc_index;
+ uint8_t num_of_attrs;
+ btrc_element_attr_val_t *attrs;
};
/*