Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1885740ybz; Thu, 23 Apr 2020 07:44:48 -0700 (PDT) X-Google-Smtp-Source: APiQypKkJWu/FtWd3TWY4P1pwo9HCNDA3SKmxzP45mI2cFyWHD7ZUi+uYek6bKT9fd7mRGpJobEM X-Received: by 2002:a05:6402:1717:: with SMTP id y23mr2338418edu.361.1587653088018; Thu, 23 Apr 2020 07:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587653088; cv=none; d=google.com; s=arc-20160816; b=TiD7yvYXnypWFADvAq0pzQwsPtGbZv14CSJQIpxMpKIoYjfeFb+A+/Fk20h/tWiM/m eRxQJsZFSqlQhSmCaC4ogT8GN3T/bl9BpoRuokgeLFF4PgSiIPrmUs9Bln/tniVzixl2 mWjPAO5uvPXCjQnXMaH5bHV1/ftlAWTJoRbKEAgAsNNU5orTtJ0KPhAqPYHBCQ7RdKNc w0WfjAyFOJuJ0zk+JtaxInstnCwjyZzLsAz580Nbo+s8QFtQzGE/q8ndYBIjIrl010+D VACK7bb41mx8wsXkQZm5HJD6y6M7uhgsjcCNfBTbDTKcFxnYHzi4ZTn4HvtCNGIkaX2/ IdMg== 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:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=KjG8D4xc3qMlBNiEZsEZDVipk8eVcUA/4a7peYcMpng=; b=tjPVd0prbQxG4oQl5PSVk+dtYiJsuxhs7qJx8QnEwO73c4snnqS8JTlwMCPS61gCGt 5RLKJQhMwZlPUraVw4yr1zAywI5g7Ql+xGo0z+fbVgWw0nuNqnaw10bpZjWoPKr7hoFi OiFai4E1vaIW5aGno/jQBb4qXNPaOAMtUE1/To3AwvZ3j+nz2bt9GziBVEMcCRbOIkvV AsIRqP7JsNMZEVdMK48AcZaNtIQQPEdrxSDLtCtIFtN3Wv7iws3b45IIzoE1ZF/tLDB4 pcTBoumVZdON1Lca8avrHccbnjDMKRwY6iGFTQQdFlVYDZ1qgP+V7Hu0+KdTXSHsB7RJ W7ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codecoup-pl.20150623.gappssmtp.com header.s=20150623 header.b=CSd7maIm; 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 x2si1228615ejw.475.2020.04.23.07.44.14; Thu, 23 Apr 2020 07:44:48 -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=@codecoup-pl.20150623.gappssmtp.com header.s=20150623 header.b=CSd7maIm; 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 S1726323AbgDWOmO (ORCPT + 99 others); Thu, 23 Apr 2020 10:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728478AbgDWOmN (ORCPT ); Thu, 23 Apr 2020 10:42:13 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A7F5C08E934 for ; Thu, 23 Apr 2020 07:42:13 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id e25so6479505ljg.5 for ; Thu, 23 Apr 2020 07:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codecoup-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:in-reply-to :references:mime-version:content-transfer-encoding; bh=KjG8D4xc3qMlBNiEZsEZDVipk8eVcUA/4a7peYcMpng=; b=CSd7maImmdY/Dof1IBpRDkhCub9hRbUSfeCgsBCwR2KC/1z37TUqcwJUU8Oqbqtv9W vlOqle0H/VajnFqR0NqoGZppJaEXN7HJxTvgP9NzuWgT62DL9xcDzfRrSznPK8B+8g5Z cirDYHdoFRVdYwRBIIVFSZiiGTwLemU1W6pMqy28tZfov6alSYzULmsN1Jt+VJjKmgzV JTiQKfpbj+TqYicxnd6OiZnvdeNvrvUuZ7y0eizj/MUZwRBozgu7+t6b292U8yGJ87l9 HMal49XGm8O0KHdiXgGEYiBw+244l8V/Y9XGXrOCGalI4fHEE5zrrqPpoe9NLtz0Bl4u pr8w== 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:organization :in-reply-to:references:mime-version:content-transfer-encoding; bh=KjG8D4xc3qMlBNiEZsEZDVipk8eVcUA/4a7peYcMpng=; b=ldGql8f3WtUHzv9HnOMEz412LPhnytLLomqGQ4biYAIxCWekeqDj117lyNAbUVGrpe uFSDqB5NNEnikRbHWmuzlvj7vUO4H7cufY+jwhtLMWV12BQKfJrCxhL6eXnCIffudEvO so/qGrPM4sAWoKABeyOAu6xrNNGwalkvBsP8cUBgCtOaoQmXA377GO55FEL4SCztccW2 pum9C2BUFr7zq6WnqpYUVzy4Nw4/iEB+5z9maVa+Uu67gLLNKnKY39xMJn8JMDmQ/sf4 27hqxYS63yqHLlojmkvRaMMRIyAWEhFDF4PsaHmiHwrm+VHyfqvIW1RMj4/S9ik4rKKJ F6gw== X-Gm-Message-State: AGi0PubtdcF/qPGiEaNiHghK7bqhdkl5sT0fr+IZr/A4xMRG1mtIXLo/ ZC+fYFmAcV48mb/yBg+JwtIcCvidicQ= X-Received: by 2002:a2e:96c2:: with SMTP id d2mr2713226ljj.214.1587652931027; Thu, 23 Apr 2020 07:42:11 -0700 (PDT) Received: from ix.localnet (45-11-60-42.ip4.greenlan.pl. [45.11.60.42]) by smtp.gmail.com with ESMTPSA id r206sm1909533lff.65.2020.04.23.07.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2020 07:42:10 -0700 (PDT) From: Szymon Janc To: linux-bluetooth@vger.kernel.org, Alain Michaud Cc: Alain Michaud Subject: Re: [BlueZ PATCH v3] doc:Adding Roles property Date: Thu, 23 Apr 2020 16:42:09 +0200 Message-ID: <5347568.DvuYhMxLoT@ix> Organization: CODECOUP In-Reply-To: <20200423142305.66778-1-alainm@chromium.org> References: <20200423142305.66778-1-alainm@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, On Thursday, 23 April 2020 16:23:05 CEST Alain Michaud wrote: > 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. If this is an array os strings why central-peripheral is needed? -- pozdrawiam Szymon Janc