From: Lukasz Pawlik <lukasz.pawlik@comarch.com>
To: linux-bluetooth@vger.kernel.org
Subject: How to send stream via obexd without ending request
Date: Tue, 28 Sep 2010 12:14:50 +0200 [thread overview]
Message-ID: <4CA1C01A.3040403@comarch.com> (raw)
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
next reply other threads:[~2010-09-28 10:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 10:14 Lukasz Pawlik [this message]
2010-09-28 11:25 ` How to send stream via obexd without ending request Luiz Augusto von Dentz
2010-09-28 13:06 ` Luiz Augusto von Dentz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CA1C01A.3040403@comarch.com \
--to=lukasz.pawlik@comarch.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.