Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp272597rwe; Wed, 31 Aug 2022 02:31:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR5jcpqIVNILzVl1ud8JaJkb10pM1I4rh3lN906GpTjeU6Il8N8q32k2eZqgdo++gVF82VAd X-Received: by 2002:a17:90a:2e12:b0:1fb:a4d4:be3f with SMTP id q18-20020a17090a2e1200b001fba4d4be3fmr2365989pjd.237.1661938312508; Wed, 31 Aug 2022 02:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661938312; cv=none; d=google.com; s=arc-20160816; b=QNpfHvI2m/VigRPHTqg9cqApWicN4INEknhzmHqQgsMUwvQXmTrSCxiLCt+OkpDnaM 03sMNw1al4rLhxeO2zgUMmT19WXHPIfwTwz37hX4vjbBrIhIHQQTVaW8sAsuCuyXPHZ5 GP/Ot9pm1HrFIYYIwNMsgGU4U4keQBUq1mvWCs4pBkRCSRxnvOIxTKW/Gcb8JO8ziwIE yZBPRuHTscUY2XDwKUWspOIlJowsNfEI8k6pD/uP1y18ABQGywsyGGGBt4P7N6LFtg+L ZgrDpnPpXO33PFm0AuAftrKVqroleJTaKqdVT5kjfENrBnBsKojNgIHduCMLVOXUWPlj K7pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=FIbixAwVWD2vt1y4cMfe0fUxClRnsBi0zl7TSty8q+8=; b=ML4BlT/Ld44d9m9Yrb2t31jVurQ1dqVnVbCwkGifiBwiCfROikv9I8H9Fa/2yBZnpZ Etgq4HNcg4IvCXHw7n31o42+he0FLaRedvIlKSkUXOHm2jWYGSfKERVTZve5c2sR7OIt DskJZ9cGuiKTPWpzPzF2oujD0fLewL4HtBrsQxxWQpC2E2e0GXu8cvDpGCkyhzQEOUey Ix1kEWOsOy0346e608S34Nv1p9j1/b9bPyK1YO7js5iPou7RWWiQOWdbbWSAAKtNl6kY KhgfTfhBhc6Riqv0w1ujM+WxOC9dQMk/CYGOCqaJgQGV5ZWj7Bsu/AeRfpPnypl/bcTA u5PQ== 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 s9-20020a17090aad8900b001fb7cecce2fsi1326451pjq.93.2022.08.31.02.31.25; Wed, 31 Aug 2022 02:31:52 -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 S231845AbiHaJUA (ORCPT + 99 others); Wed, 31 Aug 2022 05:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231854AbiHaJTg (ORCPT ); Wed, 31 Aug 2022 05:19:36 -0400 Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [IPv6:2001:4b98:dc4:8::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FE93CD7B8 for ; Wed, 31 Aug 2022 02:19:16 -0700 (PDT) Received: (Authenticated sender: hadess@hadess.net) by mail.gandi.net (Postfix) with ESMTPSA id 36CBB200007 for ; Wed, 31 Aug 2022 09:19:13 +0000 (UTC) From: Bastien Nocera To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v4 3/6] client: Print the PowerState property Date: Wed, 31 Aug 2022 11:19:09 +0200 Message-Id: <20220831091912.47894-3-hadess@hadess.net> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220831091912.47894-1-hadess@hadess.net> References: <20220831091912.47894-1-hadess@hadess.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, 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 --- client/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/main.c b/client/main.c index 19139d15b..ddd97c23c 100644 --- a/client/main.c +++ b/client/main.c @@ -981,6 +981,7 @@ static void cmd_show(int argc, char *argv[]) print_property(adapter->proxy, "Alias"); print_property(adapter->proxy, "Class"); print_property(adapter->proxy, "Powered"); + print_property(adapter->proxy, "PowerState"); print_property(adapter->proxy, "Discoverable"); print_property(adapter->proxy, "DiscoverableTimeout"); print_property(adapter->proxy, "Pairable"); -- 2.37.2