Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12540228rwl; Tue, 3 Jan 2023 16:27:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXsYXCXZTeXxK09Zrvc2B8lsMlAI8azm9aFmzDqwYhVSQvclGA7iNQu9tgIhw5lxGAsAf+Bs X-Received: by 2002:a17:907:3f9d:b0:7c1:1c4:5eaf with SMTP id hr29-20020a1709073f9d00b007c101c45eafmr56496163ejc.49.1672792078321; Tue, 03 Jan 2023 16:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672792078; cv=none; d=google.com; s=arc-20160816; b=iX7T8L8IJOYNh2V8PtCNeoo5hLecMrpddd9BaxnlWctFf2neQs/3YcxrizcjndaOrR U8mBGdjVrTROGDTZkzZtjnPUg31ZoAQOlxM7cR/k+iHlmN/YIaHb/9Nv2hyEXIIuMbiV smbHlJmMGscdOuTPBlCHpHlu1G92mv2G8axpBjgkG9z7Y/pQXpzjfx+PfwL5FiM9GlPP vI3lo2zO0uMZbyfpsjiNkRoc9EI7Uf4Oro3Xcfv7ZekJRfgvC+e2n6TUJ7M1YslAaxn1 /UjfscvqjmClv2xzC2nOagRdeSCRvIVYK1Tg3COiW1Bs/9TwnvHQnyTYohbVdlg3pSmN +O9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gdrGstZF3psu54q04ekSD2mwgEIBYlZ0VjpdX/8+fTk=; b=veo/cJ+uWUODR7vTEvhApG8cNyNDMYQPTluAamOeXrF1ewIrmRY7+ez5Uas0gaPNld Lt85J+QBQLn8JFT8NvPsLFawJOdCMGNwxN3P8nfYqceJdr1mG8FOEg0TGHjdg6t9HfT6 Cp8r5Jb+TUjEx8/iiY4SV0AZ/Nh5NtMr1w/8zqUmH3/HJF7p1LssGUBzJusw+dbzyzTf buQpgo70FzBqOYAVSQnIRtYTLxK8uskaO7K2YGzMbotttUB2CV1OmetN8SPst3Royz4s E17ktDT+DLoVtRMINGA7ZEUIehJ6+8FkBSQWrceKfsLyVBqyecPp6HSoKMhDC6nRh7A+ vU4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=om7UjQKA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ae4-20020a17090725c400b007c10e7a7628si29469974ejc.839.2023.01.03.16.27.27; Tue, 03 Jan 2023 16:27:58 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=om7UjQKA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238687AbjADA04 (ORCPT + 99 others); Tue, 3 Jan 2023 19:26:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238737AbjADA0f (ORCPT ); Tue, 3 Jan 2023 19:26:35 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D96E41705F for ; Tue, 3 Jan 2023 16:26:24 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id bq39so40398140lfb.0 for ; Tue, 03 Jan 2023 16:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gdrGstZF3psu54q04ekSD2mwgEIBYlZ0VjpdX/8+fTk=; b=om7UjQKA1ib5S6Zr5CIJWclYBRwiC0/+38EXhNuF3uJUZqQGo3K5LpYQAlL/2a3ci2 5rgXxWkozXR0zrKiSwtlWk97T3/yTOLFkOYehKW3kOpuqlGMnI5eaB9mevopJAuX0T2u j2exCrDbBUSRIGyKjRu5r6YWdIO7RVC36BhG5BSkqD+31RLru22lMYHXHEesJSPnuMtr 6PZWwQViR1JlwYwNMhZw5sqmNjpE56U38bfCX/IbQ8SmtX1mLwK6Bq/NcDFcpS3ZFR2e q0OWicVaIaOq73LDXzm6M9c2m7/0cS9bPkgWFU69ub52C9MO7b0h7RY7DGblc//oHhcZ MzlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gdrGstZF3psu54q04ekSD2mwgEIBYlZ0VjpdX/8+fTk=; b=Uigt02bbvoOaTcO6glVegs1oIyoTwMAemMMGTvqW0RVrbW6vunCsmtQEVBit0P0sw5 w25i1ydsFp44ffghL9yyjcbritG7TQNOwq5uA0cMU6EG9bhSRWVoylmQe7c+X9FQtaiG yPJ2GrWz9PriMofEhLc7uwAq3kqMU6urw+7yw/ohfYIvXebCg39HN64W8PV65hQL3I3d ILtpiD+Gl+pp0yn+kp2EcyaLKq7QxxuIi135LQZ5pnaa+Kj1DV1tH9+CmQ1/7AAWA/RN rrwTzQj5q8fVEPF2U1RmuAjTovgXCg0/ZwOTnJ4Q3bCHsU31hAg8QVsPx0OiWUnHU2w9 +9bw== X-Gm-Message-State: AFqh2kqN8t8ehb8u2jBZkEA+1GI0cSEEV87V785qKDtoKb5gGGtYCkJV /TbN9Fo5axeqYr46oimtyWJ03nSgLoxPWhtIkPDqPHq+ X-Received: by 2002:ac2:5588:0:b0:4cb:33a:9386 with SMTP id v8-20020ac25588000000b004cb033a9386mr3084819lfg.198.1672791983126; Tue, 03 Jan 2023 16:26:23 -0800 (PST) MIME-Version: 1.0 References: <20221229155257.341327-1-abhay.maheshbhai.maheta@intel.com> <20221229155257.341327-5-abhay.maheshbhai.maheta@intel.com> In-Reply-To: <20221229155257.341327-5-abhay.maheshbhai.maheta@intel.com> From: Luiz Augusto von Dentz Date: Tue, 3 Jan 2023 16:26:11 -0800 Message-ID: Subject: Re: [PATCH BlueZ v3 4/6] media-api: Add CompanyID, VendorCodecID, Metadata To: Abhay Maheta Cc: linux-bluetooth@vger.kernel.org, Abhay Maheta Content-Type: text/plain; charset="UTF-8" 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_NONE,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 Hi Abhay, On Thu, Dec 29, 2022 at 7:58 AM Abhay Maheta wrote: > > This adds CompanyID, VendorCodecID, Metadata for RegisterEndpoint method > --- > doc/media-api.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/doc/media-api.txt b/doc/media-api.txt > index 847f8bee7..7bfa8a52b 100644 > --- a/doc/media-api.txt > +++ b/doc/media-api.txt > @@ -34,11 +34,29 @@ Methods void RegisterEndpoint(object endpoint, dict properties) > match the profile specification which > is indicated by the UUID. > > + uint16_t CompanyID [BAP only]: > + > + Assigned number of Company ID that the > + endpoint implements. It should be set to > + appropriate value when Vendor Specific > + Codec is used. > + > + uint16_t VendorCodecID [BAP only]: > + > + Vendor-specific codec ID that the endpoint > + implements. It should be set to appropriate > + value when Vendor Specific Codec is used. > + Check the version Ive pushed, I end up merging these 2 into a single property called Vendor which is a tuple of Company ID, Vendor Codec ID, so you will need to adjust the changes to bluetoothctl. > array{byte} Capabilities: > > Capabilities blob, it is used as it is > so the size and byte order must match. > > + array{byte} Metadata [BAP only]: > + > + Metadata blob, it is used as it is > + so the size and byte order must match. > + > Possible Errors: org.bluez.Error.InvalidArguments > org.bluez.Error.NotSupported - emitted > when interface for the end-point is > -- > 2.25.1 > -- Luiz Augusto von Dentz