All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Gareth Reakes <gareth@apache.org>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Bthid question
Date: Fri, 28 Nov 2003 16:01:10 +0100	[thread overview]
Message-ID: <1070031670.9036.166.camel@pegasus> (raw)
In-Reply-To: <20031128060135.H61007@minotaur.apache.org>

Hi Gareth,

> Thanks for the clarification. I have 1 more question. Is the ACL link
> supposed to be terminated with the close of the control/interupt channels?
> I'm sorry if this is obvious, but I do not yet understand exactly what
> this ACL link is in relation to the sockets we have open. If this is the
> case (and I am reading Peter's code correctly) then would you think that
> my problem may be that when the HID terminiates the connection, we do not
> close the sockets and therefore the ACL link?

this is Bluetooth specific, so you should read the specification. The
underlaying data link is always ACL and there is also only one ACL link
between two devices. The L2CAP or RFCOMM connections share always the
same ACL link.

If you exit the program without closing the L2CAP sockets, the OS will
close it for you and this is the same as you close the sockets without
sleeping between it. Closing the ACL link is the job of the kernel.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2003-11-28 15:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-28  9:24 [Bluez-users] Bthid question Gareth Reakes
2003-11-28 13:25 ` Marcel Holtmann
2003-11-28 14:07   ` Gareth Reakes
2003-11-28 15:01     ` Marcel Holtmann [this message]
2003-11-28 15:06       ` Gareth Reakes
2003-11-28 21:07         ` Gareth Reakes
2003-11-28 22:19           ` Marcel Holtmann
2003-11-28 22:38             ` Gareth Reakes
2003-11-28 23:10               ` Marcel Holtmann
2003-11-28 23:26                 ` Gareth Reakes
2003-11-28 23:37                   ` 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=1070031670.9036.166.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=gareth@apache.org \
    /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 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.