Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2846686rdh; Wed, 27 Sep 2023 14:55:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFakQUyxoSuzlt6A6jIn+O4vZDtE1D0XiUpMt+Eccbm9G4PM1n07LMw8W0L4V23zZtIoT71 X-Received: by 2002:a05:6871:5c9:b0:1dd:67b7:2ce6 with SMTP id v9-20020a05687105c900b001dd67b72ce6mr3765655oan.58.1695851723505; Wed, 27 Sep 2023 14:55:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695851723; cv=none; d=google.com; s=arc-20160816; b=votKycI3c5FggnT4etObE5lj/ZurwPgvcUnI90pwzD9pMuAeJ0MQnHNctHUgI15XV3 WNqlayQ2sJXNXIZqpPiq6/biO4GCZZiuveuOoMSTomGY1fj549Mi99Oj4QAt7ap8OTat 1R4IuO4Tt2T2OetfE9N85OTHxynTBo08W/QW5DVzTzongimojReBVyhMV/oelkkKLns2 Go+Ft56BNw/crF2YmVC8rSGXLYfRoGHbn97hh4JharFiGMKZVYPOz5XwbFRFV0N0Bria reO7y3MAKm+lo0FbjKU2L8F9GB9mWJLgkkkWwqAsHhTa5hNMx6T8mMQkMYJ2U9dOS6IR yhAA== 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=JZHYGym0DIY2QvjYvgtPdyplkSntL7qMtSfy1qruB3jcPxhaaybjtf3Ziwfwr6GxZU FhS1m0bg9+xDDH5rQ7woRnITPxRa8Ag5rEmCuAOcZc7mUU9Qty9HPyRSuO4xELVfdKN8 4oEpeM9bQA9KF1TYjkzw5qHaEa8s5oNN4f3DM3SfPPx7gi17Vxd0ucFe5+WzSNziLO70 CdOYi2pmlB7bXnVanPBOnbAr1YN91N9U+uFTJdgH47ndqi0LXtkG/XDExuYxVcW3L2to 4GSetRDR63RYI/d2dzH/q4ET4NXJewqmpCHwr1vHuggpC3YjK7Ti1Cpa7nfj51Fn43vt vzlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Wu3MqKlV; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x5-20020a654145000000b00584ac935a98si5836202pgp.828.2023.09.27.14.55.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 14:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Wu3MqKlV; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 5713C80A2669; Wed, 27 Sep 2023 14:40:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbjI0Vk0 (ORCPT + 99 others); Wed, 27 Sep 2023 17:40:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbjI0VkZ (ORCPT ); Wed, 27 Sep 2023 17:40:25 -0400 Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EF97199 for ; Wed, 27 Sep 2023 14:40:23 -0700 (PDT) Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-493545b4eaeso4529290e0c.0 for ; Wed, 27 Sep 2023 14:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695850821; x=1696455621; 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=Wu3MqKlVTQlvDUIGlACnFAbsddojqHS89NAy5n+leuVGupuGt5D3pe6CAc8Vzk/Bw0 zAvjLDb8hWMhxm+s2V86MujADnmtx43B8M3HCsbn6LwdiqVuCKo3BdY0dxiU8KbdFxyF HfOu8L4HhDAqb0ZtdYrx2uu1p32G5B9d0t+5pc/go6kfhD0cjP9RnRVyzo+01f2gmakP 1f1oF2hhnscuCQ6E0PhgngUDpdGRWJzduq2YEwg6CrGOw3HE+9n8Pk3HGxHX2dFHfdwj XMNMlt8L4wXY5i3Uhkf/uEAQlaTmFaNE7/em98P1rgm68uKgoA7Rz5TaNSk7wX2/aQYi /Xjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695850821; x=1696455621; 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=NDeH6kDsASiSl9sqRMf4Ii0CD4h+xGV4aMyuvdIbwypCMremONAuK5hsro5kh8vR4p DXu04v59AlJtjhFqif5WESykEzb6ynipgH0nk04WeiAJSmmO2vrX8qlaXA19yn6yoBLx JQJzrouUlM6QlqUtmDkNrLgAWvyAClJ5pX5GomNO3dA5/IcDAW86IWUsTVU0IQqTu63y VA/R1DtJZ6vzO7UHSaY0J0HNtFJl8V+ErgI82sNVncrUd1w8Y+YVKnagk0OoB/LscthC RUH4TC6pUW+PTQH0pAin2PjpmofqXbYeGfcvFuDBro6jufRR40vnQh+PY912YruNP7fi 4NzQ== X-Gm-Message-State: AOJu0YxyBUhUPCLtAZkIn854maImw9AAM+ggkRGOikEWHHMshkmJcbT2 sD3EbUroGdq8lApDkM9BI7/Z+6wVd3p3c4D8 X-Received: by 2002:a1f:4ec6:0:b0:49a:6776:3cb0 with SMTP id c189-20020a1f4ec6000000b0049a67763cb0mr2410424vkb.9.1695850821563; Wed, 27 Sep 2023 14:40:21 -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 s26-20020aa78d5a000000b00672ea40b8a9sm12546004pfe.170.2023.09.27.14.40.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 14:40:19 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH v3 08/12] doc/MediaEndpoint: Move QoS capabilities to its own dict property Date: Wed, 27 Sep 2023 14:39:59 -0700 Message-ID: <20230927214003.1873224-9-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230927214003.1873224-1-luiz.dentz@gmail.com> References: <20230927214003.1873224-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 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 14:40:36 -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