Thread (3 messages) 3 messages, 3 authors, 2016-09-04

[PATCH 1/1] parser/sdp: parse MAS Instance ID and Message Type

flat view
STALE3694d

From: Biman Paul <hidden>
Date: 2016-03-09 21:36:07
Subsystem: the rest · Maintainer: Linus Torvalds

From: Biman Paul <redacted>

Parsing Support added in SDP record:
1. MAS Instance ID in MAP
2. Message Types supported by MAS
---
 tools/parser/sdp.c |    3 +++
 tools/parser/sdp.h |    3 +++
 2 files changed, 6 insertions(+)
diff --git a/tools/parser/sdp.c b/tools/parser/sdp.c
index dba9a36..1f8d6c5 100644
--- a/tools/parser/sdp.c
+++ b/tools/parser/sdp.c
@@ -211,6 +211,9 @@ static sdp_attr_id_nam_lookup_table_t sdp_attr_id_nam_lookup_table[] = {
 	{ SDP_ATTR_ID_SUPPORTED_FUNCTIONS,               "SuppFunctions"      }, /* Imaging */
 	{ SDP_ATTR_ID_TOTAL_IMAGING_DATA_CAPACITY,       "SuppTotalCapacity"  }, /* Imaging */
 	{ SDP_ATTR_ID_SUPPORTED_REPOSITORIES,            "SuppRepositories"   }, /* PBAP */
+	{ SDP_ATTR_ID_MAS_INSTANCE_ID,                   "MASInstanceID"      }, /* MAS ID */
+	{ SDP_ATTR_ID_MAP_SUPPORTED_TYPES,               "SupportedMessageTypes" }, /* Message Types */
 };
 
 #define SDP_ATTR_ID_NAM_LOOKUP_TABLE_SIZE \
diff --git a/tools/parser/sdp.h b/tools/parser/sdp.h
index ed55a23..130da3f 100644
--- a/tools/parser/sdp.h
+++ b/tools/parser/sdp.h
@@ -157,5 +157,8 @@
 #define SDP_ATTR_ID_SUPPORTED_FUNCTIONS                0x0312 /* Imaging */
 #define SDP_ATTR_ID_TOTAL_IMAGING_DATA_CAPACITY        0x0313 /* Imaging */
 #define SDP_ATTR_ID_SUPPORTED_REPOSITORIES             0x0314 /* PBAP */
+#define SDP_ATTR_ID_MAS_INSTANCE_ID                    0x0315 /* MAS ID */
+#define SDP_ATTR_ID_MAP_SUPPORTED_TYPES                0x0316 /* Message Types */
 
 #endif /* __SDP_H */
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help