Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3056172ybp; Sun, 6 Oct 2019 03:54:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgEWrac5xTAI3YhXnavB7KdnC/uuy0chp4MDYRE8W6eyJSSW8+8IVEBO51JOhTW4IKM0am X-Received: by 2002:a50:f04e:: with SMTP id u14mr24124564edl.247.1570359274327; Sun, 06 Oct 2019 03:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570359274; cv=none; d=google.com; s=arc-20160816; b=Ge65YcmlLygG9OuYzU0PcZHPnRYogHzSFbE0aWF78nwerPPnr+/0TarJcoNT5vN98E zRUhWuU933jPbKtzd7XwwiE7WxMWA634BUs6HNYnrUQQMlRtQ47Ih3SjRJ1TGpADDRC2 yezpCZjxVf6gRKwEIvwh3TZVBv5zcVQcU37AXm1AaeVMR3sBYQR1pgOlvL7zY2qf64GM NTMDJaJEBb5ZtcWx25RuJbM3ByKS7Sogjk5XfVJFUzPGdIUbsuZs/za6b+VKWK7gH8jm tl43nC/v1RZy0rZZqq1UZXng7EFb3fLqFkyCZzaoX7o61rzPtVjXrGPKJ4igjbsGqehI c2GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GkOuYiZegoF1GLsrbYYege1NodSLg+9ZSOw8NOlNozg=; b=GPwiDJiG8qMfZhFrjse5e7Fk6moXxC6lr/ML6UTa5rhYIFsCcV615ktiQljsByihO4 iOGdnFWdWSZVswxvg5uTzyBixPKWSV158KPkDxXqVb9uks3AXpcGlWStS0yRCrnMQjWt 4xNyDhXlgTyl+yM3hleICPv9uvCh2MlV+RYFyTYfVKgBgL5o4W18Ex2J1bNAQ6LthjjZ K8xQsXgvNUvq9tnEyq9l2Y8y0tK8jWvmiOxwB5klYrt5/1GfaFH2WSEwX8ZgBtAbc/Sx BnR56Tspui37FgkCtfsWqg2X9loBsQLZgBISIZOvRp6zVWpyg/BKnf8TaE8jKI9MRI8A gWjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="RxOmT/4u"; 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 nh5si5363981ejb.154.2019.10.06.03.53.55; Sun, 06 Oct 2019 03:54:34 -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="RxOmT/4u"; 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 S1726250AbfJFKxv (ORCPT + 99 others); Sun, 6 Oct 2019 06:53:51 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:39230 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbfJFKxv (ORCPT ); Sun, 6 Oct 2019 06:53:51 -0400 Received: by mail-ot1-f68.google.com with SMTP id s22so8717215otr.6 for ; Sun, 06 Oct 2019 03:53:50 -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 :cc:content-transfer-encoding; bh=GkOuYiZegoF1GLsrbYYege1NodSLg+9ZSOw8NOlNozg=; b=RxOmT/4u73w/Bg9sYeT8ARSW06kqncVI6Ym8PTQ2ImDc4X33fLq3KeTsAxlFoYpmOS 4dm6e5mI+0c5WkNvfVRcA9G+7BrbJDuCMrkm7ffXWsnAKylDbzuatBHeDrbvg/tB/4Un sRd7+v3fJJKsk4cwAorOaXI4AVkFFPZM7XU1VGlQg/qlMGXO3yy0J+WTO6+2m+Vie5a9 4PSmyPPfDo4QyShrVyTjdoHcKsaHseU7sod/zcNRmCq4f9UG+fRp6G08KOwjJkBcyXN1 YyZAZXS37+c+mZirKH2aRO7xY34v6qsV8J9ATz93wpBdD6VoMOa3g/bH/mEpgN8O73wN no5w== 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:content-transfer-encoding; bh=GkOuYiZegoF1GLsrbYYege1NodSLg+9ZSOw8NOlNozg=; b=tbqyUa+vUaNG/MkmsF+B0R/CsmM96Jc0pHkyO2QlZMLAF8reWmBNgJpn8Jbe9ZQ1xU hNA9zMnY7FW7ZKJ+7z61HEfGpQYRrY1UR32bubZt3W89xsEcs34NFENGQPS3T/1LOpAT pZlLD8ra2/NBaeWW7B02p726HFnFHtwo/j0H9cAvnnOvqpcyg9hEMtSEN3sm327RIGn2 9bxKotmmwZlVl3XnC/N9Bn1I+iJM+ySgUTi4n9LNK9MZTORDp336iv33FMDr8q+lAdFl YvHbQbkzwu7TLDTfkRWgJBk1IlmRs/iiy6SIH83vp5C28I0emdzBIgSwxRmxwd69+dRs q/bQ== X-Gm-Message-State: APjAAAWjRRGRx89iz8BJogQkIZVHOMF1rheZlq7YWIMNzG72NfA+OLYn WljeYEA5mOEn62EC6PQQCEJH7z/ePnS2Up5XGps= X-Received: by 2002:a05:6830:14d2:: with SMTP id t18mr16007646otq.146.1570359229833; Sun, 06 Oct 2019 03:53:49 -0700 (PDT) MIME-Version: 1.0 References: <20190712151329.11333-1-luiz.dentz@gmail.com> <20190718100024.ii2igadxb2lmmitm@pali> <20190721155522.3vqt7vsprhpxflqf@pali> <20190829125734.GH2840@reaktio.net> <20190829200513.6xnta5jx3trbmgxp@pali> <20191003181855.GF28704@reaktio.net> <20191006100503.fsbttcschr6wgsdq@pali> In-Reply-To: <20191006100503.fsbttcschr6wgsdq@pali> From: Luiz Augusto von Dentz Date: Sun, 6 Oct 2019 13:53:37 +0300 Message-ID: Subject: Re: [PATCH BlueZ 1/4] doc/media-api: Add RegisterApplication method To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: =?UTF-8?B?UGFzaSBLw6Rya2vDpGluZW4=?= , "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Pali, On Sun, Oct 6, 2019 at 1:05 PM Pali Roh=C3=A1r wrote= : > > On Thursday 03 October 2019 21:18:55 Pasi K=C3=A4rkk=C3=A4inen wrote: > > Hi, > > > > On Thu, Aug 29, 2019 at 10:05:13PM +0200, Pali Roh=C3=A1r wrote: > > > On Thursday 29 August 2019 15:57:34 Pasi K=C3=A4rkk=C3=A4inen wrote: > > > > Pali: How does it look with porting the PA patches to use the new i= nterfaces? > > > > > > Hello, I have not had a time yet to play with these pulseaudio patche= s > > > and porting to the new interface. I guess that I could have more free > > > time in the last week of next month. > > > > > > > It seems BlueZ 5.51 has been released meanwhile (http://www.bluez.org/r= elease-of-bluez-5-51/) > > So now at least the new interfaces are in a released bluez version. > > Ok! Today I have looked at this new Bluez API, but seems that there is > not only missing some examples or usages with libdbus-1, but also > documentation. I have tried to find something how to register endpoints > throw GetManagedObjects() via libdbus-1, but seems that there is no > usage of it and also unusable documentation for it in libdbus-1. So > currently I'm stuck how to use this exotic API in pulseaudio... It is just another D-Bus method, the only difference is that it carries the entire object tree, btw I did add an example of how to register Endpoints in python: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/example-endpoi= nt You can also have a look at how our gdbus internal library (uses libdbus) utilize it: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/gdbus/client.c#n126= 9 --=20 Luiz Augusto von Dentz