public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: mohalik@india.hp.com
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] l2test problem
Date: Mon, 22 Mar 2004 11:26:17 +0100	[thread overview]
Message-ID: <1079951177.2663.90.camel@pegasus> (raw)
In-Reply-To: <405EBCDD.3090402@india.hp.com>

Hi Swarup,

> > may you wanna take a look at the Bluetooth specification and search for
> > result code 2 of the L2CAP connect response ;)
> > 
> > 	0x0002 Connection refused - PSM not supported.
> >   
> 
> Yes, I saw that earlier. But how do I get the supported PSM's?
> Are they available from the SDP records one gets from the output of
> "sdptool browse"?
> (are they the numbers beside L2CAP in the records?)

yes, they are the uint16 numbers besides the uuid16 protocol UUID for
L2CAP, but why do you want them? You asked about a mobile phone and most
of them are based on the higher layer RFCOMM. So far I haven't seen any
phone that support BNEP, HID or HCRP. And this means that in your case
only two PSM's are supported. PSM 1 for the SDP requests and PSM 3 for
the RFCOMM protocol.

> In case of l2test, which PSM (psm of which record) should it use?

The l2test program is for Linux-to-Linux testing and not really meant
for testing other devices. You should ask yourself what you are trying
to do.

Regards

Marcel




-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  parent reply	other threads:[~2004-03-22 10:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-22  4:33 [Bluez-users] l2test problem Swarup Mohalik
2004-03-22  6:37 ` Marcel Holtmann
     [not found]   ` <405EBCDD.3090402@india.hp.com>
2004-03-22 10:26     ` Marcel Holtmann [this message]
2004-03-22 10:57       ` Xavier Garreau
2004-03-22 13:39         ` Swarup Mohalik
2004-03-22 13:53           ` Xavier Garreau
2004-03-22 14:23           ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1079951177.2663.90.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=mohalik@india.hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox