All of lore.kernel.org
 help / color / mirror / Atom feed
* How to send stream via obexd without ending request
@ 2010-09-28 10:14 Lukasz Pawlik
  2010-09-28 11:25 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 3+ messages in thread
From: Lukasz Pawlik @ 2010-09-28 10:14 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I want to stream data immediately after they appear and wait for next 
part. So far I didn't manage to find a way how to do this properly. 
Returning error EAGAIN from my read function leads to canceling request 
and this is something I don't want to do. The other way I was able to 
find is returning value > 0 from read function until last part of data 
appear. Obexd will stream data when buffer exceed allocated memory chunk 
and return to read more data. This is no solution because it forces 
obexd to send empty streams. Does anyone knows how to solve this problem ?

-- 
Łukasz Pawlik

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

end of thread, other threads:[~2010-09-28 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 10:14 How to send stream via obexd without ending request Lukasz Pawlik
2010-09-28 11:25 ` Luiz Augusto von Dentz
2010-09-28 13:06   ` Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.