Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4530104pxf; Tue, 16 Mar 2021 16:26:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbydhdGggc4AZNl0Z3yHNwz6krpNDBONTG5Ig3ZiQaoG1HoWS+nqkmNnSyMZBuyZeUaAxG X-Received: by 2002:a17:906:d9d1:: with SMTP id qk17mr32168312ejb.52.1615937214648; Tue, 16 Mar 2021 16:26:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615937214; cv=none; d=google.com; s=arc-20160816; b=UV5mIrj+hvuzBRE+HmAl5v4vm2w/CnWYU/k9HlUruwhXqn5lGzvaC3v2yve5MvyVKN m2SdMeB8n1mdUUZ+EAwDCHZarxlJpPZFHH5n+O5lIMuHL4K4GOuocEhW/xeZAhYrC3z7 qQFtDrnjwoGmkMmQNqH4WfFv0MMV9zjimn21rMvGFRayv1hfDooVZfAh6LA4WL50DvYV ZpoBug7f5Ksecgso7YEM/MxTfQ7LTMgPV566+0esXwE8yN0RvJAxdUw2z0c4sZ9JY6UO eQ0K83+lEIKssLMjK+sFKfAy+nMSHKL7C8WD1wlKtZM4ycvFXuQniYIUzkXDkXr7/dUd EAig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=VAHBH4eT4ZKRoaqOYqlb8FAmNIdURKvwxVSJUmrycdE=; b=t7n9uGiOiCdFrD0jRLekuYucYJoyaKETE0pqLJgE+MdnGZHFzhkPID5vebLwVqShpa +vDufrEGe3sz6tP/2soJp0j6IwrkcZKQpaBaTM3YSEH6BM8NFj8Ku5/RNMtfSSzc9W5w vtCuRft4ziI34wZxo0PAoCV+sgBtjMw1T4+Fhn7MJZRSzgun22BuUh9sJ2MvFKQmIsBq DDe8f84ZITvTP2zugPgRq88da7UGaI7r/XVT18vLOe3briHyqTRgLd6p97niLh+wYacV oavmBsiI3KV1QCDMwN5eJOC3SBvuyjI257XUBAsqcRNXojR3lV6wcfCtXFyN2F9JmH5Q Omdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pVKWnkjb; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r20si15630366edw.406.2021.03.16.16.26.16; Tue, 16 Mar 2021 16:26:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pVKWnkjb; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229749AbhCPXW4 (ORCPT + 99 others); Tue, 16 Mar 2021 19:22:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhCPXW0 (ORCPT ); Tue, 16 Mar 2021 19:22:26 -0400 Received: from mail-qv1-xf4a.google.com (mail-qv1-xf4a.google.com [IPv6:2607:f8b0:4864:20::f4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5105AC06174A for ; Tue, 16 Mar 2021 16:22:26 -0700 (PDT) Received: by mail-qv1-xf4a.google.com with SMTP id i1so26557818qvu.12 for ; Tue, 16 Mar 2021 16:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=VAHBH4eT4ZKRoaqOYqlb8FAmNIdURKvwxVSJUmrycdE=; b=pVKWnkjbeLBFKpw7iz34EudGthWz5/PWATPUR6l8D4rnkx+4ETYanJXR/BWI4DTEi0 KYsO06l+hm+VkrxVfX7jjB6HCKm2RUihah085goKSk5LqEhnbw3J1Ot1E7iOWIk5sY3Z 6mutEPawwjZnkjELNHcnp2mo7UtbgBHVOY0DWCwSqaOtiW6+qhap3JIsTZfqUvDqkFd0 uz4Hz70SQ0stm8kBMwnkG4DzCw3TSTTlFAar2MJTST7dxgZyJU41HSCYQO9ZPu3W4iZ7 jnjcOQkM4LX3uq/+snNU4sTPLHOPCYCk5YqJ6C90iSQ4LSRbIUAPLSJrIlbSUrQ61K/t ip0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=VAHBH4eT4ZKRoaqOYqlb8FAmNIdURKvwxVSJUmrycdE=; b=TENu3XCskWM9hle+qfyZbyjO+0vtkjdldBq8UWc3aN7WYC+dC6/Hs3ilSDsA5ijUry fHkh5OQgVsKayu2ud2gTurjKJtagW1luZ6YeoX364ItupQkQIK3LmcJCxjUu17E3lw6G Wu3D4RXccwy0g3NXHB6OOajHVFW0ccmooLJZZIRLOYsBfxzV3+qGP5cFH9Enne/io2At TKbR4dZksh9pGkIwNEiwg4uvrWrB+QRATXeeyiFEbZclg27Kf/Jz9AXmjRd2ppxQfhNz Bjf0KjDR0+tT1GCTtw7efRhurkQEIOnBm4USkEFSiMcOcTV/TTQDQksVXHnhSPWP3yie pEaw== X-Gm-Message-State: AOAM530FVohJeI7tJ0lhLUTIL8/3XvzKQdg3OB3Nmg3mcj5BPkiZ1guw LGqx0k8cpso1RzXg1gde0UHUrPJcQFCnCXsHJJZ4n/k1ZF0VwpPlz6sYo2vkHd0lACGmlvGpB83 w9JIFVOc8LrBCS2JJXvF8wkKIN3wlr3mxap843lgI+B4uk26oBExvIAwURX0ObJSqB50WhgoXHI nmRMLs3BcOZeAYz0VR X-Received: from danielwinkler-linux.mtv.corp.google.com ([2620:15c:202:201:8543:90a8:2e5c:1402]) (user=danielwinkler job=sendgmr) by 2002:ad4:5851:: with SMTP id de17mr2108068qvb.6.1615936945482; Tue, 16 Mar 2021 16:22:25 -0700 (PDT) Date: Tue, 16 Mar 2021 16:22:16 -0700 In-Reply-To: <20210316232217.3344489-1-danielwinkler@google.com> Message-Id: <20210316162044.Bluez.v4.2.I33cf8432f94675b635ab429b3125f54048c5b66a@changeid> Mime-Version: 1.0 References: <20210316232217.3344489-1-danielwinkler@google.com> X-Mailer: git-send-email 2.31.0.rc2.261.g7f71774620-goog Subject: [Bluez PATCH v4 2/3] client: Add adv SupportedFeatures to bluetoothctl From: Daniel Winkler To: linux-bluetooth@vger.kernel.org Cc: chromeos-bluetooth-upstreaming@chromium.org, Daniel Winkler , Miao-chen Chou Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This change adds SupportedFeatures to be shown in "show" option of bluetoothctl. It was tested with and without kernel support for features to verify that they are shown or not shown correctly. Change was tested by verifying SupportedFeatures were populated correctly in bluetoothctl on hatch and kukui chromebooks Reviewed-by: Miao-chen Chou --- Changes in v4: None Changes in v3: None Changes in v2: None client/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/main.c b/client/main.c index 79658a463..1669d2c89 100644 --- a/client/main.c +++ b/client/main.c @@ -942,6 +942,7 @@ static void cmd_show(int argc, char *argv[]) print_property(adapter->ad_proxy, "SupportedIncludes"); print_property(adapter->ad_proxy, "SupportedSecondaryChannels"); print_property(adapter->ad_proxy, "SupportedCapabilities"); + print_property(adapter->ad_proxy, "SupportedFeatures"); } if (adapter->adv_monitor_proxy) { -- 2.31.0.rc2.261.g7f71774620-goog