Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4163639ybl; Mon, 27 Jan 2020 18:05:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwE4HRD1/NkZsNbH14+LEiVfe4Aa50qH1Dgw2OBMkGmaf82pb3Qv2oLYZhYWPHFP3ulOap2 X-Received: by 2002:aca:dc04:: with SMTP id t4mr1370934oig.51.1580177130331; Mon, 27 Jan 2020 18:05:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580177130; cv=none; d=google.com; s=arc-20160816; b=hLiBH51iHQ3UfzqTNGXmDWi4NyDBa87xcXzZigCtcEaHf419O1NIRZ8zrKzvnUBlno yNZz2bmTrEyD67F4leoAF0lTP7n374vdL6TiJb7/D9zttp4xnnm+PwRFo918vClHFatI 7c14PL1aiJ291nIqEVqkel0JcEpDRW1krizMjcXgfKajR7h5djYRA5pDZFWuIzFxeZ1B CHtsS15VN4Klu4Rjko/bo92DOpyRChX4ObZ9zP+i5MH2/dwU9TTjnv8tXAyG+vbpShj8 9GV6hCiOVQC3JPwM4Mg1nhfZZycefzSqlw2Rudrbfq29wh104yr2vRAIDVT+cLqoipLP GRRQ== 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=oESsgnjn3tlPnw7isobWu7ye1ZgRvVYgV6MEBPxlQMk=; b=rVWk4dR3cOURaTqezuYePnOoCA+9n99iKsUd4ySq8w1JBiUJg1NQXnA7/UDN6EmEpz 1fNhuI18c2PrdF5N3rxS//RTfVXbHFnlOx6tnMqkk1/XYJWXl71yLhhTomTJ50ewIRV8 qSEHkcXSSXkpGXVOmmSTc/mkFUriQKlQ6+DqjgZFwfI1qvQ7v44Enm718UN54liUnqeG 9Y8hcZsBIsr47Iiqj7dNSxC2Kz/jTnxozhqZhp2+hAPy/JjSAHbs6nymnjH1sKUXiaw5 3dUJ/dN/3LtNsNcBLbWY/6qTGt+gk+T393usz8Gs1Vk8ZGhoAlheHJ4z69wK6Tpa4qxn h/Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WkdqcTpY; 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 h18si7569826otr.265.2020.01.27.18.05.14; Mon, 27 Jan 2020 18:05:30 -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=WkdqcTpY; 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 S1726191AbgA1CFM (ORCPT + 99 others); Mon, 27 Jan 2020 21:05:12 -0500 Received: from mail-pj1-f42.google.com ([209.85.216.42]:33175 "EHLO mail-pj1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726164AbgA1CFM (ORCPT ); Mon, 27 Jan 2020 21:05:12 -0500 Received: by mail-pj1-f42.google.com with SMTP id m7so246922pjs.0 for ; Mon, 27 Jan 2020 18:05:12 -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=oESsgnjn3tlPnw7isobWu7ye1ZgRvVYgV6MEBPxlQMk=; b=WkdqcTpYSKEZ91Ra8Yk2J4AQz5gYroTjm0QQFIBFklYBSZJpEgBIaKoXrPwxZsyNSU kfsGP7Uftxd0x0FCdvsT4A4JQXoF/ub+IiETIsllmfBB389wovkfKZ4u4X8fr97Rkspj h/89JtsdDzrg3YMcZDLtXTq2gl6YmeOmaywLA= 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=oESsgnjn3tlPnw7isobWu7ye1ZgRvVYgV6MEBPxlQMk=; b=Gia5CIKY2V714m77WIGijKbohTFWyfRLLPsJH08zfAhAzQhU4rIXHH1+52T2Br8uPA S6u56hXHPYrjRPDt/toLgmsXxK8rfufF3ISzT2msBm8OHj52cBaTOJjAGFp9J0DTykqm 1MM5hmsYTYA59XL+fDgtanGkC+zANXuG1CwEUaIYdvMnF+L2Sy69dipgxkm1YHDPIlXB 2TgImzWdwFGvPPyqmCOr/R94HWbGk39/2UPsKYuQfnhazsADXbMzMgr7CSa7sP0tNQGC x+GD6R301jzhhqCXScv9FWtct3Lb9E4ViiDOTkuTIKRDTFOM8GIIflCzuF4XPleZxtHz ldpw== X-Gm-Message-State: APjAAAUywNx2m+OW5xwpczKmkAThfq5qM35CrIiUxnatUfmafn0MZTUm RCkCU4NpAmOBdR2Kw8NtMiJiWQ== X-Received: by 2002:a17:902:7c95:: with SMTP id y21mr20356240pll.186.1580177111900; Mon, 27 Jan 2020 18:05:11 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 18:05:11 -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 1/5] mgmt: Add docs for Set Wake Capable Date: Mon, 27 Jan 2020 18:05:01 -0800 Message-Id: <20200127180433.BlueZ.v3.1.I999b93b65e613324dbbd16a1cf493be72fa06ad1@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 Add docs for new management operation to mark a device as wake capable. --- Changes in v3: None 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