Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4222557ybl; Tue, 21 Jan 2020 15:29:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyYxCJvCkzXMcH+iQ8YHGhfROvxexkfyKHOmhyIfttMsq/rEVuj3qQRYeGDPnN/C7SBsLa+ X-Received: by 2002:a54:4895:: with SMTP id r21mr4974059oic.107.1579649363514; Tue, 21 Jan 2020 15:29:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579649363; cv=none; d=google.com; s=arc-20160816; b=i9hnThrguxCocONVxxh3kWARx/lza8te3/sau+OKVvVBZoe75OrZSmth0eVkMCn/On kdh9aNvEIA3LPIqwh5ew/J3ys+y+cfiljOajVsJgLzmsEaN42q0Bew075Iu41dG3/wZW HXhZjKDIUFnfY1WU4qtQvOSBPoP4292KM3iDGU8MNS64iro7G+x6u8ObCdhIoiO1TmHv TlkKuuYoGjiC+cY9v0/yGgozXJH1Ys95g8QHxrkcNNspMmbugEW9Xce1VEtgKaL8NXdT Y6zVFOjlvXhD8vHZjbh2YaoufsRklkoqXW3RJzPwkBn8rAKFyl8V9pZCK+N56Rhaqlw4 LSiw== 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=XDXJBvUeOgV88OWGa2XPbQbbGEVCn6SWMUGnOE5Vb6A=; b=AS1VaiNe0OjIcpYzhM8lVHbq0XQg1+eJb/Y2ZdUKH54EGE2f2831GJOr8bgya2I2lW MHBJ+4qvqY8YVBcjcHi6E3wD3935bvgaeXlEGNgLBUen/TObnGWHO33o5vd3PIGh6tjW 8r3h6H/pY8GaiugtmO729eRwgYt0PR83hB1+T5T9XlfMfWEPBFHkFyx24esRD7nxVmss GBbA9i3ODVeGlZT2+gt6JY3MsbGYIPpoUYzm9WEwZXJgsZoQGZ1WWuxsHJb8f+7SmKSP 381yQ/pyu/rJLTMKF+/rtrfC6l1jw5BGTlektZ8fS/pvvFPF4NlqNFEMlPWjM9rj2pzl 3Z1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=e5nz2+Ve; 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 f187si21482141oia.218.2020.01.21.15.29.11; Tue, 21 Jan 2020 15:29:23 -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=e5nz2+Ve; 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 S1726590AbgAUX1I (ORCPT + 99 others); Tue, 21 Jan 2020 18:27:08 -0500 Received: from mail-pg1-f172.google.com ([209.85.215.172]:35294 "EHLO mail-pg1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgAUX1I (ORCPT ); Tue, 21 Jan 2020 18:27:08 -0500 Received: by mail-pg1-f172.google.com with SMTP id l24so2373686pgk.2 for ; Tue, 21 Jan 2020 15:27:08 -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=XDXJBvUeOgV88OWGa2XPbQbbGEVCn6SWMUGnOE5Vb6A=; b=e5nz2+Ve0TcVCotp/I8zldnTPDkGbJ51XM0BwnjjZ1MBMLU0GdB571GAhEa9qXKzL9 EJbEl9cNde0enUgUTuzzmaS+yanv7F+8d+L78ZNNkBd8ZxrSRTgPXlnAFE6gpx14rAuZ qTJIpPC0MH78+qyC4ecOIyKarlB26sorxLrW8= 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=XDXJBvUeOgV88OWGa2XPbQbbGEVCn6SWMUGnOE5Vb6A=; b=JzFtvYJ1wHjsxu7WXMUwg25nMUjZihR7y1JW5McSTQt/zE3yH5t1dj+mwam1Wa7mvT b9jMpfYOQgRdMe/yxev3MvQqxBlF6wxGAFvfW6Rpo30Gwe7ovShiB8BF8wh2PvbytF3D ZzXhlT9IMPyPZsCSzKqC22b4XQjsXSM3jaHX8r1Lp4g5VfnbWR7f5K6MO7AWaeU/DN+E uxL81JvgZjwyBfTEezfEfdg84DCjxh3F/J4U9Mg8CGvJhcslh3mvs3Qq93sbH8eQYzSq ZGiWz2ZcHFbqc96hNm9BNHnunfK8Bumt7bwVHbBETguTKJUrLUZBBO1tN7U9z9lPsW9P erYg== X-Gm-Message-State: APjAAAVsTgQtD+Yf5Ikg4oXtdKPU7NcZpYyBLsCIf1M0yJgNLWnWB14x MPK+yr9tklcwKjw4BBtIxntpLQ== X-Received: by 2002:a63:7045:: with SMTP id a5mr8271460pgn.49.1579649227766; Tue, 21 Jan 2020 15:27:07 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 15:27:07 -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 1/3] mgmt: Add docs for Set Wake Capable Date: Tue, 21 Jan 2020 15:26:58 -0800 Message-Id: <20200121152640.BlueZ.v2.1.I999b93b65e613324dbbd16a1cf493be72fa06ad1@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 Add docs for new management operation to mark a device as wake capable. --- Changes in v2: * Separated docs/mgmt-api.txt into its own patch doc/mgmt-api.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index 1e59acc54..8a73a9bb9 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -3047,6 +3047,25 @@ Load Blocked Keys Command Possible errors: Invalid Parameters Invalid Index +Set Wake Capable Command +=========================== + + Command Code: 0x0047 + Controller Index: + Command Parameters: Address (6 Octets) + Address_Type (1 Octet) + Wake Capable (1 Octet) + Return Parameters: Address (6 Octets) + Address_Type (1 Octet) + Wake Capable (1 Octet) + + This command sets whether a bluetooth device is capable of waking the + system from suspend. This property is used to set the event filter and + LE whitelist when the system enters suspend. + + Possible errors: Failed + Invalid Parameters + Invalid Index Command Complete Event ====================== -- 2.25.0.341.g760bfbb309-goog