Diff between b148a4edf1303302ac93ab0de68cee6060ddca80 and 274194ee8f65811895623124bbf85d3d419f8357

Changed Files

File Additions Deletions Status
android/avrcp-lib.h +10 -0 modified
android/avrcp.c +0 -5 modified

Full Patch

diff --git a/android/avrcp-lib.h b/android/avrcp-lib.h
index 8e6ee40..add7739 100644
--- a/android/avrcp-lib.h
+++ b/android/avrcp-lib.h
@@ -126,6 +126,16 @@
 #define AVRCP_MEDIA_SEARCH			0x02
 #define AVRCP_MEDIA_NOW_PLAYING			0x03
 
+/* SDP features */
+#define AVRCP_FEATURE_CATEGORY_1	0x0001
+#define AVRCP_FEATURE_CATEGORY_2	0x0002
+#define AVRCP_FEATURE_CATEGORY_3	0x0004
+#define AVRCP_FEATURE_CATEGORY_4	0x0008
+#define AVRCP_FEATURE_PLAYER_SETTINGS	0x0010
+#define AVRCP_FEATURE_GROUP_NAVIGATION	0x0020
+#define AVRCP_FEATURE_BROWSING		0x0040
+#define AVRCP_FEATURE_MULTIPLE_PLAYERS	0x0080
+
 /* Company IDs for vendor dependent commands */
 #define IEEEID_BTSIG		0x001958
 
diff --git a/android/avrcp.c b/android/avrcp.c
index a0d412d..bcb4228 100644
--- a/android/avrcp.c
+++ b/android/avrcp.c
@@ -49,11 +49,6 @@
 
 #define L2CAP_PSM_AVCTP 0x17
 
-#define AVRCP_FEATURE_CATEGORY_1	0x0001
-#define AVRCP_FEATURE_CATEGORY_2	0x0002
-#define AVRCP_FEATURE_CATEGORY_3	0x0004
-#define AVRCP_FEATURE_CATEGORY_4	0x0008
-
 static bdaddr_t adapter_addr;
 static uint32_t record_tg_id = 0;
 static uint32_t record_ct_id = 0;