Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1231890lqh; Mon, 6 May 2024 00:41:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNp1oJnOOqt6j/hxTVMJt3+KiR62BK3Fb4XtW6Q5+E2HjGwqkHIHHKw8IL5Zp9Scr9edGTui81T6AU4p6nYPgNqO3h9jmOSeYnpwvqJw== X-Google-Smtp-Source: AGHT+IExdoUDfEtMzjTIFyKL1y189oc8aL/ZwhxdHI/SPZgrDE6tVtTmbO4xhIXu+eHdFwMhNxQy X-Received: by 2002:a05:6a21:3189:b0:1a7:aecd:9902 with SMTP id za9-20020a056a21318900b001a7aecd9902mr10409244pzb.49.1714981290372; Mon, 06 May 2024 00:41:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714981290; cv=pass; d=google.com; s=arc-20160816; b=NHrNZM3LR7YeuzzbLKUaoTGklxG1aWJtoWCn4XVZf0bCVd7AKACY+cIxus/iHTo9XG 0glryMzDN+JU7p+NTvqoRjBpFYWMDWp4mZV0fhGxXeKlXDjpFgeT7VPMaquRMjcPQVRS JDLsYwV1ziuqFNbuXFJ61dNNLugWxBlDl/5PRPspIrtaKSjkzbOOCqpWwA8M29YONrHK 3JhhbIE6kGCpIxSxUPnONVyGIV7dWrTaa9KDpoG1lwuUnAQSSYiaklSkujtphsXD1t2i 1pWtAsp5m7jTwXji2LXrsp5kxVgg4SBtorFvYhO6gYtOmpnJh9ftARPDYNEqlFpsm+jP k/bw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=ERm++eDuVMgwhJNMy0psDMiV2eZnHtMBqKuQBs/W5KQ=; fh=g2HXUed9xQkao+U7zso5pVvK8gbD6N30k1Drf5atVTo=; b=whRf7H8umZn+d60EraqNKwKdhISn8w7LjI+dzdnYKFrvFNobPy/efdxQqKKCoYXVxC I7i7xuoa0rkmuFmpJeaVDVKuu8bhOq4Cp85H2+gAoo4P2UGrgZKZIWAXShMv7ca3aoof yeuaI2Z/TPnjDWAj/MDZP0amV59PvvBPMIY/m2Y8qWicSGpwOBgBG+IV+7jXMYAxr5qy 71TqRoCGPcrne9Q+0uMEfMi9iZZ4ICwGuHQlKqEU/WlXCSuq60an4PVv7jB1VT3dMy3W dwSvBn0t2e4vhA6Xzfc5LH/GUTcCFquX6Pe+pNKWpKGeWqIsH4a7fvjySC0uX2THGCjE rI9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QTLXheFy; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-bluetooth+bounces-4322-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4322-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s18-20020a170903201200b001e79bbfe7f1si7491244pla.262.2024.05.06.00.41.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 00:41:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4322-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QTLXheFy; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-bluetooth+bounces-4322-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4322-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E3DCC281D1F for ; Mon, 6 May 2024 07:41:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DA411EB36; Mon, 6 May 2024 07:41:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="QTLXheFy" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 03BCE13FD9E for ; Mon, 6 May 2024 07:41:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714981271; cv=none; b=htD5s8xAebiLWxq79lzx77YmOhuiYHrJ8N5obKOAvtkXzWX6jlV/vnjrwCRxLVoPvohMASthrP9ockJOkGlmAmyuQQEyMfdN5YznxdVm3F3IJYHo3mNu52kC90pf0PrIccOeLpl7QL4iVHsYQN88gTkjK/pipsHLr23flIU5akM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714981271; c=relaxed/simple; bh=OtiiaCZBUQgEU8CU41m34kPD/LLGp88NbWEksYRolbA=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=kL3UGe0rB5xn3hVJswNCeQSUFzCflonCccdFeDqhmQJkXXbs9OLw4OhTACB0rpBzi80GvOW84btH4Zbh1taZVhh8BNf3RIs2nNeaOxBTgZto9g8H/l4fdTv/qTh0NaBLvRoWW3Fhr0KX6rmoI2JXcIaFTTKmU/hw+ovbSsXkgU0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=QTLXheFy; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4465apBX025065 for ; Mon, 6 May 2024 07:41:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version:content-type; s= qcppdkim1; bh=ERm++eDuVMgwhJNMy0psDMiV2eZnHtMBqKuQBs/W5KQ=; b=QT LXheFypBwlRqK6qReDaE4EHaNtZ63vIli/f9jr6K5f7QR/q7Tqe8fcveYx38iTWt gS6jzQdypLtuEqBA6/v8v7uRu1U1C2YZ1NB3EwxQsbBzTB0XcqOAuTY5MY4CgXjD f0D0vaGWs7HZkTI33D9xaHVDzR9rp5gQtigE3RPX8Cm+7BDn+yn9tw685Mq8mCS1 USPNI4b0fWAKzGGrnGzqKHzh0fqKFgAgG3Sqwq6AsCkjsshlIXRdHmPPRfHuyKIJ uhuuCt1OkMCQ8PjT89/46ngTUw1pXz7afEo1yhL4DD9EzZUUIwbSTHJQHkNgc3mU dRjtrom98HPQV76h6JeA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xwdsmtv2g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 May 2024 07:41:08 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4467f7cQ018188 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 6 May 2024 07:41:07 GMT Received: from hu-nakella-hyd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 6 May 2024 00:41:05 -0700 From: Naga Bhavani Akella To: CC: , , , Naga Bhavani Akella Subject: [PATCH v1] Bluez: unregister-includes option is not working in bluetoothctl Date: Mon, 6 May 2024 13:10:43 +0530 Message-ID: <20240506074043.4200-1-quic_nakella@quicinc.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: DKzc9tGWPV4xnb9ESpUUVLhoTU9sKmCj X-Proofpoint-ORIG-GUID: DKzc9tGWPV4xnb9ESpUUVLhoTU9sKmCj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-06_04,2024-05-03_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 mlxlogscore=639 bulkscore=0 malwarescore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 impostorscore=0 phishscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2405060050 unregister includes option takes two parameters service uuid and included service uuid, since the space between them is missing, the menu option is not working. When two uuids separated with space is given, it is throwing error. Signed-off-by: Naga Bhavani Akella --- client/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.c b/client/main.c index 51d08a67a..c8b0f7f1c 100644 --- a/client/main.c +++ b/client/main.c @@ -3060,7 +3060,7 @@ static const struct bt_shell_menu gatt_menu = { "Unregister application service" }, { "register-includes", " [handle]", cmd_register_includes, "Register as Included service in." }, - { "unregister-includes", "", + { "unregister-includes", " ", cmd_unregister_includes, "Unregister Included service." }, { "register-characteristic", --