Re: "Gather Write"/writev call and BlueZ driver...
Marcel Holtmann <[email protected]> Sat, 30 Aug 2008 10:59:41 +0200
| Newsgroups | gmane.linux.bluez.devel |
|---|---|
| Message-ID | <1220086781.7145.35.camel@californication> |
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=/