summaryrefslogtreecommitdiffstats
path: root/stack/avrc/avrc_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'stack/avrc/avrc_int.h')
-rwxr-xr-x[-rw-r--r--]stack/avrc/avrc_int.h21
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 */