Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4221455ybl; Tue, 21 Jan 2020 15:27:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzM2CwNZIwiZS1lmiLHrIKa5X/NJuui/FpheV/c/W2VLGRgTxFHHdn4YSl4u3eip/iBmUvZ X-Received: by 2002:a9d:6181:: with SMTP id g1mr5636636otk.104.1579649259319; Tue, 21 Jan 2020 15:27:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579649259; cv=none; d=google.com; s=arc-20160816; b=nKbNE9OA3C9nxpvwmNtMwygHDd+vzQrXdj45/itok2rZi9j5ciCFad4TrxeE3vSdsn sJwKrqE2YLHnvfNAmGRa0IKa5Xau/21ocQXvEdyKqPkBpNX2APXH3+ffIisE+kv/9g/i 7Cl5T0jvyIL6zVg/8M1EufnXFLBHUTn9wscj6a5ITj0guyvUy52C/Sm2HSG1CJef4SVv gmfog9vHfNRN8QhRu4ZwRKgGoIan4f6XXLTEOKjjyZ3p9N1DAtwIG8cF0ZtVQ9a1bffg xjpqJ0kddnue8AFInD+KZtgijWjMCG2s4qAT5stsy005+gRcv43XhqXEI7TLyGg6PPuQ fwGg== 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=+2neVyJZsiwbeBb26itcM7RJ6y+SOUJTIn2tXxv5NII=; b=rs2m8j+voBjytXkwyKJFq7d//XPU2w6CnN3DS3V1CAscpT1GgeN86use7lwO4Rk4Iu J1S/pCfn9pqFFIqc/ZYtk5wiCfHjbSCH/2cw4hzhX+QDzjeH1Iqt+QZ5x6UC1SHgu5RZ 05JPAirCFaePSXzy7ERFUaZWXvDxsgWalCr35TLhng6L69dCRRkzgTTyWwaFWBYS/d7z gFXRH7H3b02WBnP54DBvUtTbfCD556IGtwili6SS3j1LjsjIKvHTbYlEPpNr205/9Ohe a6GtK7jCSPNbIZjWjlUA7n16zQtI1JgswCfGCBqeML9vWaJ5aAxjTIfXVjDDtV+wQ+SJ 8STA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=goiqc4pU; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id n2si21520323otk.177.2020.01.21.15.27.17; Tue, 21 Jan 2020 15:27:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=goiqc4pU; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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 S1727893AbgAUX1K (ORCPT + 99 others); Tue, 21 Jan 2020 18:27:10 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:39064 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgAUX1K (ORCPT ); Tue, 21 Jan 2020 18:27:10 -0500 Received: by mail-pl1-f193.google.com with SMTP id g6so2030044plp.6 for ; Tue, 21 Jan 2020 15:27:09 -0800 (PST) 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=+2neVyJZsiwbeBb26itcM7RJ6y+SOUJTIn2tXxv5NII=; b=goiqc4pU0j/S7d1W080bCF7yrCCWNhTO9N97NMlbWufaQkPgWuic42sQ44kQGeRshl EAcCy2iVSCD0hJ1xUeSDjLLZQeGSTeo5R01/6bWsyIRKZyLdT4jo0ohxSVGBYoiCMInu uZ270LxkJXZaJO9LDHpPu9/mNMhlx5Xi+s3nU= 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=+2neVyJZsiwbeBb26itcM7RJ6y+SOUJTIn2tXxv5NII=; b=NnXRREvKVdJWwWCI9SbAHPTtBGsH8YQAun9iF1bM3UZ/G4vTdh7BX4qBD8kpPlSQJW JzwljdYGV0v0GRrVxfR8hCPYm7pYSp0qO6lKAjwj2Wu4165cB4GMiQhC5ggliuJ4QlT8 f0v7AwxAMHgubX7JsCw5EeW9hzjR2+OKfH4TL1FxyBUP0H6W7vJpkdYpFi0vwR/2Eqz3 Ly8JRKPVvvkWiLMYj4SDdEyNXlUjgIqt1fcAgGSZQ1BaV7pWFGB2s0e87S0BoMAvACBk aPepae+le0jzfAsI1awqdaoNxmdNut6vwMjlVUJ7xz7m4NeaE6kAMNv6Hc482ea4hSat 9qKg== X-Gm-Message-State: APjAAAVPBthYZDI2IWpZuJaLcWjWGaxV3bQ/i0/PcWErbA5BCK9FpKiD 1Yc9JheK+P0m9/7GFRLgePQQwwo5GWk+Fg== X-Received: by 2002:a17:90a:628c:: with SMTP id d12mr1004211pjj.59.1579649229504; Tue, 21 Jan 2020 15:27:09 -0800 (PST) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id l8sm498320pjy.24.2020.01.21.15.27.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 15:27:09 -0800 (PST) From: Abhishek Pandit-Subedi To: luiz.dentz@gmail.com, marcel@holtmann.org, alainm@chromium.org Cc: linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org, Abhishek Pandit-Subedi Subject: [BlueZ PATCH v2 3/3] client: Display wake capable property with info Date: Tue, 21 Jan 2020 15:27:00 -0800 Message-Id: <20200121152640.BlueZ.v2.3.I80d0e557c53f464415742324eb3ff2cc4cdcbc2a@changeid> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog In-Reply-To: <20200121232700.158933-1-abhishekpandit@chromium.org> References: <20200121232700.158933-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 capable when queried with cmd_info. --- 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 8bd0bac9e..5c53fe08d 100644 --- a/client/main.c +++ b/client/main.c @@ -1609,6 +1609,7 @@ static void cmd_info(int argc, char *argv[]) print_property(proxy, "Trusted"); print_property(proxy, "Blocked"); print_property(proxy, "Connected"); + print_property(proxy, "WakeCapable"); print_property(proxy, "LegacyPairing"); print_uuids(proxy); print_property(proxy, "Modalias"); -- 2.25.0.341.g760bfbb309-goog