Received: by 2002:a25:d9d7:0:0:0:0:0 with SMTP id q206csp533251ybg; Tue, 21 Apr 2020 13:51:03 -0700 (PDT) X-Google-Smtp-Source: APiQypK1+IJwi/lEMTHGwTnTGsWD7qyTGtLTrt/Fmk6cvzGXGSMOgCt5ZnXH+W3czSmEB70ADFpe X-Received: by 2002:a17:906:4d8f:: with SMTP id s15mr23584702eju.288.1587502263461; Tue, 21 Apr 2020 13:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587502263; cv=none; d=google.com; s=arc-20160816; b=akpBWmB5gGnRQiHHFuWi0dQS/AwT0CHX/eHMSw+VMeuefh5DW+/yAJ0btPEZ9tk+wy cq09hz8/ycnlOyouk8SPx7TquKjtOxpivUFrDaT2XIQepYDrNzZIgpdOJ4Z7BVZPR+Y2 Et4eXQIV9CngeqQTr31Sj/Mf68EKyA5p20Bc8GloA/6tK2sLDkFhf3cKoN70/HxyU+l/ 4awsEPsPz4XX8p+I1Esh+SnGQUD4WZ13EYF8giZjqY7SJDmxilyud+J9JIhG+i1YIefP Nk/erqIsUQlvAtNkR+RkdHZSG01BNZXqE3vskyJcOOWoE256CV32y5q1n3f7Lkbj5+lo DGVw== 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=Itaj7kaG8lC3FVC/lWJypXu3PFIwcyHH2UVpvUsv6Es=; b=bp4bMX9PR5F/JHKVFra49O5nzOgatxrWfKhUs71Sr7R8PzRJy76e4H6IJfdRnlQGpP yuhB76ZZSSVUUtiToQXBo3muIM13JO0AuniDMC55sJ9++3IKm7jjvIaoSbxVxijCJC69 ghI/FPS2gmAIIZDe51hMxawP62nDSarTzrJ0hcb70l8nJ9t3MdC8D6a1kOsXSuL6XVUj AuxqsK95ba8lAbcd0yNis2ES0qZ1PnFqpKsaINKXa4DVGNKb8jHmkONBcIj7lKe0CPV+ D0qNFr0w+DZrd/BPCaqXfXPbyJCB0J4ZaNBZ+nkh0tHxslIm9zgGLjrRc6GJF0FcsCzF h1nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IBuPXDdp; 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 n18si1748702edq.472.2020.04.21.13.50.25; Tue, 21 Apr 2020 13:51:03 -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=IBuPXDdp; 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 S1726055AbgDUUr0 (ORCPT + 99 others); Tue, 21 Apr 2020 16:47:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725850AbgDUUr0 (ORCPT ); Tue, 21 Apr 2020 16:47:26 -0400 Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C4D7C0610D5 for ; Tue, 21 Apr 2020 13:47:26 -0700 (PDT) Received: by mail-vs1-xe30.google.com with SMTP id 1so98233vsl.9 for ; Tue, 21 Apr 2020 13:47:26 -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=Itaj7kaG8lC3FVC/lWJypXu3PFIwcyHH2UVpvUsv6Es=; b=IBuPXDdpBGEIUzcsxYJwQT5pEbKnf321DaMMkVBYyhpVgFy2fXS7Bmc7GEwh9Gq+He w0fpSCy4A6tDJ3QKD+WZf9DVsH+H78BNWz3opci5bM2BqF4ImkTPiHMRtpokb7mhyGWu MsQ1biSqHBMd/vtsMVSDrCzJY4G65QPUDTlqI= 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=Itaj7kaG8lC3FVC/lWJypXu3PFIwcyHH2UVpvUsv6Es=; b=axKhYyrPCUI4spF8ibGQc4ldDHrRF5PHpHrM/zZ+f4kJM/5juoHYCnUIzaHX2gpj8q ZxVUSDPuS3pS+HQdOKO3rQ7I5KAgM111xmnslUpJYDsYza+E4YNbB2pAzXrpgLSc6w1C 1fYYgsm9bwSmlXYz0KhZP7GGymdLLhmjtN+c9qVNWH3lraHUXomRK3o0PDGUxmnnVqPh 4Uz1B/RXeqgLkrdPPTTdpBYQWWu5z8GfqZ01cBvsSEKXRwWXtxnDiJVHIryucAzXj7j9 P10wlYO0AEOeCSqhpNq4jKvI85HGWLDsw6FC7PVnkK9Nlp19d/2Yg2yBL0KTQAttfnoE Z1Ig== X-Gm-Message-State: AGi0PuaRVN2R66OmZDl9ifzPityVT9SMAiKAQhfyCYiWuYaVsn9quR7t QbSssygKDwZECu+s45RWPL4M33f1ykY= X-Received: by 2002:a67:3284:: with SMTP id y126mr9675320vsy.175.1587502045370; Tue, 21 Apr 2020 13:47:25 -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 u13sm783300vsg.12.2020.04.21.13.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 13:47:24 -0700 (PDT) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [BlueZ PATCH v2] doc:Adding LESupportedRoles property Date: Tue, 21 Apr 2020 20:47:21 +0000 Message-Id: <20200421204722.195637-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 LE 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..f76e1e910 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} LERoles [readonly] + + List of supported LE 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