Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2982732ybz; Mon, 27 Apr 2020 08:00:40 -0700 (PDT) X-Google-Smtp-Source: APiQypJbPrrfo05NF81aycEDJzkfHQE8ndqOM2GwTRAFmIAYV9STr1eSVyN+0mKwxs4whFx8JrNm X-Received: by 2002:a17:906:970e:: with SMTP id k14mr20271834ejx.202.1587999640725; Mon, 27 Apr 2020 08:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587999640; cv=none; d=google.com; s=arc-20160816; b=fVwsc+AYia6D+OTV16/dGoL1NBdVwRB/i9GqhgjnelHvE/XvcAmi8SeiXiJKoNfzwS Cw7a2AGmLFq1lAxh99bTdlx1WCpvt9zR9etHFCT1ZgCIZx3YMNhk7FPP0T2qWIqDK2ca YPIK+q7qT9USNLg+DRRbtGPAbcUbOf7ug4fOE0ztIc35ZklLU02h1JBbCUqK7LoCQW05 CtnWUPAosNkRE3aYiDn6WyfU2zgxTHkSBYdwud/NPZej6zqc9QZa3rQNtdp844yIGS81 BP5c+Qd4jSK07aAfSY47oWLMH5Vd7c2ddLuXwtJ/643ANL8mGKmbc8Cok+50oNTHCGkh aiTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=P9yWHu/MnZh09x46GPkTbS23TLN5+4dZz+TmcsF3+LA=; b=uj8ZT7wkK673TpVVZWRQ/H9OK8yugBWVBc1KJHufk32g6LBxE8PFe0BMRu85R/aua8 qp6EWSldSE9k46NMJU3IP5LYE++O3fAbJCysr4zkmSYGagKiwko7tPflddPX/qUpp2rP nJGJXGeY1CON089pADzqp4bflmAi7j0vFUDPqOtphGN6GJAW4F4QEV3bRx31mi2IyQHo C6jcrHfEXiYe1hlS0kNE0NQQM7mQpAww0UZzUrEnavoLVtBya96f9Znr6SzefvEHOdYU zPVPsHyxerolTNWbE8/6yW2Hh5iSa+zsu2RAlxC1K2zV/QxzYKkKkrM+Tp5x2FEP4Nnl UbjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YVvmP81Q; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs23si9031476ejb.207.2020.04.27.08.00.15; Mon, 27 Apr 2020 08:00:40 -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=@google.com header.s=20161025 header.b=YVvmP81Q; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbgD0O6J (ORCPT + 99 others); Mon, 27 Apr 2020 10:58:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727073AbgD0O6G (ORCPT ); Mon, 27 Apr 2020 10:58:06 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25101C0610D5 for ; Mon, 27 Apr 2020 07:58:06 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id w145so14105404lff.3 for ; Mon, 27 Apr 2020 07:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=P9yWHu/MnZh09x46GPkTbS23TLN5+4dZz+TmcsF3+LA=; b=YVvmP81QmrAM8kfC9K+hXLTYF0xX2OeeareLvZPwysTZoHY08My23cp0uYg/9Vh+fo wSAZcz9iJgpKdiaxBjcnEVtAZ9NqmgeuP7tEHFxWA4Q0T47hzZQCk+RLSKu+P4fd0iXc UHE4/5a1I5boyY/KFadEz/E5FfPLEZsisogMiDeKaepYVk9j7K8ZijQGDaMdcf4rDR9Z T3/55Y4HqvpRP5a2Dv2XdfhLerju5eOE52tvK+bpghkRzBOzN5lE7oOh/ryGisR9AG1+ YUVKh85xjTy8pAFyxMNYtYxY07a+8WAk9iTEgiQsfF3DKoKRisSysMqxpPIrZq9ApTfA kzLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P9yWHu/MnZh09x46GPkTbS23TLN5+4dZz+TmcsF3+LA=; b=QVKQqr5yZmhN00YyeIBNuIiW44/OBcorKx5yaAfFgwlPPFDOMKDrqbKIqnFAQH+zGr txqfqMLcOgqyt1UooDj2Xk8DlQY3aXWSUlNt7SVL/yAa2toCJovi88NWvkOH5DAjhQZY lErCGQQfWd3s6IA7HNKe1R3AEp34+NXU1VOOOjeknNSk+qW+M6yYXM2H25JlVJmvhl1k cxgc27TMZwePuBkfkGeYSDPykyCvd0ulRWKEPOkGDPIFSXWFQj9b/hB21YWzQHgRJLVP zqKEqt5DgLY37l3oYvBdHtrcX6aibZbTbvB+GplrplWVzNvnZ5j2Vy0DjLZPg/5jeVN6 7nYw== X-Gm-Message-State: AGi0PuZc3kan+4Z6R+/V5iP1Hqt0zWAmQ/YDYbIvg+YxtO6p11JRfy8l h/ttRSGJ7JTLnF09T0S37xIeNrwwdvhOgkwJ2wQP/Q== X-Received: by 2002:ac2:57cc:: with SMTP id k12mr15335725lfo.69.1587999484274; Mon, 27 Apr 2020 07:58:04 -0700 (PDT) MIME-Version: 1.0 References: <20200423142305.66778-1-alainm@chromium.org> <5347568.DvuYhMxLoT@ix> In-Reply-To: From: Alain Michaud Date: Mon, 27 Apr 2020 10:57:52 -0400 Message-ID: Subject: Re: [BlueZ PATCH v3] doc:Adding Roles property To: Szymon Janc Cc: BlueZ , Alain Michaud Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Any more feedback on this Api design? On Thu, Apr 23, 2020 at 10:51 AM Alain Michaud wrote: > > On Thu, Apr 23, 2020 at 10:42 AM Szymon Janc wrote: > > > > 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? > The keyword in the description is "concurrently". Not all adapters > support being peripheral and central concurrently. > > > > > > > -- > > pozdrawiam > > Szymon Janc > > > >