Diff between 068a9a4769e585a74e97ccb7168a7cbe00c7ad98 and 600531aa4d98d472461b6df61b929fa2ea44c916

Changed Files

File Additions Deletions Status
tools/sdptool.c +8 -1 modified

Full Patch

diff --git a/tools/sdptool.c b/tools/sdptool.c
index 88a52bb..9fd1b7f 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -232,6 +232,12 @@ static struct attrib_def goep_attrib_names[] = {
 	{ 0x200, "GoepL2capPsm", NULL, 0 },
 };
 
+/* Name of the various PBAP attributes. See BT assigned numbers */
+static struct attrib_def pbap_attrib_names[] = {
+	{ 0x0314, "SupportedRepositories", NULL, 0 },
+	{ 0x0317, "PbapSupportedFeatures", NULL, 0 },
+};
+
 /* Name of the various MAS attributes. See BT assigned numbers */
 static struct attrib_def mas_attrib_names[] = {
 	{ 0x0315, "MASInstanceID", NULL, 0 },
@@ -327,7 +333,8 @@ static struct uuid_def uuid16_names[] = {
 	{ 0x112c, "Audio/Video", NULL, 0 },
 	{ 0x112d, "SIM Access (SAP)", NULL, 0 },
 	{ 0x112e, "Phonebook Access (PBAP) - PCE", NULL, 0 },
-	{ 0x112f, "Phonebook Access (PBAP) - PSE", NULL, 0 },
+	{ 0x112f, "Phonebook Access (PBAP) - PSE",
+		pbap_attrib_names, N_ELEMENTS(pbap_attrib_names) },
 	{ 0x1130, "Phonebook Access (PBAP)", NULL, 0 },
 	{ 0x1131, "Headset (HSP)", NULL, 0 },
 	{ 0x1132, "Message Access (MAP) - MAS",