Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3153497ybt; Mon, 22 Jun 2020 16:46:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFUqTT8m40ObtYzd2wUJIJBH1S7doBnSpuzPR+ZA7EpCQANn2nY4N0LfUgBqzJTxLTv8e7 X-Received: by 2002:a17:907:2654:: with SMTP id ar20mr4540763ejc.62.1592869576849; Mon, 22 Jun 2020 16:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592869576; cv=none; d=google.com; s=arc-20160816; b=xcJf93feK9Lsh+0DFJPgomYahtq0rJHmwFTh3z0KDtHxDc6uho+NpAGhEhmmEmQJHd TC645RTt5Fz09nReJ+lMs8GzAowptEY57vmj6dxOI5FAy6TKPHV+jgTzDmqFSLF+nQz4 sbLi8zv975x/yJ4bFf1SCIawKcKODe6RedBE+KU/JmLjJwymDqS3XDL6fOBO8MwP6f1Q j5bMHjw4COfYJAksVUBx3yY/wZBw0j7Ov2iYx5pny2jmhjAFc+4HJ74DBQ07yHUCY+4w e7RoTNBZqeYuMVJVFdRxMd3knGN9TeRtMxQR1b7d6sVmqIubmfVdd+RLc1bw1dUj3W5c mD+Q== 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=rx9oioKmV1hXOmQeUskpAWObYiB+UYpRucZChdpRzZg=; b=mYecIWoEnZ0V2rC9Pp5/pcmpqlfEKuWlXbXBzVfQlHdN10X2WcOwNT9SBsZfMXJE+2 qmbZLszxhnala+mNAA8YJFqkIRKhIzKpaMDu3bFP3/vHlSUd9xrwJq0GTyOMVwfRZH00 RXdzMhy7r/e+Oq1BHKAZOIZyak7kb1zaGqrAp/P/vom4yAU6MpPn5LCworGpRlcIVEgy E+nyJIpD4MUsSp+ZBNuPERHFml+ZtMtm9kFzChZjaWjeHPMKY4ji6JCoKx8Qhvwb/Ht/ 0TT0YcyscpKrjzYjDaL7OSpDWMmf+3Yqn29ApiXx51FEUu50AsNumJJ2nEAzJYAKZtnb rOMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Eq2IW+Gj; 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 cc13si1265072edb.297.2020.06.22.16.45.52; Mon, 22 Jun 2020 16:46:16 -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=Eq2IW+Gj; 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 S1731094AbgFVXlM (ORCPT + 99 others); Mon, 22 Jun 2020 19:41:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731034AbgFVXlL (ORCPT ); Mon, 22 Jun 2020 19:41:11 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33CFAC061795 for ; Mon, 22 Jun 2020 16:41:10 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id k1so8296805pls.2 for ; Mon, 22 Jun 2020 16:41:10 -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=rx9oioKmV1hXOmQeUskpAWObYiB+UYpRucZChdpRzZg=; b=Eq2IW+GjCM0u1hJlkNg1GfwuMVDDACpeBKR79YQMxfKhy/NTayT9Phk98M53Cw7iDX lN3w0ikLVUtiFtsaX+97Zoi6cz6yAsas71ntusxG3h2Nn8LAVsV/LJ+9xDcXFDfqlbSn Q8sLU7TG0Cgt/iXnQOu79NRcdR0jSKoNjPqbM= 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=rx9oioKmV1hXOmQeUskpAWObYiB+UYpRucZChdpRzZg=; b=baezguNyew56aWEu/6MnZOyz4sDscj59ehWTQw0kgIvauv7YgrimNTI3gvp/2P3b0i w4aremmfTZEQrxvW/vOiz2kaMqdii47NsLmRMIYp5ACteGV45m7nSHi7RIrlSOQg+t7A 7EwiMssxZvgcs9scC7M01D/hepypXS55XYzEK29imM8xXEctF7IG7tonZLPmgtMRwASf pvvjaUZaRQLoT0UqfUMr2xoFVf3lXGgki+/FC4mtEdwPPW3hOfk9YWX2F5bcpZvGUFK+ scTWPsXk5Tp2KP1WkhNhWKSLzK0pbEHFf4OdjTGdAgr/VPITMVa3z2F8RZ/4m/qhwp35 eIxg== X-Gm-Message-State: AOAM532HP6U0j/f6671uvRyGDI61Yqn8DOv+yE5EhngsAcdmv9VUApbv xXsVQxdH96weT8tymZ++tJriS2r4IYc= X-Received: by 2002:a17:90a:de95:: with SMTP id n21mr20906558pjv.100.1592869269731; Mon, 22 Jun 2020 16:41:09 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id w22sm15049500pfq.193.2020.06.22.16.41.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 16:41:09 -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 v5 4/6] client: Display wake allowed property with info Date: Mon, 22 Jun 2020 16:40:49 -0700 Message-Id: <20200622164003.BlueZ.v5.4.I45dbf8ee15dff6c9346dc9754574a0be9bee1fa1@changeid> X-Mailer: git-send-email 2.27.0.111.gc72c7da667-goog In-Reply-To: <20200622234051.206800-1-abhishekpandit@chromium.org> References: <20200622234051.206800-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 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.111.gc72c7da667-goog