Thread (3 messages) 3 messages, 3 authors, 2012-12-04

Re: [PATCH BlueZ 2/2 v1] l2test: Add support to test auto select PSM

From: Gustavo Padovan <hidden>
Date: 2012-11-20 17:52:13

Hi Syam,

* Syam Sidhardhan [off-list ref] [2012-11-20 21:45:51 +0530]:
quoted hunk ↗ jump to hunk
This patch enable us to test the auto select PSM for server by passing
PSM value as 0.

Ex: l2test -d -P 0
l2test[2585]: Waiting for connection on psm 4097 ...
---
v1-> Corrected the misplaced code

 test/l2test.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/test/l2test.c b/test/l2test.c
index 7645681..485887f 100644
--- a/test/l2test.c
+++ b/test/l2test.c
@@ -87,7 +87,7 @@ static long buffer_size = 2048;
 
 /* Default addr and psm and cid */
 static bdaddr_t bdaddr;
-static unsigned short psm = 0x1011;
+static unsigned short psm = 0;
Your patch makes the client side to always pass the psm option and I don't
think this is a good approach. I think we need something smarter here to not
break things.

	Gustavo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help