On Fri, Jun 3, 2011 at 9:40 AM, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > What about doing this directly on obex_write_stream, so that whenever > we read the first time an OBEX_HRD_BODY data we do start streaming? If > that is possible this also means that we don't really need .get to > return this boolean stream since we gonna start the stream on demand > when the data returned is OBEX_HRD_BODY. Yes, it is also possible. It's just a bit trickier. I'm working on this now, so I should be able to send new patch set soon. -- Slawomir Bochenski -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html