Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2417775rdb; Mon, 12 Feb 2024 04:27:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVI6BVlHpcTHAjfTgeW24LlyLi5xB8l3xwTLlmhjD1Qb1voriI2RBGMfso+IXD8RReDH8YvnrMypaYn4wp9bOV/u9cWNYEhZv7si4pXYQ== X-Google-Smtp-Source: AGHT+IEn5FbMvBuVr3Iieef+IysGQ6BPjH1NCl2s1HGoCPj5MH1W4RG1SxMlQBvkSDoiLldp+1Bs X-Received: by 2002:a05:622a:52:b0:42c:6988:52e5 with SMTP id y18-20020a05622a005200b0042c698852e5mr5833575qtw.55.1707740878520; Mon, 12 Feb 2024 04:27:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707740878; cv=pass; d=google.com; s=arc-20160816; b=kjR5EN7K2UZl57lEUPMXhmKTtI1+Li7DQnxfEZSLMl24kB7nMQBA/3gUxyLTemFPJs dKxx4kwllobe/6rPKrrhUoKgzgMFfgEYOMmDHkohY1HOF8dlTNUzTF32RPpGj2fJoVzj od4mDlOD4gKQdvNtcl5Ftd4BJCm/Xf3ZEGVzalNqa5v/LmxEmQL/yxovnYlDJiaSb/0N sqe/GPMGVprcvtjtAO7YYimFBU9Bs1yirMAf347jA7jl4g1SFixUlUWHy9uveAE9BfpN 9alV86AEsjpj0dZj+FEnzirKd1ZfjEoILYMTI4AqPtzUSLSqesR6+G37PKidzfX5RSRK phfw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=MuAjCYyimdiiocdSa289kLxjvXlJsF7i9RaUsREiQ3s=; fh=NsK2AvCOX5866zhc4Dyj4HYp/pZIFrHz/pkgzHVO7Hk=; b=H4eJ1o+fjCOxVTOosKHs3UjPq3qL4OWLWyNjqqj3qLPhAkUiGI84qM0cUen416J+5N CdFpUb1JaLjY+8x9S/fCdaRV34KXnO93Edw4HDBpW0corAtmp8c+IhBhg/57sbmgMOBZ 674gwbP0Mdk/XTTR+05NDqkBGMDXwf3kyBxnrJKKj7j3op47HBAnvXwnR9PHxPhfPSFv vpkIOkGZrC1GGNJeUnaax5WRz67zMOUXrZcQnxJcKKAtF/xUQX126MK69blzycbhTpt6 eR5Cy4vMgrM7P8r/NbgDhhhA54JDaQwe74JnNcJdZKiM5hSQfpY0EG1UxSKLLEQADjjm FMsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-bluetooth+bounces-1763-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1763-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWrkpHpeO91LYblmwoz1H0304hTqk6pQWfFqbLIFTogCSqtc/Vu4MxYl/aC1l6wmGQ8aPW+paYItFx9p1RejQrZ/XOcRlfIpCx5JzwpGA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p10-20020ac8460a000000b0042c5c5855e1si247341qtn.736.2024.02.12.04.27.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 04:27:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1763-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-bluetooth+bounces-1763-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1763-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4910C1C218EA for ; Mon, 12 Feb 2024 12:27:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1D6639FD5; Mon, 12 Feb 2024 12:27:52 +0000 (UTC) X-Original-To: linux-bluetooth@vger.kernel.org Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 767F81864C for ; Mon, 12 Feb 2024 12:27:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707740872; cv=none; b=DRE3Gq6XrgKmDEC9jCutTvUHNIQIPP2bO80bGltcZwSa2LWxdlxgDERftA6oPlJnTffgDwUBMEBImo810Fg2ABW3fdfdNRLd/VhtXMqdNhBjiCPvxtrpZw/WZGKlqm42GIzrQxCo6SD4vCVx49ux1u6m9XpBfmdDsmn3ZrLihYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707740872; c=relaxed/simple; bh=YVc665jGkxzNq/tnPTOsqzmNpSTlEIwdkneB7ZchAIo=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=Gmk25CRMrqGuLH/DTsc4PfjQgmxe9W/l7q1feX9grtJwzwMb8WFxleRGe1NyDwdUNcu5KQbBad8X3sfwaQfe8gJH9JnvantaIqN0/0WqTrL0AjE+CznsZA3mJhgUb6whpD/5ioPmdBH5Q3xHVnPM8nYJgfwrKsq/bWFVf/LpXUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from [141.14.220.34] (g34.guest.molgen.mpg.de [141.14.220.34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 4FC6961E5FE04; Mon, 12 Feb 2024 13:27:36 +0100 (CET) Message-ID: Date: Mon, 12 Feb 2024 13:27:35 +0100 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH BlueZ 3/3] shared/ccp: Add initial code for Call Control Profile for Client Role. Content-Language: en-US From: Paul Menzel To: Ajay KV Cc: kiran.k@intel.com, linux-bluetooth@vger.kernel.org References: <20240212161726.3097145-1-ajay.k.v@intel.com> <20240212161726.3097145-3-ajay.k.v@intel.com> <1a81650e-4d60-4177-bed3-e8f466336ed4@molgen.mpg.de> In-Reply-To: <1a81650e-4d60-4177-bed3-e8f466336ed4@molgen.mpg.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit [CC: -, 550 #5.1.0 Address rejected. (in reply to RCPT TO command)] Am 12.02.24 um 13:23 schrieb Paul Menzel: > Dear Ajay, > > > Thank you very much for the patches. > > > Am 12.02.24 um 17:17 schrieb Ajay KV: > > It’d be great, if you wrote a commit message with information about CCP > and how this is implemented and can be tested. > > (Also, I’d remove the dot/period from the end of the commit message > summary (also in patch 2/3). > >> --- >>   Makefile.am      |    1 + >>   src/shared/ccp.c | 1147 ++++++++++++++++++++++++++++++++++++++++++++++ >>   src/shared/ccp.h |   45 ++ >>   3 files changed, 1193 insertions(+) >>   create mode 100644 src/shared/ccp.c >>   create mode 100644 src/shared/ccp.h >> >> diff --git a/Makefile.am b/Makefile.am >> index 2b1b9acdf825..fdffdc478a16 100644 >> --- a/Makefile.am >> +++ b/Makefile.am >> @@ -230,6 +230,7 @@ shared_sources = src/shared/io.h >> src/shared/timeout.h \ >>               src/shared/micp.c src/shared/micp.h \ >>               src/shared/csip.c src/shared/csip.h \ >>               src/shared/bass.h src/shared/bass.c \ >> +            src/shared/ccp.h src/shared/ccp.c \ >>               src/shared/lc3.h src/shared/tty.h >>   if READLINE >> diff --git a/src/shared/ccp.c b/src/shared/ccp.c >> new file mode 100644 >> index 000000000000..9089779603bf >> --- /dev/null >> +++ b/src/shared/ccp.c >> @@ -0,0 +1,1147 @@ >> +// SPDX-License-Identifier: LGPL-2.1-or-later >> +/* >> + * >> + *  BlueZ - Bluetooth protocol stack for Linux >> + * >> + *  Copyright (C) 2022  Intel Corporation. All rights reserved. > > Was this just copied, or was it really written in 2022? > >> + * >> + */ >> + >> +#define _GNU_SOURCE >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include > > […] > >> diff --git a/src/shared/ccp.h b/src/shared/ccp.h >> new file mode 100644 >> index 000000000000..809986c2601a >> --- /dev/null >> +++ b/src/shared/ccp.h >> @@ -0,0 +1,45 @@ >> +/* SPDX-License-Identifier: LGPL-2.1-or-later */ >> +/* >> + * >> + *  BlueZ - Bluetooth protocol stack for Linux >> + * >> + *  Copyright (C) 2020  Intel Corporation. All rights reserved. >> + * >> + */ > > Ditto. > > […] > > > Kind regards, > > Paul