Return-Path: From: Mikel Astiz To: linux-bluetooth@vger.kernel.org Cc: Mikel Astiz Subject: [PATCH obexd v1 08/15] client-doc: Synchronization sessions return transfers Date: Mon, 4 Jun 2012 11:37:51 +0200 Message-Id: <1338802678-7009-9-git-send-email-mikel.astiz.oss@gmail.com> In-Reply-To: <1338802678-7009-1-git-send-email-mikel.astiz.oss@gmail.com> References: <1338802678-7009-1-git-send-email-mikel.astiz.oss@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Mikel Astiz Note that the parameter given to PutPhonebook now represents the file name to be read, instead of containing the phonebook data. --- doc/client-api.txt | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/doc/client-api.txt b/doc/client-api.txt index 2c7c03c..5a3e252 100644 --- a/doc/client-api.txt +++ b/doc/client-api.txt @@ -292,14 +292,31 @@ Methods void SetLocation(string location) "SIM2" ...... - string GetPhonebook() + object, dict GetPhonebook(string targetfile) Retrieve an entire Phonebook Object store from remote - device + device, and stores it in a local file. - void PutPhonebook(string obj) + If an empty target file is given, a name will be + automatically calculated for the temporary file. + + The returned path represents the newly created transfer, + which should be used to find out if the content has been + successfully transferred or if the operation fails. + + The properties of this transfer are also returned along + with the object path, to avoid a call to GetProperties. - Send an entire Phonebook Object store to remote device + object, dict PutPhonebook(string sourcefile) + + Send an entire Phonebook Object store to remote device. + + The returned path represents the newly created transfer, + which should be used to find out if the content has been + successfully transferred or if the operation fails. + + The properties of this transfer are also returned along + with the object path, to avoid a call to GetProperties. Message Access hierarchy ========================= -- 1.7.7.6