public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] "Gather Write"/writev call and BlueZ driver...
@ 2008-08-29 11:06 David Stockwell
  2008-08-30  8:59 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: David Stockwell @ 2008-08-29 11:06 UTC (permalink / raw)
  To: BlueZ development

Not sure who to address this to (Marcel, maybe?), but does the Bluetooth 
driver support the writev call?

The reason for asking is that in AVRCP+Metadata I need to implement 
fragmentation in AVCTP.  Of course, I can just sling chunks of the big 
AVRCP packet into AVCTP buffers, pre-pending with the appropriate AVCTP 
header, but was wondering if there might be a more elegant solution 
(using writev to write the header, then the appropriate piece of the 
AVRCP packet).

David Stockwell
Frequency One 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] "Gather Write"/writev call and BlueZ driver...
  2008-08-29 11:06 [Bluez-devel] "Gather Write"/writev call and BlueZ driver David Stockwell
@ 2008-08-30  8:59 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2008-08-30  8:59 UTC (permalink / raw)
  To: BlueZ development

Hi David,

> Not sure who to address this to (Marcel, maybe?), but does the Bluetooth 
> driver support the writev call?
> 
> The reason for asking is that in AVRCP+Metadata I need to implement 
> fragmentation in AVCTP.  Of course, I can just sling chunks of the big 
> AVRCP packet into AVCTP buffers, pre-pending with the appropriate AVCTP 
> header, but was wondering if there might be a more elegant solution 
> (using writev to write the header, then the appropriate piece of the 
> AVRCP packet).

go ahead and try it. I am not sure about writev, but in general it
should be supported since the kernel callback only expose sendmsg and
the rest it userspace API.

Regards

Marcel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2008-08-30  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29 11:06 [Bluez-devel] "Gather Write"/writev call and BlueZ driver David Stockwell
2008-08-30  8:59 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox