Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2913556rdh; Wed, 27 Sep 2023 17:42:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSf2kiCHUG5jz3fm77ZVPmW3cy+ZBGmIlwnRP19syHE/n8iRuFwAPDdsnMexjnbjJ3vnPp X-Received: by 2002:a67:fd17:0:b0:44e:8ef9:3371 with SMTP id f23-20020a67fd17000000b0044e8ef93371mr3534570vsr.8.1695861731755; Wed, 27 Sep 2023 17:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695861731; cv=none; d=google.com; s=arc-20160816; b=yk6ICM3hNMulCQ2vbNVp5t+BcEfSiN2Wb7RnWFu7WpA0l+DG9tFFIihSpkKFVYYAYJ efPRRpIwtjn6MJiNfiNqnWCIJgROyY38uJkVuP/xEHZyzvTFGwCcWh+lKh4Nfco5Zl0q r2mCmYD2RhWdK5vMsvVFa/9Px/YVut7MfinhazvBXYVTGtCWNMARLAOewGhm+SwJYWxp NCCOX07qECs7qxafLQDOI1V/PDJTbawwFXLcLHUSsWX00kDqhyhkJCidO39FU0gPKxAp adilePhVlSPKyugAVC76vlBPArJMdk6ZKSQ+l8zCjnsNYhSRbN6SFBpCQgDrUiZKjwta 9HSg== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=kL7JlXE38q5GALyj8tUkwo5gHHH2hpnI7lnYRbb3EXA=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=QwGJ7uAz1FRXBLMF4uUftjvoCPtrKGjyiQCSi4b8rmXZc7EWlgXk9WCfqxifStdj2L wmdJV9cae3ZjQhhhDfoe1vFRVDNX6WD09xaibUkWwWcd4DNRPx8oQbeyWsyEiazdpfur 4oVIlRAQsK6tGe36HKMQM8lkenGpkZGDzZ1PuBuHQ7f2zW38lMQ+JiD8drfGUxZeEcuz /jeZq+If6POyfvRMiJTy4eQ9TG9N/B84O4Zrf/aTv8555W+l0RHJSuxxsTxhRpbP4XLj 79Wcpflr8vYKEIwbMN/aJgVfzsWK3ymZcr+9zohUGDyXk/0k3MKNLrAGGNUghmy/CJGu DvlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=e3tkaCMr; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id w67-20020a636246000000b0057759a5b7c6si3911296pgb.62.2023.09.27.17.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 17:42:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=e3tkaCMr; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id BD0DE80C4D71; Wed, 27 Sep 2023 14:54:15 -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 S229517AbjI0VyN (ORCPT + 99 others); Wed, 27 Sep 2023 17:54:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229825AbjI0VyM (ORCPT ); Wed, 27 Sep 2023 17:54:12 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63D43FC for ; Wed, 27 Sep 2023 14:54:11 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id e9e14a558f8ab-352308c0799so3172215ab.2 for ; Wed, 27 Sep 2023 14:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695851650; x=1696456450; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=kL7JlXE38q5GALyj8tUkwo5gHHH2hpnI7lnYRbb3EXA=; b=e3tkaCMrajVvjYtYkKY5KDriIuf7GP+Z4HUcuYE0nhplwaE5ySLMzpFNdypX95X158 SnhvCB5x+Ym2ghVnptchGN/RmqUUZ/1rfW48OfgpKLIURH9yyXtFZivZi2ye7Y5+ABEh wMveLl0neVAXQCxoTvtvUSn1yVQROY+EpYy4G6rGVr4tML+3S8FRXsRIT3hvN2ewUfb4 ElyC1CssjNdneYAuSRK5+sRNKBWPZ1Qi1sOPUgLpO68vwvDHnDT7cfMra7DvDp/9cfj9 uYUTYMqIK8Luo9itW5/mtzlwxKHAh41QzB+TDCU/DJxssfChEB1W0+lqA4gb3I7NmBNM fDsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695851650; x=1696456450; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kL7JlXE38q5GALyj8tUkwo5gHHH2hpnI7lnYRbb3EXA=; b=U6tuZvZl6+7WulBWuDafwhzxisgA8cnVutwxiNELqrx8nhtfz1dpJ+5KXNpYj1Mugv AtaCrdLkAloxuHF3+K1l99h6zDNytDI22mfBHPkCTZN6ot8yMvgHwYobtYgFGsJezA1D yf6Z51bjMy4tY3iLcx1W5rtgrZVVp4KNOk7J5/XycwgrVPjkNQNEbQangj/nByYDa4rU Zkmx/+A3YvjzyVnPnR4NHJdLNgsqT8gy5yzyxWfsR1zb7WQ2icicwjExRK/83wE+64NG vfzTElVgEARR5EUSO1wjgIPia2raRx5S7lMMemzhcXPwoa6V77ZlpEdqK1ORzxTaSFjt pLxQ== X-Gm-Message-State: AOJu0Yy1HzHpldHI7VlfsbPFWc485SOB1l3xn3e05Lt9i7Gt5I6GDbsT KZyYQd8G2Ed3vgr4dZsD4ztbNtxWQJFY/rEs X-Received: by 2002:a05:6e02:1b8e:b0:34d:ed17:8476 with SMTP id h14-20020a056e021b8e00b0034ded178476mr4439411ili.10.1695851650062; Wed, 27 Sep 2023 14:54:10 -0700 (PDT) Received: from lvondent-mobl4.. (c-98-232-221-87.hsd1.or.comcast.net. [98.232.221.87]) by smtp.gmail.com with ESMTPSA id g15-20020a02cd0f000000b0042bbfe3dc42sm4225331jaq.173.2023.09.27.14.54.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 14:54:08 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH v4 08/12] doc/MediaEndpoint: Move QoS capabilities to its own dict property Date: Wed, 27 Sep 2023 14:53:50 -0700 Message-ID: <20230927215354.1874835-8-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230927215354.1874835-1-luiz.dentz@gmail.com> References: <20230927215354.1874835-1-luiz.dentz@gmail.com> 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,FREEMAIL_FROM, 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]); Wed, 27 Sep 2023 14:54:15 -0700 (PDT) From: Luiz Augusto von Dentz This moves QoS capabilities to its own dict property just as it was done for MediaTransport QoS configuration. --- doc/org.bluez.MediaEndpoint.rst | 172 ++++++++++++++------------------ 1 file changed, 77 insertions(+), 95 deletions(-) diff --git a/doc/org.bluez.MediaEndpoint.rst b/doc/org.bluez.MediaEndpoint.rst index cba8cb3edc6e..0e201ff9dc6a 100644 --- a/doc/org.bluez.MediaEndpoint.rst +++ b/doc/org.bluez.MediaEndpoint.rst @@ -41,57 +41,31 @@ void SetConfiguration(object transport, dict properties) See Metadata property. - :uint32 Location [ISO only]: + :dict QoS [ISO only]: - See Location property. - - :byte Framing [ISO only]: - - See Framing property. - - :byte PHY [ISO only]: - - See PHY property. - - :uint16 MaximumLatency [ISO only]: - - See MaximumLatency property. - - :uint32 MinimumDelay [ISO only]: - - See MinimumDelay property. - - :uint32 MaximumDelay [ISO only]: - - See MaximumDelay property. - - :uint32 PreferredMinimumDelay [ISO only]: - - See PreferredMinimumDelay property. - - :uint32 PreferredMaximumDelay [ISO only]: - - See PreferredMaximumDelay property. + See **org.bluez.MediaTransport(5)** QoS property. array{byte} SelectConfiguration(array{byte} capabilities) ````````````````````````````````````````````````````````` Select preferable configuration from the supported capabilities. - Returns a configuration which can be used to setup a transport. + Returns a configuration which can be used to setup a transport, see + **org.bluez.MediaTransport(5)** for possible values. Note: There is no need to cache the selected configuration since on success the configuration is send back as parameter of SetConfiguration. -dict SelectProperties(dict properties) -`````````````````````````````````````` +dict SelectProperties(dict capabilities) +```````````````````````````````````````` - Select preferable properties from the supported properties: + Select configuration from the supported capabilities: :object Endpoint [ISO only]: :Refer to SetConfiguration for the list of other possible properties.: - Returns propeties which can be used to setup a transport. + Returns a configuration which can be used to setup a transport, see + **org.bluez.MediaTransport(5)** for possible values. Note: There is no need to cache the selected properties since on success the configuration is send back as parameter of SetConfiguration. @@ -154,71 +128,79 @@ bool DelayReporting [readonly, optional] Indicates if endpoint supports Delay Reporting. -byte Framing [ISO only] -``````````````````````` - - Indicates endpoint support framing. - -byte PHY [ISO only] -``````````````````` - - Indicates endpoint supported PHY. - - Possible values: - - :bit 0: - - LE 1M - - :bit 1: - - LE 2M - - :bit 2: - - LE Coded - -byte Retransmissions [ISO only] -``````````````````````````````` - - Indicates endpoint preferred number of retransmissions. - -uint16_t MaximumLatency [ISO only] -`````````````````````````````````` - - Indicates endpoint maximum latency. - -uint32_t MinimumDelay [ISO only] -```````````````````````````````` - - Indicates endpoint minimum presentation delay. - -uint32_t MaximumDelay [ISO only] -```````````````````````````````` - - Indicates endpoint maximum presentation delay. - -uint32_t PreferredMinimumDelay [ISO only] -````````````````````````````````````````` - - Indicates endpoint preferred minimum presentation delay. - -uint32_t PreferredMaximumDelay [ISO only] -````````````````````````````````````````` - - Indicates endpoint preferred maximum presentation delay. - -uint32 Location [ISO only] -`````````````````````````` +uint32 Locations [readonly, optional, ISO only, experimental] +````````````````````````````````````````````````````````````` Indicates endpoint supported locations. -uint16 SupportedContext [ISO only] -`````````````````````````````````` +uint16 SupportedContext [readonly, optional, ISO only, experimental] +```````````````````````````````````````````````````````````````````` Indicates endpoint supported audio context. -uint16 Context [ISO only] -````````````````````````` +uint16 Context [readonly, optional, ISO only, experimental] +``````````````````````````````````````````````````````````` Indicates endpoint available audio context. + +dict QoS [readonly, optional, ISO only, experimental] +````````````````````````````````````````````````````` + + Indicates QoS capabilities. + + :byte Framing: + + Indicates endpoint support framing. + + + Possible Values: + + :0x00: + + Unframed PDUs supported. + + :0x01: + + Unframed PDUs not supported. + + :byte PHY: + + Indicates endpoint preferred PHY. + + Possible values: + + :bit 0: + + LE 1M preferred. + + :bit 1: + + LE 2M preferred. + + :bit 2: + + LE Coded preferred. + + :byte Retransmissions: + + Indicates endpoint preferred number of retransmissions. + + :uint16 MaximumLatency: + + Indicates endpoint maximum latency. + + :uint32 MinimumDelay: + + Indicates endpoint minimum presentation delay. + + :uint32 MaximumDelay: + + Indicates endpoint maximum presentation delay. + + :uint32 PreferredMinimumDelay: + + Indicates endpoint preferred minimum presentation delay. + + :uint32 PreferredMaximumDelay: + + Indicates endpoint preferred maximum presentation delay. -- 2.41.0