Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4303772rwe; Tue, 30 Aug 2022 07:57:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR6SjFFO6TP7dLayNJQLIHSGLZPNNYwZBWlEBknH1102v8kb8zXSDKZmbwN1E6RHFTtFwKg2 X-Received: by 2002:a05:6a00:810:b0:52e:7dc8:c868 with SMTP id m16-20020a056a00081000b0052e7dc8c868mr21531389pfk.36.1661871427007; Tue, 30 Aug 2022 07:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661871426; cv=none; d=google.com; s=arc-20160816; b=itF9Yz91k6srC1zf5bkeIKperAcSAno5JvN3dyHt23obstONyOnUKIsshERh9m1KYM Dg+lvUJHC9kVIpGpKSObfnN1HthAwCKYPNRLxK4UoWQp6HzD/c6OqG29oB73T8g5hnkU HHSCkVqXTOYiLs8gbI47MbWGTaPEXYW5L/ot4EYtAGjcjGcWFCEk8jycrFJ7mPWfyrI6 nmWxkyC1p5ddnU3mbyjLsVK/hX0UU4eyyEVnVlZiI6wmZT972zHDXkdLLUQb05UxlFeQ 0l1E7peTQkOEcqeUyIlckS4r+Y51fTjqUPnnoIZ9PYZy08qw1uE8tkSTLpkUtKFUBrkg WQZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=Uvjd96Urgk3Z0bFU5jWBbul/vkR1dN98qJUP1NVXDA8=; b=u0bgCSb80hkXWf1+2s+6vEO8gQPImMYLgd2p+L8JzqJM0IN66qnvx+8TkfIlZtjaQL 1yGYd3mfkGzkcHQ6FXybUCLYrwCz6CU8ZaxXOhWZu2rck3ZUKJszpVoSj4RIXvfrgxI5 4yFya37utNHjUxrvpWAD03GaZ4YSPxsXJmeu92z8R4mSsI9qHN8bVAMmzCNKnKk+rNiP FyHdbaNJlH5o2BRDdbqmuL/cPE1alswHsLdKQI/ezWucPnT1mjTa6iOcAM43R4WTHz/J YiZqKtai0i2U5e2u+6q9lEOBUS9hsNiNM+08G534WPhcQDEd5gOz6yGzupm6qGLycAj0 Ysyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RjiQawwc; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a639309000000b0041e27a782a5si2344715pge.144.2022.08.30.07.56.42; Tue, 30 Aug 2022 07:57:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RjiQawwc; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229868AbiH3Or7 (ORCPT + 99 others); Tue, 30 Aug 2022 10:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbiH3Or6 (ORCPT ); Tue, 30 Aug 2022 10:47:58 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2430CAC43 for ; Tue, 30 Aug 2022 07:47:55 -0700 (PDT) Received: from localhost.localdomain (67.227.121.78.rev.sfr.net [78.121.227.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: fdanis) by madras.collabora.co.uk (Postfix) with ESMTPSA id 626D46601D85 for ; Tue, 30 Aug 2022 15:47:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661870874; bh=yBLLzM38LyUdbeZVO1SWqH9gshr9zWyT818gF127xvg=; h=From:To:Subject:Date:From; b=RjiQawwcgU6Zj1QsvxilveC1qWmBHvVMG2ZKUDrrx5Fn0zhpip4HNEhbCaMy0YkzW f3hx/vecD5agWAzNWUktyjEGfkdqk3KoiqeLjaKaUwg/6d/tm2b67UntitTRy/h5eX xAC2c2ZhTt0lraOuR71RxfV0jtOZNQFmZvnQhBFgB4gNzivPPFljtc6gQyy1eUV2C2 1ZoWwS+QAckbod2olVtxEF2O5OPEJFGWbfMDKdOJTSUOWxTODm4AmXtLktjd+2SWj3 bwTZszqVZZ+6RFzsTS6R4roFi7vrvaJMzM8uKk5oNOz1XbzsyPNFwfTRm3NNlO9nx3 u9onaH7iZePzA== From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v2 0/3] profiles: Add remote endpoint path to SelectProperties Date: Tue, 30 Aug 2022 16:47:31 +0200 Message-Id: <20220830144734.55263-1-frederic.danis@collabora.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org The SelectProperties method is only called on the central (initiator) device. But there's no information related to the remote device for which is call is done. These commits allow the audio server to link this call method to the appropriate remote endpoint. Changes in V2: - Set endpoint part of the dictionary properties - Pass rpac to select function instead of DBus specific path - Add a new commit to keep consistency after fixing previous patch for a checkpatch warning Frédéric Danis (3): profiles: Add remote endpoint path to SelectProperties doc: Add remote endpoint path to SelectProperties profiles: Fix function definition style doc/media-api.txt | 6 ++++-- profiles/audio/bap.c | 2 ++ profiles/audio/media.c | 15 ++++++++++++--- src/shared/bap.c | 12 +++++++++++- src/shared/bap.h | 11 +++++++---- 5 files changed, 36 insertions(+), 10 deletions(-) -- 2.25.1