diff options
author | Ravi Nagarajan <nravi@broadcom.com> | 2013-03-06 05:29:48 -0800 |
---|---|---|
committer | Zhihai Xu <zhihaixu@google.com> | 2013-03-20 18:56:04 -0700 |
commit | 9adddf4965e9ddb01e339b934c343fcbd842a977 (patch) | |
tree | 303ccd7b4f4ea4f2a13c6263bac5cc5e47c38360 /stack/avrc/avrc_int.h | |
parent | b291d10545c3f316fdcbc21e8f58444c51e72569 (diff) | |
download | android_system_bt-9adddf4965e9ddb01e339b934c343fcbd842a977.tar.gz android_system_bt-9adddf4965e9ddb01e339b934c343fcbd842a977.tar.bz2 android_system_bt-9adddf4965e9ddb01e339b934c343fcbd842a977.zip |
Initial version of Stack for AVRCP 1.3
BTIF and stack changes for supporting AVRCP 1.3
Change-Id: Id02eb7b6a385683cedc41c62b6f829f5d7620bd4
Diffstat (limited to 'stack/avrc/avrc_int.h')
-rwxr-xr-x[-rw-r--r--] | stack/avrc/avrc_int.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/stack/avrc/avrc_int.h b/stack/avrc/avrc_int.h index b6c90b187..33eebdc46 100644..100755 --- a/stack/avrc/avrc_int.h +++ b/stack/avrc/avrc_int.h @@ -96,10 +96,31 @@ ** Type definitions *****************************************************************************/ +#if (AVRC_METADATA_INCLUDED == TRUE) +/* type for Metadata fragmentation control block */ +typedef struct +{ + BT_HDR *p_fmsg; /* the fragmented message */ + UINT8 frag_pdu; /* the PDU ID for fragmentation */ + BOOLEAN frag_enabled; /* fragmentation flag */ +} tAVRC_FRAG_CB; + +/* type for Metadata re-assembly control block */ +typedef struct +{ + BT_HDR *p_rmsg; /* the received message */ + UINT16 rasm_offset; /* re-assembly flag, the offset of the start fragment */ + UINT8 rasm_pdu; /* the PDU ID for re-assembly */ +} tAVRC_RASM_CB; +#endif typedef struct { tAVRC_CONN_CB ccb[AVCT_NUM_CONN]; +#if (AVRC_METADATA_INCLUDED == TRUE) + tAVRC_FRAG_CB fcb[AVCT_NUM_CONN]; + tAVRC_RASM_CB rcb[AVCT_NUM_CONN]; +#endif tAVRC_FIND_CBACK *p_cback; /* pointer to application callback */ tSDP_DISCOVERY_DB *p_db; /* pointer to discovery database */ UINT16 service_uuid; /* service UUID to search */ |