Skip to content

RFC Extend gobex high level transfer API

Jakub Adamek linux-bluetooth 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4gobex: make transfer structure public and opaquegobex/gobex-transfer.c gobex/gobex.h+27 -260 replies
2/4gobex: make default response function publicgobex/gobex-transfer.c gobex/gobex.h+4 -10 replies
3/4gobex: add response function parameter to APIclient/transfer.c gobex/gobex-transfer.c gobex/gobex.h +1 more+48 -220 replies
4/4gobex: add functions to public transfer APIgobex/gobex-transfer.c gobex/gobex.h+29 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC obexd 0/4] Extend gobex high level transfer API

The purpose of this patch series is to propose an extension to the current high level request transfer API.
The motivation for this is that currently profiles that require parsing of non-body response headers in PUT operations (such as BIP) can not use the high level transfer API. The proposed solution is to make the function the API uses to handle each response packet replaceable at the time of transfer creation.
A custom handler can process incoming packets and (if desired) pass them to the default packet handler in order
for it to proceed with the transfer.

Jakub Adamek (4):
gobex: make transfer structure public and opaque
gobex: make default response function public
gobex: add response function parameter to API
gobex: add functions to public transfer API

 client/transfer.c          |    6 +-
 gobex/gobex-transfer.c     |  122 ++++++++++++++++++++++++++-----------------
 gobex/gobex.h              |   16 +++++-
 unit/test-gobex-transfer.c |   20 ++++----
 4 files changed, 101 insertions(+), 63 deletions(-)
Signature · 1 line
1.7.4.1