Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5470825ybf; Thu, 5 Mar 2020 01:19:40 -0800 (PST) X-Google-Smtp-Source: ADFU+vv2jE66G5uIRlgv/xF0CII8VO/BtKqdUB8HfpC1Tyvc6XAaGnKK3LnzuBnmn8Cwje+Y8k5U X-Received: by 2002:aca:db41:: with SMTP id s62mr4826933oig.87.1583399980514; Thu, 05 Mar 2020 01:19:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583399980; cv=none; d=google.com; s=arc-20160816; b=O6A8tJMfCnFc7IAnKxRrE1YFqQixbe1DYUcc+V3Z+D3KfA3g6ohpY8d/yW3ZCcwM66 4LGBPnVZppbvT63TzJd2oQsHwRB6yRd7jkkBTW/xBfxMAABbqCVN0tSeFqEQMw4UorMC fyRk9chZkOxdqYfOWoASVmcPaVeDaEZ2+9I2cSwRrE+2JaSt6XwKJcGGis3uHTY4wkTU NlbTTkast8t/nc5ppI5rKTKsClsDs7XLCfroMGJR+YNN3ESpqL6fwM8ckG6/lIl98aFY ELNNd5MVuBj5WhDKbf1YruCLi797dIN7uWlUvI9XeP//zDTDeh6NwSDJeF9KYuERbZ0s oBSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=e7x9LoHQlmsfG9HO6DSlaIfWAUmtCIKGLVGvmtqV52g=; b=fSdbXkPYZhLYdk6JBAaFUAwFbFMF4h5IfDTGo7TzKTg22pkUQjrLEuM6JUcfHrx35l BSR7R22EEBrWUkLMuW/b0mU2GSU8rK2A+drwbA38KfrkHbUb20exjsPX2RoAX/1rSMqs QBptmsoh6SHOVt1LrD1a4uxlI7ly9cmWSA3iuATZOYW1ZQp37H/9AC/NCSVYqdoovXsV rKBdjzQ379FZVZz2dyRRzPYD0/S6vWHM5hssLN53DvxASV6XEs/aCAMY3BNdgx56ZVGb YK6DgfM0ze4WschKockB3NjjVF1qAKUZIxFHoWUQgg2Q65F9AqZQSbEmuNg8d8TTJri2 OsTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t15si3198053oth.176.2020.03.05.01.19.29; Thu, 05 Mar 2020 01:19:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726740AbgCEJS7 (ORCPT + 99 others); Thu, 5 Mar 2020 04:18:59 -0500 Received: from mga14.intel.com ([192.55.52.115]:48950 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725937AbgCEJS7 (ORCPT ); Thu, 5 Mar 2020 04:18:59 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2020 01:18:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,517,1574150400"; d="scan'208";a="259126132" Received: from unknown (HELO ajay-desktop.iind.intel.com) ([10.223.96.133]) by orsmga002.jf.intel.com with ESMTP; 05 Mar 2020 01:18:58 -0800 From: Ajay Kishore To: linux-bluetooth@vger.kernel.org Subject: [PATCH v3 6/6] doc/obex-api: Update documentation Date: Thu, 5 Mar 2020 14:25:24 +0530 Message-Id: <1583398524-18749-6-git-send-email-ajay.kishore@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1583398524-18749-1-git-send-email-ajay.kishore@intel.com> References: <1583398524-18749-1-git-send-email-ajay.kishore@intel.com> Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This adds documentation with the conversation listing feature --- doc/obex-api.txt | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/doc/obex-api.txt b/doc/obex-api.txt index f39355a..ef81460 100644 --- a/doc/obex-api.txt +++ b/doc/obex-api.txt @@ -712,6 +712,44 @@ Methods void SetFolder(string name) Possible errors: org.bluez.obex.Error.InvalidArguments org.bluez.obex.Error.Failed + array{object, dict} ListConversations(string folder, dict filter) + + Returns an array containing the conversations found in the + given subfolder of the current folder, or in the current + folder if folder is empty. + + Possible Filters: MaxListCount, LastActivityBegin, LastActivityEnd, + ReadStatus, Recipient + + Each message is represented by an object path followed + by a dictionary of the properties. + + Properties: + + string id: + + Conversation unique identification + + string last_activity: + + Conversation timestamp for the last activity + + string chat_state: + + Conversation current chat state of the participants + + string presence_availability: + + Conversation participants availability + + string presence_text: + + User defined status of the conversation + + Possible errors: org.bluez.obex.Error.InvalidArguments + org.bluez.obex.Error.Failed + + void UpdateInbox(void) Request remote to update its inbox. @@ -799,6 +837,18 @@ Filter: uint16 Offset: Possible values: True for high priority or False for non-high priority + string LastActivityBegin: + + Filter conversations by starting period. + + Possible values: Date in "YYYYMMDDTHHMMSS" format. + + string LastActivityEnd: + + Filter conversations by ending period. + + Possible values: Date in "YYYYMMDDTHHMMSS" format. + Message hierarchy ================= -- 2.7.4