2023-04-21 23:26:17

by Richard Greer

[permalink] [raw]
Subject: Is AVCTP Version Really 1.3?

Hi,

I will start by saying that I am not a Bluetooth expert, but just getting started on Bluetooth development.

In looking at BlueZ 5.66, it seems that the version of AVCTP being reported is 1.3 (in avrcp_ct_record() in profiles/audio/avrcp.c) which corresponded with what is in doc/supported-features.txt (which looks like it was last updated several years ago).

On the BlueZ website there is an entry from 21 Aug, 2014 titled "Bluetooth 4.1 qualification for Tizen BlueZ" that says it was using AVCTP 1.4.

AVCTP version 1.3 was deprecated in July, 2013 and officially withdrawn on 1 Feb, 2023.

If I were to start working on a product that was going to have Bluetooth in it, I could not get it certified with AVCTP 1.3. So, I was just sort of hoping that it was a version reporting issue (due to the Tizen BlueZ statement above about it using 1.4 8+ years ago) and not something that still needs to be developed.

Anyhow, if someone more familiar with Bluetooth on Linux can explain what is up with the AVCTP version, that would be greatly appreciated.


Thanks in advance,

Richard Greer


2023-04-21 23:49:02

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Is AVCTP Version Really 1.3?

Hi Richard,

It is still marked as 1.3:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/profiles/audio/avrcp.c#n409

That said I don't think there is much difference, well we better check
what was incorporated with these erratas:

1.4 Bluetooth AVCTP Protocol Change History
1.4.1 Changes from 1.3 to 1.4
1.4.1.1 General Changes
 Incorporation of adopted changes to correct various errata. Relevant
errata are
733, 2689.

If Tizen qualified it for 1.4 it is most likely just a version change
that needs to be made, from 0x0103 to 0x0104.

On Fri, Apr 21, 2023 at 4:26 PM Richard Greer <[email protected]> wrote:
>
> Hi,
>
> I will start by saying that I am not a Bluetooth expert, but just getting started on Bluetooth development.
>
> In looking at BlueZ 5.66, it seems that the version of AVCTP being reported is 1.3 (in avrcp_ct_record() in profiles/audio/avrcp.c) which corresponded with what is in doc/supported-features.txt (which looks like it was last updated several years ago).
>
> On the BlueZ website there is an entry from 21 Aug, 2014 titled "Bluetooth 4.1 qualification for Tizen BlueZ" that says it was using AVCTP 1.4.
>
> AVCTP version 1.3 was deprecated in July, 2013 and officially withdrawn on 1 Feb, 2023.
>
> If I were to start working on a product that was going to have Bluetooth in it, I could not get it certified with AVCTP 1.3. So, I was just sort of hoping that it was a version reporting issue (due to the Tizen BlueZ statement above about it using 1.4 8+ years ago) and not something that still needs to be developed.
>
> Anyhow, if someone more familiar with Bluetooth on Linux can explain what is up with the AVCTP version, that would be greatly appreciated.
>
>
> Thanks in advance,
>
> Richard Greer



--
Luiz Augusto von Dentz

2023-04-24 17:38:15

by Richard Greer

[permalink] [raw]
Subject: Re: Is AVCTP Version Really 1.3?

Hi Luiz,

I have looked at the differences between the 1.3 and 1.4 specifications, and there is only one meaningful change in the document.

In Section 4.3 AVCTP Message Fragmentation, the following is added at the very end of the last paragraph:
"The interleaving of the fragments of different packets is not allowed."

Looking in profiles/audio/avctp.c, it appears that fragmented packets are not implemented. That would imply that there cannot be any interleaving of fragments from different packets.

So, I think that just a version change would work.

On 4/21/23 18:44, Luiz Augusto von Dentz wrote:
> Hi Richard,
>
> It is still marked as 1.3:
>
> https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/profiles/audio/avrcp.c#n409
>
> That said I don't think there is much difference, well we better check
> what was incorporated with these erratas:
>
> 1.4 Bluetooth AVCTP Protocol Change History
> 1.4.1 Changes from 1.3 to 1.4
> 1.4.1.1 General Changes
>  Incorporation of adopted changes to correct various errata. Relevant
> errata are
> 733, 2689.
>
> If Tizen qualified it for 1.4 it is most likely just a version change
> that needs to be made, from 0x0103 to 0x0104.
>
> On Fri, Apr 21, 2023 at 4:26 PM Richard Greer <[email protected]> wrote:
>>
>> Hi,
>>
>> I will start by saying that I am not a Bluetooth expert, but just getting started on Bluetooth development.
>>
>> In looking at BlueZ 5.66, it seems that the version of AVCTP being reported is 1.3 (in avrcp_ct_record() in profiles/audio/avrcp.c) which corresponded with what is in doc/supported-features.txt (which looks like it was last updated several years ago).
>>
>> On the BlueZ website there is an entry from 21 Aug, 2014 titled "Bluetooth 4.1 qualification for Tizen BlueZ" that says it was using AVCTP 1.4.
>>
>> AVCTP version 1.3 was deprecated in July, 2013 and officially withdrawn on 1 Feb, 2023.
>>
>> If I were to start working on a product that was going to have Bluetooth in it, I could not get it certified with AVCTP 1.3. So, I was just sort of hoping that it was a version reporting issue (due to the Tizen BlueZ statement above about it using 1.4 8+ years ago) and not something that still needs to be developed.
>>
>> Anyhow, if someone more familiar with Bluetooth on Linux can explain what is up with the AVCTP version, that would be greatly appreciated.
>>
>>
>> Thanks in advance,
>>
>> Richard Greer
>
>
>