All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Pauli Virtanen <pav@iki.fi>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH BlueZ 2/2] doc: update ISO Transport properties to match implementation
Date: Wed, 15 Mar 2023 11:32:02 -0700	[thread overview]
Message-ID: <CABBYNZKDfGozd=Ud1_GSN821t2=dqtNYTiQ5Z89TfNQ2aF9N3Q@mail.gmail.com> (raw)
In-Reply-To: <d33ba431a0b89d8dc80b0da984316d9936be54f4.1678902782.git.pav@iki.fi>

HI Pauli,

On Wed, Mar 15, 2023 at 10:54 AM Pauli Virtanen <pav@iki.fi> wrote:
>
> Document the transport QoS properties. Fix documentation of Delay, it's
> microseconds for ISO.
> ---
>  doc/media-api.txt | 44 ++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 42 insertions(+), 2 deletions(-)
>
> diff --git a/doc/media-api.txt b/doc/media-api.txt
> index 281f72c1e..eac7f081c 100644
> --- a/doc/media-api.txt
> +++ b/doc/media-api.txt
> @@ -773,12 +773,17 @@ Properties        object Device [readonly]
>                                 "pending": streaming but not acquired
>                                 "active": streaming and acquired
>
> -               uint16 Delay [readwrite]
> +               uint16 Delay [A2DP only, readwrite, optional]
>
> -                       Optional. Transport delay in 1/10 of millisecond, this
> +                       For A2DP: transport delay in 1/10 of millisecond. This
>                         property is only writeable when the transport was
>                         acquired by the sender.
>
> +               uint32 Delay [ISO only, optional]
> +
> +                       For ISO, presentation delay in microseconds.
> +                       Note the value type is different for ISO and A2DP.
> +

I don't think D-Bus introspection allows polymorphism of properties,
so either we just use uint16 and limit the maximum delay to 65K or we
have say it is in milliseconds given that in most cases the presets
have the Presentation Delay as a round number.

>                 uint16 Volume [readwrite]
>
>                         Optional. Indicates volume level of the transport,
> @@ -804,3 +809,38 @@ Properties object Device [readonly]
>
>                         Linked transport objects which the transport is
>                         associated with.
> +
> +               byte CIG [ISO only, optional, experimental]
> +
> +                       Indicates configured QoS CIG.
> +                       Only present when QoS is configured.
> +
> +               byte CIS [ISO only, optional, experimental]
> +
> +                       Indicates configured QoS CIS.
> +                       Only present when QoS is configured.
> +
> +               byte Interval [ISO only, optional, experimental]
> +
> +                       Indicates configured QoS interval.
> +                       Only present when QoS is configured.

This should be uint32

> +               byte Framing [ISO only, optional, experimental]
> +
> +                       Indicates configured QoS framing.
> +                       Only present when QoS is configured.
> +
> +               byte PHY [ISO only, optional, experimental]
> +
> +                       Indicates configured QoS PHY.
> +                       Only present when QoS is configured.
> +
> +               uint32 Retransmissions [ISO only, optional, experimental]
> +
> +                       Indicates configured QoS retransmissions.
> +                       Only present when QoS is configured.

And this should be byte

> +               uint32 Latency [ISO only, optional, experimental]
> +
> +                       Indicates configured QoS latency.
> +                       Only present when QoS is configured.

uint16

> --
> 2.39.2
>


-- 
Luiz Augusto von Dentz

  reply	other threads:[~2023-03-15 18:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15 17:53 [PATCH BlueZ 1/2] transport: add CIG/CIS/PHY properties, don't show unset QoS properties Pauli Virtanen
2023-03-15 17:53 ` [PATCH BlueZ 2/2] doc: update ISO Transport properties to match implementation Pauli Virtanen
2023-03-15 18:32   ` Luiz Augusto von Dentz [this message]
2023-03-15 19:21     ` Pauli Virtanen
2023-03-15 18:19 ` [PATCH BlueZ 1/2] transport: add CIG/CIS/PHY properties, don't show unset QoS properties Luiz Augusto von Dentz
2023-03-15 18:49   ` Pauli Virtanen
2023-03-15 19:27 ` [BlueZ,1/2] " bluez.test.bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABBYNZKDfGozd=Ud1_GSN821t2=dqtNYTiQ5Z89TfNQ2aF9N3Q@mail.gmail.com' \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=pav@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.