All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] psm-need help!
@ 2005-02-04 16:54 Flávio
  2005-02-04 17:27 ` Peter Wippich
  0 siblings, 1 reply; 4+ messages in thread
From: Flávio @ 2005-02-04 16:54 UTC (permalink / raw)
  To: bluez-devel

Hi
i know this is a simples question but i don know what is "psm" !
i saw some code examples and the psm seems to be used like "port" in tpc/ip!
To make a conection between 2 terminals with socket, the server must
have bind with the same psm that the client use to connect? (or else
no connection is made?)

Thanks for the help!


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] psm-need help!
  2005-02-04 16:54 [Bluez-devel] psm-need help! Flávio
@ 2005-02-04 17:27 ` Peter Wippich
  2005-02-04 17:34   ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Wippich @ 2005-02-04 17:27 UTC (permalink / raw)
  To: bluez-devel


Hi,

PSM (protocol service multiplexer) is defined in RFCOMM. Basically it is
the channel two RFCOMM devices use to communicate. You may have more then
one RFCOMM channel on different PSMs between two Bluetooth devices.
Normaly the PSM needed to connect to a remote RFCOMM channel is found by
an SDP search (it is part of the service record).

Hope this helps. If not, RTFM......

Ciao,

Peter

On Fri, 4 Feb 2005, Fl=E1vio wrote:

> Hi
> i know this is a simples question but i don know what is "psm" !
> i saw some code examples and the psm seems to be used like "port" in tp=
c/ip!
> To make a conection between 2 terminals with socket, the server must
> have bind with the same psm that the client use to connect? (or else
> no connection is made?)
>
> Thanks for the help!
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

|	Peter Wippich 			Voice: +49 30 46776411		|
|	G&W Instruments GmbH		fax:   +49 30 46776419		|
|	Gustav-Meyer-Allee 25, Geb. 12	Email: pewi@gw-instruments.de	|
|	D-13355 Berlin  / Germany					|




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] psm-need help!
  2005-02-04 17:27 ` Peter Wippich
@ 2005-02-04 17:34   ` Marcel Holtmann
  2005-02-04 17:46     ` Peter Wippich
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-02-04 17:34 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Peter,

> PSM (protocol service multiplexer) is defined in RFCOMM. Basically it is
> the channel two RFCOMM devices use to communicate. You may have more then
> one RFCOMM channel on different PSMs between two Bluetooth devices.
> Normaly the PSM needed to connect to a remote RFCOMM channel is found by
> an SDP search (it is part of the service record).

let me correct this. The PSM is part of the L2CAP and not RFCOMM. The
ports (if you wanna name it so) of L2CAP are called PSM. All of them are
odd and they exists reserved ones. Details are in the specification. In
RFCOMM it is called DLCI (with direction bit) or channels for short.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] psm-need help!
  2005-02-04 17:34   ` Marcel Holtmann
@ 2005-02-04 17:46     ` Peter Wippich
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Wippich @ 2005-02-04 17:46 UTC (permalink / raw)
  To: BlueZ Mailing List


Hi Marcel,

sorry, you are right. I always mix up PSM and SCN . There are too many
places where you have "channels" .......

I hope I did not confuse anybody to much.

Ciao,
	Peter

On Fri, 4 Feb 2005, Marcel Holtmann wrote:

> Hi Peter,
>
> > PSM (protocol service multiplexer) is defined in RFCOMM. Basically it is
> > the channel two RFCOMM devices use to communicate. You may have more then
> > one RFCOMM channel on different PSMs between two Bluetooth devices.
> > Normaly the PSM needed to connect to a remote RFCOMM channel is found by
> > an SDP search (it is part of the service record).
>
> let me correct this. The PSM is part of the L2CAP and not RFCOMM. The
> ports (if you wanna name it so) of L2CAP are called PSM. All of them are
> odd and they exists reserved ones. Details are in the specification. In
> RFCOMM it is called DLCI (with direction bit) or channels for short.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

|	Peter Wippich 			Voice: +49 30 46776411		|
|	G&W Instruments GmbH		fax:   +49 30 46776419		|
|	Gustav-Meyer-Allee 25, Geb. 12	Email: pewi@gw-instruments.de	|
|	D-13355 Berlin  / Germany					|




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-04 17:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-04 16:54 [Bluez-devel] psm-need help! Flávio
2005-02-04 17:27 ` Peter Wippich
2005-02-04 17:34   ` Marcel Holtmann
2005-02-04 17:46     ` Peter Wippich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.