Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <448A981D.6030101@free.fr> References: <447B4F98.8020501@free.fr> <1148934839.31689.116.camel@localhost> <447C4862.5050205@free.fr> <1149189300.28511.61.camel@localhost> <448733E2.7090602@free.fr> <1149712246.22472.56.camel@localhost> <4489AA6C.7010300@free.fr> <1149884263.3985.10.camel@aeonflux.holtmann.net> <448A981D.6030101@free.fr> Date: Sun, 11 Jun 2006 01:14:31 +0200 Message-Id: <1149981271.5358.20.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] [PATCH] SCO flow control Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Fabien, > 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...) lets stay with the sockets for now. > 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 :-) Sounds like a good plan. Regards Marcel _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel