Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4630975rwe; Tue, 30 Aug 2022 13:55:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR4+6dgIj/Vxl1LZD3ekUm9e0ZStFbvhZBePJULpAh1hGDQaaiRELiw/shU9PBcI6/QP8K03 X-Received: by 2002:a17:90b:278a:b0:1fd:c2bf:81f5 with SMTP id pw10-20020a17090b278a00b001fdc2bf81f5mr65548pjb.81.1661892955236; Tue, 30 Aug 2022 13:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661892955; cv=none; d=google.com; s=arc-20160816; b=P5ja+cupinUMit1TYi+Y95ltABk/RUygPAKDLZUpqJyc9LfHu+jJENW34DIrSqlHbu J8aEzeMaLSO3f5psZ4cjtibYlhqgqrdeyXcnPHRFXu4t+UuU1Qgo/S2GOUt+vA6YAZzn T3G16IHssh5mlzt4n92QPMmmG3MXx/PFTMJnxgN5qRWg3qAcKMgujJwok2AI44r68ssd AONa8Ano3cxZZHUd5utOISz6toCc8sqecFrSaifgEYb0RW5OywxX77sX7lsKoi8l7Em1 aIHkWRsJ95xdMaui8ZTgsNiGJdri3z5Vs/7V7OmSPXaGMCGaVJ6QfEz17884sDO4mard 4QgQ== 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=0Qf0N9xdeK0b3gcbWe3hdKU1loShPrOidFEh0zBQSa8=; b=dlsONVOes2RycukzEFfFcYYyYf6xcclq29jeLRNd4+iXy4CK8kZlgWmmk2tryqdeFs Eim/XWRwIwEPQ7zRory/NI3wIMIBUOSEfBsLViIyJC2VN/ea8Pc5nSDTTI+2eNAWlJUR KcishQ/R3HgbBKMRq083WOaQSbMqjFgh1BHB949GTcPOAaNg/JAAbClp8Tzo0VsZzNgM edJONxVAT2xFXL2EfjNAfh1ydL7KkKf8mNeDsu7eWd1pORhavPal7xMjAoZ9cxm1BPU3 B/SKIEV8gtl04eklV3yjhUPwCur0IhAfm0LbSLO0cRKqVvsQxkEGYA0mIQh9VSuNkiKn AtMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=i3p64yJW; 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 q5-20020a056a00088500b0052d4197336fsi14954103pfj.370.2022.08.30.13.54.44; Tue, 30 Aug 2022 13:55:55 -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=i3p64yJW; 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 S231208AbiH3Uy0 (ORCPT + 99 others); Tue, 30 Aug 2022 16:54:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231284AbiH3UyX (ORCPT ); Tue, 30 Aug 2022 16:54:23 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D7F486710 for ; Tue, 30 Aug 2022 13:54:22 -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 575C966017ED for ; Tue, 30 Aug 2022 21:54:20 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661892860; bh=XOPQVw8xgvGp0EXhaVo7if00Q7OzQNQZHNmeXZqlQKc=; h=From:To:Subject:Date:From; b=i3p64yJWqszZJuq5BlxNhkKp8jgddwNNNnF56dX7LlsGFUeDNBxlc7RKkb4dyKjj0 +AJuLl/S15gsYB/SMK3UQ2fkzxBNrVqsehlWrAAelUHd5j7JSoRdsNQT50Yqjy90YU 1yOz/aY2ZhwBIv5my1vTxqFdtbkpWONn3ADirIm2YLWImVEC+mAIWajp2SMCgF8pTS emxDya0DOzAfDRcvA/SA5YuHvjZGTFQjzOOeXio6g4HhdkE0hORzJ9gzIEcY2+f+UW EhKPojhCbu8SnC8/e5dg19Q1sEuhSCj+46mfRBfyWexb2BuiFrNLIEUT2jApmAvznH dtj2uM/YZel8g== From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v3 0/3] profiles: Add remote endpoint path to SelectProperties Date: Tue, 30 Aug 2022 22:54:08 +0200 Message-Id: <20220830205411.68299-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. Chnages in v3: - Fix GitLint issue 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