Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2151389ybi; Sat, 13 Jul 2019 07:53:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzopVBoy/LiJM4C6q6yVh4f705uGqydpM0fVBCPqgGslkNwlKmrgFNWsHY7SBL+EqUWWblt X-Received: by 2002:a17:90a:bb94:: with SMTP id v20mr18918165pjr.88.1563029617348; Sat, 13 Jul 2019 07:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563029617; cv=none; d=google.com; s=arc-20160816; b=BC0+hWXNZxRm2moACiz7iaiCg7kTEDBhvaXcbOfIY6tpZE2Ii9YJdVtkyc+7dtZz0Z mzD7j4p++k7bw9i8q0OwsN5v2XC4LEFrrB4BP5yRlI+rjnf36FFikU8ELIFLfQFEATmz XqKQZvrm7cLP6HWbfKLQUDETxByQ0MhEuEBgHFGRPYkvkTK/RfaVHB6dfcUFu+F9asYX L5lKSFwSSrk4mZE9JYahzE9+PSUDFdMgIkPoxdUHUv1jM3qJnH+Nvk6SY1TimLVLJuZU mlM90eyrwIvxByiCb05H5Z8cdXXxjVYWYaCYy3/DC4vo0B/vLV9iSON2ZrkmQhEUejiO kMTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+EpY7TbCNUCxbfq/nA1UuYrOkXKvnEL2BxXNBei8XaY=; b=XN7Q4+4c5L7dFG2OCfXjWz5W46p3wbnXPNC7/xDkUeDDEoQjX7zeeDnssETSxTduJu pnYOogd5KLs8iQ66pSRc4zrtArqvo3GsjyG/HSLm2PCMJIW4SHOFbNnrayuXxjbYq6EW Wi3DBBNEWUnaCF6apG1I/lLWu0VFmXidiY5QdLp9PTjft51GMpJEESAzshnuu9G6uHun GsxC8/gtrb8K5QSO/nvmV7vAZycMtaQ0MIrDR9jgwkvmDRuRROuGIRBsxY9AuSfDv8pa Cv8nCRBDTdkUA+q7qWW8SsifY4iBwCifIsBlNGTTvlK9ZQUMX2ZVonR/0kpaZMXqzFnW cEtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="J9pU9X/G"; 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 y34si11300010plb.423.2019.07.13.07.53.00; Sat, 13 Jul 2019 07:53:37 -0700 (PDT) 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="J9pU9X/G"; 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 S1727656AbfGMOw7 (ORCPT + 99 others); Sat, 13 Jul 2019 10:52:59 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:42080 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727626AbfGMOw7 (ORCPT ); Sat, 13 Jul 2019 10:52:59 -0400 Received: by mail-ot1-f67.google.com with SMTP id l15so12388379otn.9 for ; Sat, 13 Jul 2019 07:52:58 -0700 (PDT) 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; bh=+EpY7TbCNUCxbfq/nA1UuYrOkXKvnEL2BxXNBei8XaY=; b=J9pU9X/GNc3rEsMb4DPQTTyuMctyyvVJxk1/Fkrblz7AriLHULN5TSvKgAoIy5IK8V vp57N5uFs8RDbdTo3HouzayrOCaX5PC4Fywr3l/7xWipH5EVll+B6iokWuc8pRk+GlXS +OhOvkzlHCaP71qWTGZU4sf07trPICmjUNz9cYvOsPbqNYOXTMZKTf0iAMVNQHCEp0iP ePzUxAUwLPDqR1zMmiK2ark6uICI8EEX88Lc3ghERjoT9wF/NtSsjI0dE9IsYQr5BQiJ 6lNxsuL0ZFFwb/JA50tO7W1Yx7TQyd3/nuHRkNwrtoW4Z6tL7GC4/s4hHRiVparplS/6 N6Qw== 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; bh=+EpY7TbCNUCxbfq/nA1UuYrOkXKvnEL2BxXNBei8XaY=; b=acecMkr8035t+Y70WbfPyrf85g1a8xXnzey4FTKjioWhle+0d0QneT4a+wF93Z9ORQ gKztAW00YhK7BQdnkQdy1R2Jtig05HfTOHfq4chftjwuOh1AJ48/WjPwsaEbGQvwEhc/ rEdnvoRSXxLcByVlXpBf26VegtI7Ioy92IPlR7PTEWTagpbkGwD+W45oxKO6DHhyFHna 0fxPJmB+GFOZH+WdcZuYNA2HL5JyKRJCBBH1XGz+Y9/yh7sBZ8FsoVHT5ElSuR9Tt80b ZA3Jl8h0UHzbrDqCmreMh0gfQWotWA1/wBPCgIJG4uHw1REzEkBEVzUUcT3K4CL+psTT IF9g== X-Gm-Message-State: APjAAAV8b1vdrL1X3q0cPoBEJp7e7Ro0oS9dkbro46IjqN+8Ik7aQJ1Z VZSe4H15sZWSKLeIe+65CztYbB4Mr5Gpq5WNvMK1L1kW X-Received: by 2002:a9d:7003:: with SMTP id k3mr12750007otj.28.1563029577630; Sat, 13 Jul 2019 07:52:57 -0700 (PDT) MIME-Version: 1.0 References: <20190712151329.11333-1-luiz.dentz@gmail.com> In-Reply-To: <20190712151329.11333-1-luiz.dentz@gmail.com> From: Luiz Augusto von Dentz Date: Sat, 13 Jul 2019 17:52:46 +0300 Message-ID: Subject: Re: [PATCH BlueZ 1/4] doc/media-api: Add RegisterApplication method To: "linux-bluetooth@vger.kernel.org" , =?UTF-8?Q?Pali_Roh=C3=A1r?= 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 Pali, On Fri, Jul 12, 2019 at 6:13 PM Luiz Augusto von Dentz wrote: > > From: Luiz Augusto von Dentz > > This uses application ObjectManager to discover the MediaEndpoint and > MediaPlayer object of an application and deprecates the use of > RegisterEndpoint and RegisterPlayer. > --- > doc/media-api.txt | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/doc/media-api.txt b/doc/media-api.txt > index bca8c9563..07f7ac3e0 100644 > --- a/doc/media-api.txt > +++ b/doc/media-api.txt > @@ -66,7 +66,27 @@ Methods void RegisterEndpoint(object endpoint, dict properties) > > Unregister sender media player. > > + void RegisterApplication(object root, dict options) > > + Register endpoints an player objects within root > + object which must implement ObjectManager. > + > + The application object path together with the D-Bus > + system bus connection ID define the identification of > + the application. > + > + Possible errors: org.bluez.Error.InvalidArguments > + org.bluez.Error.AlreadyExists > + > + void UnregisterApplication(object application) > + > + This unregisters the services that has been > + previously registered. The object path parameter > + must match the same value that has been used > + on registration. > + > + Possible errors: org.bluez.Error.InvalidArguments > + org.bluez.Error.DoesNotExist > Media Control hierarchy > ======================= > > -- > 2.21.0 Can you try this set? -- Luiz Augusto von Dentz