Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1869808ybz; Thu, 23 Apr 2020 07:27:21 -0700 (PDT) X-Google-Smtp-Source: APiQypJBgM5Jnc07tHXzD2QXAPUN257k93yCGEYZ6IA9H4C0Ai6fNk/qkma6oZuW1/LPd1iAU2ix X-Received: by 2002:aa7:d455:: with SMTP id q21mr2795404edr.235.1587652041103; Thu, 23 Apr 2020 07:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587652041; cv=none; d=google.com; s=arc-20160816; b=x6Dk9MsE7azkdQ55P3LsqxQhm8IaRiyeUjrJIkc1I0EBPhqFiupKW7jtfMKoTHk+/Y H2SJaEFK7MSoidKO844tCR5KZQQKlZFuPaToK6I7dY1Nl/XF3ZGuymgAOrBjuqCWcF6F fHx4E46WcLjYQwcIoGzlszcxX2POrZ9AAtOrNNjV6RWUjQr7Mzf5DJnzAH7K481CTXV1 XVBo6wfRhxONrMGNd2/VdNmSflcsQQwL4qtvwVXDcDypNQJ2IjgexTwkhhRVVbSOFuUk 8qsyX4eecBRGGcMHecDbqDP5IWtAdaWfIY3XmjUS8qAK6Xzua31XS1LooOaBIHZ0rvw5 5fbw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=eTKrTYhVgB3E7suOwewnwnB8+6xS7oIEHT/PYcStCo4=; b=lLpkVIpwI9I+YKKnQJyjRgddnklSOKjSS94APT70wa1qrhR4ImSifuSWTbFBSZLyGO vZC+vr5eoW0gU7p0ZERo3QWPFEOeGzaZp6x/RVFN6lSGOhHz9oxSm5J5g9mwe/t+5EN1 7NBp1INpzZiyJiSrpZv6MMMt/t+Zbet5CHfbMOURck9MhHs7ZXnnexTPCfx1dDekC7hi 4gxv3NpEtGZcfP+12bZdOITYL+z8NLpSgrXP2veqJvokXDsETRfa7ZuUpSe/xgLuSEoM zcmj9FmTG+emOM72yzQdZgQ0Xt8+YnT5QPr+sRYF7gPymQWOZ0R/7hB1sEPb27+gcpGb cRRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nwAw4p6w; 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 i20si1284476edx.314.2020.04.23.07.26.41; Thu, 23 Apr 2020 07:27:21 -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=nwAw4p6w; 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 S1726363AbgDWOXO (ORCPT + 99 others); Thu, 23 Apr 2020 10:23:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726183AbgDWOXO (ORCPT ); Thu, 23 Apr 2020 10:23:14 -0400 Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC38FC08E934 for ; Thu, 23 Apr 2020 07:23:13 -0700 (PDT) Received: by mail-vk1-xa2c.google.com with SMTP id q200so1755485vka.13 for ; Thu, 23 Apr 2020 07:23:13 -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:mime-version :content-transfer-encoding; bh=eTKrTYhVgB3E7suOwewnwnB8+6xS7oIEHT/PYcStCo4=; b=nwAw4p6w4rf+jc4QGpT9Z/c5Rhmsbq7mwwfxD0Ir0OKtmOwmN3f+dSWlqPITC8/I47 INiiXAzJtY655AcZIci1bwWLBJSmDG10DC8ibMMyIvrHbjiCygwmKXQwbMhS5QEdVhVn WkqUpLw/CqXHePd3BPc7EnG20gMkOZ+NW+CnY= 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:mime-version :content-transfer-encoding; bh=eTKrTYhVgB3E7suOwewnwnB8+6xS7oIEHT/PYcStCo4=; b=rLFRXRDJoJsudS4vj26VTnhIb6pN/2iVjm0yIUxgDEkR72Z10/ZTwNx0q2d14PSSko y1J7cJJpsmqIYEKqVqLMy62CelnTHPcOLsHFiMu95QhE7Nrq87Ju0lZ0McPq8HJNVk/j UbHDOPI74PA3kVNOQNr6XaQSyO/zfAhI2LJzkGP59BgV+3YKur0XkVrUiBu8TbyFLzM6 s8A7G6Wk61f+tvhR/2B4wQdt6Rf50l0AGQUxCQemOM69RG4Tp747222gDPyCMQdJ8mtr z3ydegPRYoykmJlacDWOsjy+Hq5JBxEcGez1emCFQSa06IVsyyxaOGv9f+znFxv0SBLT O2JA== X-Gm-Message-State: AGi0PuZXrgSXUFqlt+Eam1iJFEBqFuunrQFZokvAixM8zJaW7cRuT/PZ oGfjFr17+Wn3bRwHhYilULc65frFxf8= X-Received: by 2002:a1f:a150:: with SMTP id k77mr3783923vke.88.1587651792717; Thu, 23 Apr 2020 07:23:12 -0700 (PDT) Received: from alain.c.googlers.com.com (161.138.243.35.bc.googleusercontent.com. [35.243.138.161]) by smtp.gmail.com with ESMTPSA id v16sm663264vsq.18.2020.04.23.07.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2020 07:23:10 -0700 (PDT) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [BlueZ PATCH v3] doc:Adding Roles property Date: Thu, 23 Apr 2020 14:23:05 +0000 Message-Id: <20200423142305.66778-1-alainm@chromium.org> X-Mailer: git-send-email 2.26.1.301.g55bc3eb7cb9-goog 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 This change adds a new property to indicate the support for concurrent roles which means that the controller has reported the appropriate LE_Supported_States (hdev->le_states) and that the controller's driver has reported correctly handling the various reported states. --- doc/adapter-api.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt index acae032d9..1a7255750 100644 --- a/doc/adapter-api.txt +++ b/doc/adapter-api.txt @@ -326,3 +326,11 @@ Properties string Address [readonly] Local Device ID information in modalias format used by the kernel and udev. + + array{string} Roles [readonly] + + List of supported roles. Possible values: + "central": Supports the central role. + "peripheral": Supports the peripheral role. + "central-peripheral": Supports both roles + concurrently. -- 2.26.1.301.g55bc3eb7cb9-goog