Diff between 5955e79c289c99d3783920d50d4f7a18f5a6bbec and 713ca9d9ce0580fafd9cf8df541ccd4f76a63e94

Changed Files

File Additions Deletions Status
obexd/plugins/opp.c +5 -1 modified

Full Patch

diff --git a/obexd/plugins/opp.c b/obexd/plugins/opp.c
index 2375a21..d9b68b2 100644
--- a/obexd/plugins/opp.c
+++ b/obexd/plugins/opp.c
@@ -72,7 +72,7 @@
     <sequence>							\
       <sequence>						\
         <uuid value=\"0x1105\"/>				\
-        <uint16 value=\"0x0100\" name=\"version\"/>		\
+        <uint16 value=\"0x0102\" name=\"version\"/>		\
       </sequence>						\
     </sequence>							\
   </attribute>							\
@@ -92,6 +92,9 @@
       <uint8 value=\"0xff\"/>					\
     </sequence>							\
   </attribute>							\
+  <attribute id=\"0x0200\">					\
+    <uint16 value=\"%u\" name=\"psm\"/>				\
+  </attribute>							\
 </record>"
 
 static void *opp_connect(struct obex_session *os, int *err)
@@ -214,6 +217,7 @@ static struct obex_service_driver driver = {
 	.name = "Object Push server",
 	.service = OBEX_OPP,
 	.channel = OPP_CHANNEL,
+	.port = OBEX_PORT_RANDOM,
 	.record = OPP_RECORD,
 	.connect = opp_connect,
 	.progress = opp_progress,