Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp860986ybl; Fri, 10 Jan 2020 07:57:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwYGAjWoQcokCiN4rhl3V/fV3qeytNSTITyUfSIZQ139zEdLEVL7Sd05tSqPTCtPlpnzjII X-Received: by 2002:a54:4085:: with SMTP id i5mr2794299oii.17.1578671872308; Fri, 10 Jan 2020 07:57:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578671872; cv=none; d=google.com; s=arc-20160816; b=ED+vbbAEdzOasTPGYWfn1fx5kE5298iWNnEy4SFXDSv6x1W3mqU09X8Et6q3wKyc3T uk1pctFhRXLmd0gBoeJ6NnP7ITJU8qVbxR2XN0yGM7yJqaynVZHF/Ttvc7ZmccktOvXs G2mBiJUfawexpab7EZ32O8P9M/F4kp9U63BsErf2Oz5wGWuTV4K/TnjBoLAhFW/Xvlgg R1U8RqH7nXkUT5hliD4ArW1XqPjfbJwBGlwuMet37MdPzJQGi+rk7CgJbYcIXTG0ZCTJ RPs4Rpe/ae3tggnCAkjNA88Jnt4xyggXgWDts7MzBaWFa3IwHPklL0+WYe8wF9TMEXxS KxFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=GQrELnWaNkbLnu7iUJ4jRMfQ2doTqb0e3TTzK7hz9X4=; b=f5kUkTJNq5DbjfM4J6mSUHtqPJQbU8EDR5gFxYxx5Ey9dw3m96FRKWe8XsayERUFwY UHJnoHg+Xlo4/08ZfaQYCaAllanppS5U+eVGbQ2gxos/aCFj4elM04Uk85sR6EaM8eVH eVqwIUh25CqhqAnVXEb2lcvkUBzZcsToQAqubp/hVD/bor44jeduFW3eCAVDxW/9q8TA TezR949BpQoF/gtImKA35d0CjRGaT52Fmg5HnPOPbNJAMD7ak+c0cptwIWup1wr0hY7t oRkobCFpjaUONMEkJ5/RZdoZcHqZYW+E8xhA3pM0jKPYFhaTEqvhXZTApNws1PqSWr35 LS+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KuxypsG4; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si1983222otf.87.2020.01.10.07.57.32; Fri, 10 Jan 2020 07:57:52 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KuxypsG4; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728370AbgAJP5a (ORCPT + 99 others); Fri, 10 Jan 2020 10:57:30 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:37347 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728356AbgAJP5a (ORCPT ); Fri, 10 Jan 2020 10:57:30 -0500 Received: by mail-lf1-f68.google.com with SMTP id b15so1847825lfc.4 for ; Fri, 10 Jan 2020 07:57:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GQrELnWaNkbLnu7iUJ4jRMfQ2doTqb0e3TTzK7hz9X4=; b=KuxypsG4o0WYLvoHQOJip6c+rFCPX4sH8OYCDw3WJw9xXNFtNvz/++UCftS/ouRJhV 4izxEUiSMenhA/VWkeNmdv2L9CIsoXT5xuWhpb4pAElQ4zDL4TVhKV4qsMrCNcPg0bMo SBZXk+Gdznqu/gjQlpouDD0VFibQQilhWR+n1FnYmWHffIzaWSvzaZA+gMa0D74BzLU/ WEXBw6Y7m/NBwlmMyyM+BEH4fHdNTS+cJNo1BAvtTLNtsPKNAFpIfRvzbu11VeKK19WY ts3Y5qmglNnG0Jv8qEJuLcP7c8OtInooSq+j0mBwIgD10K+wV8+YgpuaYAUTpFwOLyZt TVBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GQrELnWaNkbLnu7iUJ4jRMfQ2doTqb0e3TTzK7hz9X4=; b=kUu1dj4N77j2E5WLJwQzEMYVpf+8n6XtiAk3Le5l43RUCepMjZdHllfIU821xIjdw+ x6TE/PcgLCWRk1UphWW2sKqGnwAYiPML5VHvO1W8zg972dh9XFimMhHoYoVTR0GhuKiR rzDMMdo6o83eSi06jOA53nKU3mVNtnaSg47fQ8ja61gqrcabNhpMa5onhGtOo4F6tFtD hoO3VR5dALk64wqDkKMx0JepjzwJx7mwV+PEbSJrT3EXzSWboiTJmiDSibyGIHMwmu9n HrWPImjAW0mf8Q8ALAeiF2fC50p/B7UEmnOY+iyyPgqM1Sd+Ha5bKwfTlcM/Ao+tucHr oAOQ== X-Gm-Message-State: APjAAAUDikC2WiAB7P6lGdf7lTia4XM4EJpJDAPj5bwXYv6qMqoUbP6r VOqla3aMZNczZbYNNim3G6MfrgD8fndjbNemUoUddBX+ X-Received: by 2002:ac2:5a09:: with SMTP id q9mr2779043lfn.71.1578671847105; Fri, 10 Jan 2020 07:57:27 -0800 (PST) MIME-Version: 1.0 References: <1577163782-28759-1-git-send-email-ajay.kishore@intel.com> <1577163782-28759-2-git-send-email-ajay.kishore@intel.com> In-Reply-To: <1577163782-28759-2-git-send-email-ajay.kishore@intel.com> From: Matias Karhumaa Date: Fri, 10 Jan 2020 17:57:16 +0200 Message-ID: Subject: Re: [PATCH v2 6/6] doc/obex-api: Update documentation To: Ajay Kishore Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Ajay, ti 24. jouluk. 2019 klo 7.29 Ajay Kishore (ajay.kishore@intel.com) kirjoitti: > > This adds documentation with the conversation listing feature > > Signed-off-by: Ajay Kishore Signed-off-by isn't necessary for Bluez patches. > --- > doc/obex-api.txt | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 94 insertions(+) > > diff --git a/doc/obex-api.txt b/doc/obex-api.txt > index f39355a..8f27b40 100644 > --- a/doc/obex-api.txt > +++ b/doc/obex-api.txt > @@ -892,3 +892,97 @@ Properties string Folder [readonly] > boolean Protected [readonly] > > Message protected flag > + > +Conversation Access hierarchy > +============================== > + > +Service org.bluez.obex > +Interface org.bluez.obex.Conversation1 > +Object path [Session object path] > + > +Methods array{object, dict} ListConversations(string folder, dict filter) I think this does not quite match the implementation. I think ListConversation belongs to MessageAccess1 interface. Conversation1 interface has similar method than Message1 interface. > + 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 > + > + Properties: > + string id: > + > + Conversation unique identification > + > + string name: > + > + Conversation name > + > + string last_activity: > + > + Conversation timestamp for the last activity > + > + boolean read_status: > + > + Conversation read flag > + > + string version_counter: > + > + 128 bits version counter. > + The 'Conversation-Listing Version Counter', > + 'Conversation Version Counter', and 'Folder > + Version Counter' are used to detect if something > + has changed > + > + string summary: > + > + Conversation summary > + > + string display: > + > + Conversation participants name > + > + 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 > + > + uint16 priority: > + > + Conversation participant priority > + > + Possible errors: org.bluez.obex.Error.InvalidArguments > + org.bluez.obex.Error.Failed > + > + > +Filter: uint16 MaxListCount: Shouldn't this be MaxCount? > + > + Maximum number of items in the conversations. > + > + 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. > + > + boolean ReadStatus: > + > + Filter converstions by read flag. > + > + Possible values: True for read or False for unread > + > + string Recipient: > + > + Filter conversations by conversation-recipient. > -- > 2.7.4 > Best regards, Matias Karhumaa