Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2121616rdb; Tue, 3 Oct 2023 10:49:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGlj08f4ruFenLn2FLK0ReJiAfH3hRBDtuE/ayvONDF0MVgvyMnvyK11n6DPTeYNoU2rShc X-Received: by 2002:a05:6a21:a5a8:b0:152:6b63:f1e5 with SMTP id gd40-20020a056a21a5a800b001526b63f1e5mr201111pzc.38.1696355371504; Tue, 03 Oct 2023 10:49:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696355371; cv=pass; d=google.com; s=arc-20160816; b=s1peqVJ5wlYk3j9lrW5EVsIlwzFG2GqOG7bCRU45V7eyutDAHSzTan6vdGJXFM4XwL YQWTktIx/5bzIQhC2LqKy109OcNx2dKcbSgBbWhp+HVyglDI/yJMDyt47Z1BOQ/ouPff RxxfoKOnDQrK4/XxIgw/qlWXNutqsEnH9IPan1Z41h/kXw5D+og5zdf9mkAJt87mDfVT 4aALvN7eEhSfj62jri/uQy9Iq5Z/mv/8qPHgBR3G0H7by8MHB+JfTmDTp/PMdKUcpegj e7F3bAPPdYUStLn5j4uFstjGICN7wg8bhiO9MdIJ1pIY3ygqHbO7iNZTYHN3GO/FU8hx jpcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7zKHwBs1GVkDtC9I8vqMQlneiHzFw56wVry4kh+U85I=; fh=ExGhjNQEFJgRqHmYATVc5UXZbS7abAmaHDitrfHKOuE=; b=hisk9Kls0YS7vK2m4auUOPEnAg7eg1cMGcaX+MLoqimwMJ1b0dTu/JvcixeIs2yu2r Q75eAZdWwAU9Vu+58F2RwZNYHBqYlY64AEYhj5x8Aa9Y0XQBPEPtZvU3KLr39A/twWFa JkdzU3Gbuj9a8P5L+YRqnF5BDXLgfMyiojSNXsaD9eFTbciiI47ANwlb2qLH5h4rJzWa PT70v+4vRJorxt5VJoCuzQEDLPO8ghYye9ha6O59C83ijn9OMnbPqC181zn9uBA+LP+L 7vx28SaXqA00COxOsRgrOVIzMLjYsAhtVxlkeceDolirRllV2tLNZR/HzpFWaLWauJ4W mDLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b="IHtJzB/I"; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id y12-20020a056a00190c00b00656f1d69ec6si2015881pfi.292.2023.10.03.10.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 10:49:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b="IHtJzB/I"; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id DADA5801B3D6; Tue, 3 Oct 2023 10:49:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232005AbjJCRt3 (ORCPT + 99 others); Tue, 3 Oct 2023 13:49:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240668AbjJCRtZ (ORCPT ); Tue, 3 Oct 2023 13:49:25 -0400 Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE815A6 for ; Tue, 3 Oct 2023 10:49:21 -0700 (PDT) Received: from monolith.lan (91-152-120-176.elisa-laajakaista.fi [91.152.120.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pav) by meesny.iki.fi (Postfix) with ESMTPSA id 4S0QLR2WjQzydm; Tue, 3 Oct 2023 20:49:19 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1696355359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7zKHwBs1GVkDtC9I8vqMQlneiHzFw56wVry4kh+U85I=; b=IHtJzB/ISEHa6rooG210EdfWfVQvu5dU1VFJ6HqH/5TnVbBsmOvW1sAggRxbOtnXeEmNXR 4SaHQDuBvJO9rEJ/j7YwDwrXuRTQUAXhr3f6i5zO1j9kiwPXprYxoX6neF0xfuL1RM5KYe cOCMsGwl5AnGLBRcsNFTAvjSXc5RE9w= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1696355359; a=rsa-sha256; cv=none; b=BSrpYVKR64OoRDMDOnIL1GP97wRPXZPs3clICFO7GabRdj9rgQ9JU/4s8KcPeTXkRtSuGF V+0HbikvF9YhhLStftR/AG4UqUedrF/onTuoiMZ1gobx+cLudD7VAm608afT6FqkI3UJAV aoDRdTK2HqJHFl7gKRPm2bnxs5wHMic= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=pav smtp.mailfrom=pav@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1696355359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7zKHwBs1GVkDtC9I8vqMQlneiHzFw56wVry4kh+U85I=; b=pmaLN9g38zQ/GejvMbfY2sabTaWH7L6phUYCXqYYXQKoxTEsnw2UkHXSK7oCclh8Wcrioq T2Hu9Fp7acU/Ea+Hxd1Gk53bPG8mrXsd1LEJycSJV82IdzAhYoyqK47r042C1591i8b8ca Yt9SCGISadltHBNPn7DNyBttYSPula0= From: Pauli Virtanen To: linux-bluetooth@vger.kernel.org Cc: Pauli Virtanen Subject: [PATCH BlueZ v2 2/2] doc: clarify org.bluez.MediaEndpoint documentation Date: Tue, 3 Oct 2023 20:49:14 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <112613bc64e4d17573b75a9d245b5fe5e51b5fa1.1696354690.git.pav@iki.fi> References: <112613bc64e4d17573b75a9d245b5fe5e51b5fa1.1696354690.git.pav@iki.fi> MIME-Version: 1.0 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 10:49:30 -0700 (PDT) Document the actual input and output parameter values used in SelectProperties. These differ from SetConfiguration. Mention SelectProperties is used for unicast only. Document SetConfiguration input parameters. --- Notes: v2: put SelectProperties QoS things to "QoS" dict doc/org.bluez.MediaEndpoint.rst | 48 +++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 8 deletions(-) diff --git a/doc/org.bluez.MediaEndpoint.rst b/doc/org.bluez.MediaEndpoint.rst index 0e201ff9d..6754d6e3b 100644 --- a/doc/org.bluez.MediaEndpoint.rst +++ b/doc/org.bluez.MediaEndpoint.rst @@ -24,14 +24,24 @@ Interface Methods ------- +.. _SetConfiguration: + void SetConfiguration(object transport, dict properties) ```````````````````````````````````````````````````````` Set configuration for the transport. - For client role transport must be set with a server endpoint oject which - will be configured and the properties must contain the following - properties: + :object transport: + + Configured transport object. + + :dict properties: + + Configured **org.bluez.MediaTransport(5)** properties. + + For client role transport must be set with a server endpoint + object which will be configured and the properties must + contain the following properties: :array{byte} Capabilities [Mandatory]: @@ -59,13 +69,35 @@ array{byte} SelectConfiguration(array{byte} capabilities) dict SelectProperties(dict capabilities) ```````````````````````````````````````` - Select configuration from the supported capabilities: + Select BAP unicast configuration from the supported capabilities: - :object Endpoint [ISO only]: - :Refer to SetConfiguration for the list of other possible properties.: + :object Endpoint: - Returns a configuration which can be used to setup a transport, see - **org.bluez.MediaTransport(5)** for possible values. + :array{byte} Capabilities: + + :array{byte} Metadata: + + :uint32 Locations: + + :dict QoS: + + :byte Framing: + :byte PHY: + :uint16 MaximumLatency: + :uint32 MinimumDelay: + :uint32 MaximumDelay: + :uint32 PreferredMinimumDelay: + :uint32 PreferredMaximumDelay: + + See `MediaEndpoint Properties`_ for their possible values. + + Returns a configuration which can be used to setup a transport: + + :array{byte} Capabilities: + :array{byte} Metadata [optional]: + :dict QoS: + + See `SetConfiguration`_ for their possible values. Note: There is no need to cache the selected properties since on success the configuration is send back as parameter of SetConfiguration. -- 2.41.0