Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4163652ybl; Mon, 27 Jan 2020 18:05:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwMXeF1sHvXyigrlN49LXw0FzFa4L3Ex0AC4D0DNkSNzNRVtb2u/6pOxlDm976b9WHFmIuq X-Received: by 2002:a9d:6b03:: with SMTP id g3mr14772206otp.200.1580177131354; Mon, 27 Jan 2020 18:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580177131; cv=none; d=google.com; s=arc-20160816; b=YLHNKGtLUhbWFjhBqT62hROR7gfbpB04lYS2a84K91yRyLuG67hPBJqpfQRI2/YwU3 5haZmZ7ru17UlHuiO8D+ly9TfiRJ9TUwORpm3avM4RyMhQN/6gdP2AmUUQ/TnN9AF5ic yb8EI1vuyjXyau6OLc9qCa/tD3BZKc+LLBTkwVqAkvkF0UtNNjdz1vOnYvysp6ui3A2Y 2D04fypH6kFRVeSXjfOZWvemckp4KWaMmHrAueZ2bvT/jsMAhG7A1nTAayeX9DCaAyJs GmgrNQh9k6PqIlxYb13m7vMntX8XMJ1xqKEIbx6kaKhEia4Pt+/Mn6wsiyAA7WCvu73U yMQw== 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=u1iYWOO81m2b+NFhF6XQobXZiUwHPHVTOJQnybZDmPQ=; b=EeWLCD3FXTteuTQUSIiP3HMBLdUfr6WfomPdI9vWriThy4cIRCGcsh7LoIMNfWD4Nw XKQ23UyMAEf+6IqHS71XY+rPQviUmgrNEJnbhRDbV+KAbj6aLTq3o9UKt7uahU86f9bj dSIN060rswzKGvUClhaC++r7GbQb/opIh8R3rgR7JKg0iFCe/Nek36upAChX6SSp5PYK Ta3itszaW8N3flm8TTsfDy2qayD/EShtL0KdP1+5ck494x0Bl7ofI7Tiy+zB+M2fn61Y uMLXtZvyna7PJuo5dy0JAXYRGxqowSACtvmIEG58Rp3GhJUQtfIWGtULqg0T7kDhajTS 9bNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IXEnWsaj; 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 h15si4616893oih.130.2020.01.27.18.05.16; Mon, 27 Jan 2020 18:05:31 -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=IXEnWsaj; 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 S1726164AbgA1CFO (ORCPT + 99 others); Mon, 27 Jan 2020 21:05:14 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36946 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726293AbgA1CFO (ORCPT ); Mon, 27 Jan 2020 21:05:14 -0500 Received: by mail-pf1-f193.google.com with SMTP id p14so5824144pfn.4 for ; Mon, 27 Jan 2020 18:05:14 -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=u1iYWOO81m2b+NFhF6XQobXZiUwHPHVTOJQnybZDmPQ=; b=IXEnWsajud5hk6koP89pU/T81PXmbkMtBjs78rQs0QUOK7l9+Kcxvs8ivyTMWBbqGd ZbbHahtZLOhgRnZvOJTS7//PM/lugRfxYZ9IFIT0axRBU2On4edZYO4enrf4eG5N7OCH PMh2tS1Do4o8jnntL4p5MQi/DwdNp3bNczWV4= 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=u1iYWOO81m2b+NFhF6XQobXZiUwHPHVTOJQnybZDmPQ=; b=GXtwGuY8ZWgyVtXujNG3IIDIyl23gGpOS4yREOmy4NlOABdWjW11yKEXZFb2AeaOFD csHr/qHHsFm1Kl4++erAi1Yaogj9flyyvd2AleX211i2+RO9Kl0BxxKJPDRmurox27/3 cH3AEc1V1IjlzLAfI5M5pPYVI26cY++Cy5Uy6SGXmQ8RXU9xxmP9M841KY8owp7SZwFD a4Sj1zHtYLcUUswms51T0pQ+WA+i6nlJC3Kfh/5/lTnbL2Vx2dBm4PqYzfcNWwK9tYa/ O2SoWnXdH5RurBAUre/Upu5aXm51qZryyM1Z0xJ5Tpk+t1riYuNHtOapOO2xjeEJn9Gz /a8g== X-Gm-Message-State: APjAAAVjU1Z6y+WjibRKccLaPoz+N8O5DXn2ambbSYvBrl9JghyuUKnF NxOEgOOfVgnKBEFc01+Wbd/Oow== X-Received: by 2002:a63:358a:: with SMTP id c132mr23193049pga.286.1580177113667; Mon, 27 Jan 2020 18:05:13 -0800 (PST) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id z19sm17119015pfn.49.2020.01.27.18.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 18:05:13 -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 v3 3/5] client: Display wake capable property with info Date: Mon, 27 Jan 2020 18:05:03 -0800 Message-Id: <20200127180433.BlueZ.v3.3.I80d0e557c53f464415742324eb3ff2cc4cdcbc2a@changeid> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog In-Reply-To: <20200128020505.239349-1-abhishekpandit@chromium.org> References: <20200128020505.239349-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 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 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