linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fabien Chevalier <fabchevalier@free.fr>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] [PATCH] SCO flow control
Date: Sat, 10 Jun 2006 11:59:57 +0200	[thread overview]
Message-ID: <448A981D.6030101@free.fr> (raw)
In-Reply-To: <1149884263.3985.10.camel@aeonflux.holtmann.net>

Hi Marcel,

A just thought to a few more things related to a sco socket.
I just though to a real advantage of using socket for SCO (vs ALSA 
device or character device).
Using a character or block device usually means that the device is 
connected. You can plug your USB mass storage device, and the /dev/sda 
will be usefull.
Sockets are usually used to connect to devices that the OS does not know 
if they exist or not (think to a distant IP host: the kernel has no way 
of knowing if it is valid are not. The connect call will just ask the 
kernel to 'give a try', and bail out if the device does not exist).
Having said that, this is really quite similar to the bluetooth 
technology, where before you have tryed to connect, you don't know if 
the device is on or off...)

And for kfifo use: it make sense, however the bad point is that all 
bluez stack is coded with sk_buffs all over the place. Using kfifo
today will mean having to do the following convertion:

(hci core) kfifo --> (hci device) sk_buff

I think for now i'm gonna stick with sk_buffs :-)
However i will have a look to see how to queue sk_buffs at hci core 
layer instead of socket layer :-)

Cheers,

Fabien


_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2006-06-10  9:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-29 19:46 [Bluez-devel] [PATCH] SCO flow control Fabien Chevalier
2006-05-29 20:33 ` Marcel Holtmann
2006-05-29 21:39   ` Pieter Poorthuis
2006-05-29 22:21     ` Marcel Holtmann
2006-05-30 13:28   ` Fabien Chevalier
2006-06-01 19:15     ` Marcel Holtmann
2006-06-07 20:15       ` Fabien Chevalier
2006-06-07 20:30         ` Marcel Holtmann
2006-06-09 17:05           ` Fabien Chevalier
2006-06-09 20:17             ` Marcel Holtmann
2006-06-10  9:24               ` Fabien Chevalier
2006-06-10 22:22                 ` Marcel Holtmann
2006-06-10  9:59               ` Fabien Chevalier [this message]
2006-06-10 23:14                 ` 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=448A981D.6030101@free.fr \
    --to=fabchevalier@free.fr \
    --cc=bluez-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).