2004-03-22 13:53:50

by Xavier Garreau

[permalink] [raw]
Subject: Re: [Bluez-users] l2test problem

> Actually I started with a client on the linux PC and a symbian server
> on the nokia 3650. I used the API's for l2cap sockets and had set the
> psm to 5 (arbitrary choice). Then i got the
> connection refused(111)
> message from the PC.

> It was now that I wanted to use l2test as a client (just for the
connection part).
> So I changed the psm in l2test.c to 5 and tested. But connection still
gets refused.
> The reason for connect response is always - "psm not supported".

PSM 5 is reserved for Telephony Control Protocol so it can be tricky to
access it.
Use a PSM > 0x1000, odd, and with the least significant bit of the most
significant octet equal to 0.

Also look at the -P param for l2test ;-)

BR,
--
Xavier Garreau <[email protected]>
Prim'Time Technology
http://www.prim-time.fr/



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users