Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp939888ybz; Wed, 22 Apr 2020 10:35:53 -0700 (PDT) X-Google-Smtp-Source: APiQypJz23tHZlKuA+0zhnj0QZVeLyDqozxu31PENAvmLFK0IhjJOLaEQ90kB1htDFYrjRftsoyN X-Received: by 2002:a17:906:82d2:: with SMTP id a18mr26611954ejy.373.1587576953455; Wed, 22 Apr 2020 10:35:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587576953; cv=none; d=google.com; s=arc-20160816; b=OA7T5O1LcJi9YTxX1VpUXvb/n1+pFw/Ba7s32gXCWEz7geoXr8WR/InlHBC50Ofvp0 ANyOba93656/2KkQy4mDZkiBlAWXzG3nbJ89EfiJkchQpeij/Ju7vBSy/qynTViOM8IR yOliI9j1GbCNzHXdhX691jUeATLg4wwnLEmBVVBsu7ShPKyHulTMRoWZCFNv6pH5NO5t MMjAYFU9j1xvUKwtP3oD0m+QuFUwfOZLDDFGQX6tP7KBlhhUn8EXT67tBPsmk6vYUlgJ 2nTWqxFIO4MDr/h46HVDLTVe4L7kx0tz2PPm0k/foXyy1a3i8jSXE6rAhknWkQn6OGM3 Ljbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=4KcfNgW0TgBlRYLgazwiI8dLKnjP1e1/E01SY3cHKX0=; b=pySAPKHghwEDXTYboyA3FFS6MCtAG/6a0kQrMvpucJ/pOtyoGHGD17zExjeLCAL54V Cn2Xn+LNbaG8J9mxwUYMRXgpatBSziPJas4HLlszy2ClIsRuNyvmPk49a1BPe4ggnYoT kkBEeDtC+sdzSknN/UuSklykM6H0n59xManWkWyIFYw/84S/pi0I2epZxb2OWpDHcU0z f4ByhCxCGxlJUl5OE1satfN0+CtOjFyZJN5Dl3JHbO47Q7xwUNtriGEBJTno6ovqIBUZ oFsUW8m0/NgimBLaG/l2yr7vsVaxG3CDmsKzKAA//PQqLaOsk+CrhzPx/lCDUUBx6Ttw 6nKw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bq12si3687623ejb.472.2020.04.22.10.35.28; Wed, 22 Apr 2020 10:35:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726061AbgDVRfW convert rfc822-to-8bit (ORCPT + 99 others); Wed, 22 Apr 2020 13:35:22 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:46864 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbgDVRfW (ORCPT ); Wed, 22 Apr 2020 13:35:22 -0400 Received: from [192.168.1.91] (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 28CADCECFD; Wed, 22 Apr 2020 19:44:59 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [BlueZ PATCH v2] doc:Adding LESupportedRoles property From: Marcel Holtmann In-Reply-To: <20200421204722.195637-1-alainm@chromium.org> Date: Wed, 22 Apr 2020 19:34:50 +0200 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <37A7A874-31C4-4DD7-AB71-1C3C0837DDAE@holtmann.org> References: <20200421204722.195637-1-alainm@chromium.org> To: Alain Michaud X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Alain, > 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] I would just call it Roles. Then we can extend it without having to be LE specific. > + > + List of supported LE roles. Possible values: > + "central" - Supports the central role. > + "peripheral" - Supports the peripheral role. > + "central-peripheral" - Supports both roles > + concurrently. Otherwise I am good with this. Regards Marcel