Commit: 8042fbf632e6ef0a29e0b5cb0ced13e12d1e2f94
Parent: e669d8363fbe3aee8261e18d721835c8f3467f54
Author: Radoslaw Jablonski <ext-jablonski.radoslaw@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:34
Tree: 29423b8ff5643613c50c2300223e3249dfc7437c

obexd: Add support for notifying PBAP about more parts from backend Added new parameter to phonebook_cb - lastpart variable. If backend want to notify that more parts of current request will be delivered later, it should use lastpart=FALSE. Because of that, PBAP core will 'know' that should not finalize request immediately after receiving data and wait for more parts to come. If result is returned in one part and no more responses part will be sent later, then backend should use lastparam=TRUE. Previously results of request from backend was always returned in one part to PBAP core.

Diffstat

M obexd/plugins/irmc.c | 5 +++- -
M obexd/plugins/pbap.c | 10 +++++++- - -
M obexd/plugins/phonebook-dummy.c | 4 ++- -
M obexd/plugins/phonebook-ebook.c | 7 ++++- - -
M obexd/plugins/phonebook-tracker.c | 13 +++++++- - - - - -
M obexd/plugins/phonebook.h | 2 +-

6 files changed, 24 insertions(+), 17 deletions(-)

View Full Diff | Patch