public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Vladimeros Vladimerou <vladimer@legend.me.uiuc.edu>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] l2cap and multiple connections
Date: Fri, 14 May 2004 19:56:07 +0200	[thread overview]
Message-ID: <1084557367.25099.211.camel@pegasus> (raw)
In-Reply-To: <Pine.LNX.4.44.0405141244120.5838-100000@elegy.mie.uiuc.edu>

Hi Vlad,

> > you should step down to a book for socket programming. Which actually
> > means bind() once and accept() often ;)
> 
>   I know this is how it's normally done, but since
> I was using HCI before, and connections had to be initiated by the
> "master", I thought the method I mentioned was the way to use.
> 
>   So, from what your saying, I should listen() and accept() at the 
> bluetooth "master"? Is there an implicit role-change command
> happening somewhere, cause if I accept at the "master", otherwise,
> that would mean that the connection is initiated by the "slave", which
> is not as the bluetooth spec, right? How does it work?

the master is the device that creates the connection. That is what the
Bluetooth specification says. This means that an access point for
example is not a master per se, but it can tell a client to become
slave. Look at the L2CAP socket options for the master link policy.

> "eSCO"? Never heard about that. Thanks, I'll look into that.

It is part of the Bluetooth 1.2 specification.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2004-05-14 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-14 17:36 [Bluez-devel] l2cap and multiple connections Vladimeros Vladimerou
2004-05-14 17:41 ` Marcel Holtmann
2004-05-14 17:50   ` Vladimeros Vladimerou
2004-05-14 17:56     ` Marcel Holtmann [this message]

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=1084557367.25099.211.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=vladimer@legend.me.uiuc.edu \
    /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