android/hal-ipc-api: Add Get Element Attributes notification

This commit is contained in:
Luiz Augusto von Dentz 2014-02-13 17:18:45 +02:00 committed by Szymon Janc
parent 83541b26ed
commit eebb90c754
2 changed files with 14 additions and 0 deletions

View File

@ -1358,6 +1358,14 @@ Android HAL name: "avrcp" (BT_PROFILE_AV_RC_ID)
Valid attribute values: Same as in List Player Attributes
Opcode 0x89 - Get Element Attributes notification
Notification parameters: Number of attributes (1 octet)
Attribute # (1 octet)
...
Valid attribute values: Same as in Get Element Attribute
Bluetooth GATT HAL (ID 9)
=========================

View File

@ -920,3 +920,9 @@ struct hal_ev_avrcp_set_player_values {
uint8_t number;
struct hal_avrcp_player_attr_value attrs[0];
} __attribute__((packed));
#define HAL_EV_AVRCP_GET_ELEMENT_ATTRS 0x89
struct hal_ev_avrcp_get_element_attrs {
uint8_t number;
uint8_t attrs[0];
} __attribute__((packed));