Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5909496rwr; Mon, 24 Apr 2023 10:38:15 -0700 (PDT) X-Google-Smtp-Source: AKy350ayEWVFGOfZWVkqW9Qfbn/KBY1fUy8SLnFa4z1jeheo4UsxGl+/RTcgtTkZI951Zv4i1YYx X-Received: by 2002:a05:6a00:1acd:b0:635:c8e4:ed0f with SMTP id f13-20020a056a001acd00b00635c8e4ed0fmr18437066pfv.11.1682357894990; Mon, 24 Apr 2023 10:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682357894; cv=none; d=google.com; s=arc-20160816; b=l4b5bBsuoYZAh8bdTgiRGCKDJdk4r6R5ZYY5bCt4CFkY9D3FIrBTVLH+ITabPeR9mu Prk6ltlri9lbfK8p3uV7YQLMLXKoY+Cmh0ftbfJVSK5zSfFkJMEEGxXOxahRU5MCbDiV walV677o5Bz2bQ0m1oHtJz9PcEeGNdFN6np6W3BfMXl19nVaOGN1KeYRv/DPjRhldjLx 2EqnPvRK3sIRC4tgDqcq6ONId2eoENaHd1homzXg8lPNjXwbPz49cdU1JCA+5FHJVjHD 1sjcijoAIUZ6OzaVZ9sabgAAeSXERwS2Q41cryak8hZkoC3+YMYA4NvYPEEctmp0v/p9 2FhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=D/LH6DZGqsiF2bLGfiZKW5cwcIuccF2TRGZVv0I6FH8=; b=edncYJrK2OAIg5CbR4bcAFuaEwjmJtWwQXdhKgTlseZB/UByPQ2oAdVws6B25ODgwU wyOV2dEUwdj7E2lPDQPnKJ5oYNpk3RYDy7u+LQ55hWQKY4HX7Z/2S/y+u1gXRm6FbdBv dFEbrjDfp49pKaNZfEJW/IZRX0kJTJhxwB0my2dgXWyyD7uHWKO/qgrwL5F8FlbxmjvJ ce8zmr48R+kYDkxolTqsGWr0nQQ/IqWUTL4UC51TUaFLvkG5UlkLuXpII+BXnj2cIGUY 0Xifrx2VVnu967uGp44KNTP+L2IS718nrziRLN3tq5teBxjtFqbWMFQIHWGSHsbAFDZ4 1x2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 73-20020a63074c000000b00502ea14e6ecsi11687697pgh.712.2023.04.24.10.37.52; Mon, 24 Apr 2023 10:38:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231418AbjDXRfQ (ORCPT + 99 others); Mon, 24 Apr 2023 13:35:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231499AbjDXRfO (ORCPT ); Mon, 24 Apr 2023 13:35:14 -0400 X-Greylist: delayed 135 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 24 Apr 2023 10:35:11 PDT Received: from p3plsmtpa07-09.prod.phx3.secureserver.net (p3plsmtpa07-09.prod.phx3.secureserver.net [173.201.192.238]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E4F55FF7 for ; Mon, 24 Apr 2023 10:35:11 -0700 (PDT) Received: from [192.168.0.58] ([70.112.164.231]) by :SMTPAUTH: with ESMTPSA id r03apjSJZ9P9cr03bpFRKP; Mon, 24 Apr 2023 10:32:56 -0700 X-CMAE-Analysis: v=2.4 cv=PeY5xAtd c=1 sm=1 tr=0 ts=6446bd48 a=S3BSAMYkHO6g4MQ2VxJkNg==:117 a=S3BSAMYkHO6g4MQ2VxJkNg==:17 a=IkcTkHD0fZMA:10 a=VwQbUJbxAAAA:8 a=EfASa0wiAAAA:8 a=B1eNfF2LPa5xGEud2G8A:9 a=QEXdDO2ut3YA:10 a=AjGcO6oz07-iQ99wixmX:22 a=Ogh1Um8Ajkq3hpB3iR5s:22 X-SECURESERVER-ACCT: rg@braneaudio.com Message-ID: <16ab6b45-caed-f5e1-450f-dba72321014a@braneaudio.com> Date: Mon, 24 Apr 2023 12:32:54 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Is AVCTP Version Really 1.3? To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org References: <733a8933-008a-8394-4564-71e49c3a4059@braneaudio.com> Content-Language: en-US From: Richard Greer In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfEXenE4g6S4jWKBo+ASa2ur2YlRzAbKEFlIEHDdS4Y+3f331dkvBGCo/uSAFucXg0rUA0ujKHS1hvFEZlYjBk/Qj6I2/2L1/jnI/CjWJPCq5HziBj5Iw AXSK6NImCh+/ZacN3NbTyIQ9TygBhpnCKwRVAEzoOoGJ+9tx4H4xcMyAjLw+UOpy/98KZNmxW0qFGDHo206z/zEwK2XbzAIZFmRcBqgrqS+S3pmNkPCwlxbb X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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 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 > > >