Skip to content

Commit

Permalink
doc: Update OBEX push agent callback parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
holtmann committed Dec 21, 2012
1 parent be43b12 commit 30e3d6c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/obex-agent-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ Methods void Release()
agent, because when this method gets called it has
already been unregistered.

string Authorize(object transfer, string address, string name,
string type, int32 length, int32 time)
string AuthorizePush(object transfer)

This method gets called when the service daemon
needs to accept/reject a Bluetooth object push request.

Returns the full path (including the filename) where
the object shall be stored.
the object shall be stored. The tranfer object will
contain a Filename property that contains the default
location and name that can be returned.

Possible errors: org.bluez.obex.Error.Rejected
org.bluez.obex.Error.Canceled
Expand Down
5 changes: 5 additions & 0 deletions doc/obex-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ Properties string Status [readonly]

Complete name of the file being received or sent.

For incoming object push transaction, this will be
the proposed default location and name. It can be
overwritten by the AuthorizePush agent callback
and will be then updated accordingly.


Object Push hierarchy
=====================
Expand Down

0 comments on commit 30e3d6c

Please sign in to comment.