Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3120814ybt; Mon, 29 Jun 2020 16:03:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIUcH1zmjPYk8u6fO6Vqd9gitFgU2GhtrxdFEhiS5JRwZcDrRMzVBDxTRZE8bLEthmjOV+ X-Received: by 2002:aa7:d043:: with SMTP id n3mr20832069edo.102.1593471789841; Mon, 29 Jun 2020 16:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593471789; cv=none; d=google.com; s=arc-20160816; b=ESynCy7K02/Gfp0YfZv4wxQpAh4OKybtUleaxcB8Pwf1208ifWNroEWhjvv/nLLCWG QCMufXB1AM2HcYJOVHdYAS8bThIren4fNHNWmrXGbS9SaR8avaKssPKMECt4uJClS3wx MMj+zr6HB3CTc/PM32JPNVEirB92UyEgBY4ntpyUCKFm3IcBHuoe21zBII+esGNYfl9s AJ/ANkjT20CaGdQcrDw+YyuDk/3/xyB2KoIt7uqk91XUV0Vi+rRMfqU34cVSnlLbU2qS oQpc4k7ROTUNbDshC6KW+kJKnSCDgpnyvdIdptgDMPXgCDCP3LlqutSy/gaLOQbFlVoS QR6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=r/3TX1GMSyX3TTscRoWjCKEmSjIsfk15HaizZFDaaBE=; b=ncufo1jh49UQsW8Q71OjNbdusdeBV7bMRm7Pt5JuSdReHaxVWkhVD1wiX8F9brIT0O FC/4f7bZjdlRZLgvU6OK4notiOkFE5UYFCqONg9uLwL3SYVisSCsx0NzH/jqF+MCueFF SLpF89N0PryhwqBbZUxTA1l5bqAZHgmHcNVsNZ8VyIsF+YR73zLe7n9Wlf+q/tYV6uSk gUlr3nYyUJACUG9soctJgCVCtpfzIzPzRspYYsLQsvsYBLLMC//HkDL4viHTuPtT8tgn 00BSMk7NxTfkZWDcaEPXKEL4aJIPDzOLofJCWEnTj19RP4PhuikstXds8XwzSRfdGDK7 FQbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lTJW6YCM; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si618205ejx.318.2020.06.29.16.02.41; Mon, 29 Jun 2020 16:03:09 -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=@chromium.org header.s=google header.b=lTJW6YCM; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728591AbgF2XCf (ORCPT + 99 others); Mon, 29 Jun 2020 19:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728782AbgF2XCe (ORCPT ); Mon, 29 Jun 2020 19:02:34 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E00D4C061755 for ; Mon, 29 Jun 2020 16:02:34 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id d4so9005832pgk.4 for ; Mon, 29 Jun 2020 16:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=r/3TX1GMSyX3TTscRoWjCKEmSjIsfk15HaizZFDaaBE=; b=lTJW6YCM5+pShACNr8EEFsMa3SNagZUkm2LSLPPyu4neBqCjEa11U5k/msctTp75T3 gaFYlEIabatzaok7X3Cr3UwRyeAdvCYDJdq2VTwaD2riGd4XQBuZnNQ9Et4rbaf2Q5wC RS7ZcF4vN7Pd1VjCVaM0W5iEETRzHbxs9uikQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=r/3TX1GMSyX3TTscRoWjCKEmSjIsfk15HaizZFDaaBE=; b=ti8U/8/8B57MSCGkH8LIOovo6Lk4YOEfLKhEbPoIS1oVwyicZaLIlpG6yBRMzuug/u 1TIERBVSeJnhRAFManOWPE9jtXj2DU2Ly7BEP761md1oxme5DXlo63+P1SH0Dizga2+2 BfPFOsziz6rcu7fOIS0DDsITVdylHWuH3BW/5Jj6nD19hd63dauR5sJ+Oe1tGCcZKiVo /uZ0m517bX2oXm8kSUFysv85eRIQJ1VW7xbZHWJyqM0i28Svcst4lnayDWSESqo5dZUV g3sVJvT1eD3Q3GFI0ocEqTWiUVgijgUjOGxjseDFwKBcc0OzZAcx98JGlA5MAogUg3TA ih2Q== X-Gm-Message-State: AOAM533XunWPlgyKpo/4jpuwIlUtf5SIIupqcg6MIQ+jbL2no1QlqQs7 +iAvhaOSi4l3QSBu7yoGaq06Zw== X-Received: by 2002:a62:7712:: with SMTP id s18mr16684110pfc.145.1593471753544; Mon, 29 Jun 2020 16:02:33 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id i13sm467275pjd.33.2020.06.29.16.02.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 16:02:33 -0700 (PDT) From: Abhishek Pandit-Subedi To: luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org Cc: alainm@chromium.org, marcel@holtmann.org, chromeos-bluetooth-upstreaming@chromium.org, Abhishek Pandit-Subedi Subject: [BlueZ PATCH v6 4/6] client: Display wake allowed property with info Date: Mon, 29 Jun 2020 16:02:21 -0700 Message-Id: <20200629160206.BlueZ.v6.4.I45dbf8ee15dff6c9346dc9754574a0be9bee1fa1@changeid> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog In-Reply-To: <20200629230223.3538949-1-abhishekpandit@chromium.org> References: <20200629230223.3538949-1-abhishekpandit@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Display whether the device is configured as wake allowed when queried with cmd_info. --- Changes in v6: None Changes in v5: None Changes in v4: * Renamed WakeCapable to WakeAllowed Changes in v3: None Changes in v2: * Newly added to show whether device is wake capable * Removed automatically setting wake capable for HID devices client/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/main.c b/client/main.c index 422da5593..4953f50f0 100644 --- a/client/main.c +++ b/client/main.c @@ -1637,6 +1637,7 @@ static void cmd_info(int argc, char *argv[]) print_property(proxy, "Trusted"); print_property(proxy, "Blocked"); print_property(proxy, "Connected"); + print_property(proxy, "WakeAllowed"); print_property(proxy, "LegacyPairing"); print_uuids(proxy); print_property(proxy, "Modalias"); -- 2.27.0.212.ge8ba1cc988-goog