Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3091995ybz; Mon, 27 Apr 2020 09:49:06 -0700 (PDT) X-Google-Smtp-Source: APiQypLDayeHnqhD1Ggk7OXID7X58yklk8Yj8WlwiCt5p1UriFGrNRmAmQP1FFoqPk00iBVkWwoS X-Received: by 2002:a17:906:496:: with SMTP id f22mr20220785eja.311.1588006145902; Mon, 27 Apr 2020 09:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588006145; cv=none; d=google.com; s=arc-20160816; b=QGVqdJcOapaqihCYd/NO3dgxaN2ruBO18eWDcmSluAyxL47+/5ozDlDM0kPbUEl/Sh +/eQC4YyGN4lW/UknuSfn+AilPOJLEAgvEjjRQADNzZu57V3x7XC3A04+ogSKq7OAwRp +FOezN+7KU1VHRkCszv1fR+hBXVdCjowF122L2h56bA1r4GPrl4oK99vK4+nYUMZNybx 1UUsZZy5f/hR+57FeKuWrTQTx7u4y5DkkQ/03XYhwoRVIqDXGhIDiDJ4FzrdoV64e3z+ 7c615FHpRT7e1Oo//ioQ1QotApcKQN357qmyOBC9lcFEz6x5Vi1k5ahQ5n2pBUIVj6+S aT2g== 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=7GZ+BCL7qN3UO0nqfcKxsasUhMHjakP9Hx2ZS83UMSk=; b=KZP1frfsh27So1ozVcT2Cya1Lw1atiagxL/0+ehfyqR3GU2tpaBiUKTFnwVZSTMAFZ KuCVq5Eps6pfV7wKLVjVvuf2wugxQSAM1lNp92t2GtVHz+rAUxMW4iFuolCsYBU6O/iF 2rFS12fprbdZdCC4cX4eF0EvvU0cPic19jidbn4/B2raopJaz486/2m0bJcwk20Ep6I9 ccnrkJmnibqK0CRXkQ8wtvqcaOWB0OsZEigSHzyzwTtlOmPHxBAQ7GoxuuQyafEjbI5v JKRzLguOfFZFBQUUC+ZFLpA2tLlNFrHzALI3Q78/Isd2sZHV432F89hzQwYYEfNAU516 OaDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=d5WerY8L; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si89520edp.213.2020.04.27.09.48.41; Mon, 27 Apr 2020 09:49:05 -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=@gmail.com header.s=20161025 header.b=d5WerY8L; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726398AbgD0Qrx (ORCPT + 99 others); Mon, 27 Apr 2020 12:47:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbgD0Qrw (ORCPT ); Mon, 27 Apr 2020 12:47:52 -0400 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 649E2C03C1A8 for ; Mon, 27 Apr 2020 09:47:51 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id j26so27341040ots.0 for ; Mon, 27 Apr 2020 09:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7GZ+BCL7qN3UO0nqfcKxsasUhMHjakP9Hx2ZS83UMSk=; b=d5WerY8Ldr6y5C2/E6aETZIlGbBWyKk9k2URmjNBnuiP3UEKFpNzSw8oKGbv0Y4sxI tnfrtTNAXRvjud5TeswhjYKFsmUHoy9DoW2mu8Brj+MzuJoYkBCmQa5/Xl0+JlWPgJL/ nqN5zjOm3yBYMm0tgt4GOvixp6ZK9fsbn7lzKp3oRF1Zo7hhV2wpe0MtF8+NM11sxfz/ XoxAD39gKBRvJEg/WJr5A1mzRBYWkZG+dahthH2H0uKCP5PoyRA73cV/htLOmpPS8FhA CaLZnS0co0Cm/teaicD8RXkrevMDXqVtcYYOsIDMUepr/t12YuBxo2aDbseuRNqZ60ZT JKrQ== 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=7GZ+BCL7qN3UO0nqfcKxsasUhMHjakP9Hx2ZS83UMSk=; b=oxKokm8NP8bXSDRFuIiVArh1+sc6vJfMtXVXezXszUIm/PxZEwmXZCD6Im/XBuW/4/ 5ZwmykiVXIFvzzW+iMaSbSByqXM/5cDbKKGC9plAyNBhZB4snwT+VkIKvDwuyhOZP7sL QRsPGeNd1XfS+J8B1z1ILYF/qPPA9iJdDMLZg2i4kLd0qNNjfWlxK2fX+OZGstMYJGz1 jOsXXcihZTiUKPgR04yUZisSV+svyaT1Zke8V9SDxfMKrz9XTK35DxQg6Nk3Sv2Vy7nW p6QMTFSusXeA/G2c3BcMDH66f+7GpDNvFU4GPk4Qf778B383vL7AIY0aVvCIMKHerMSj yPzw== X-Gm-Message-State: AGi0PuawevuHVEDAi+Qdn+Wyja7seS+b6lYa5rrWw/GDTolgWL7AMGjb bLZb1XmHA2n2qy4VfTQjd+03TXLTOqluJKeJnEk= X-Received: by 2002:aca:b155:: with SMTP id a82mr14667666oif.110.1588006070758; Mon, 27 Apr 2020 09:47:50 -0700 (PDT) MIME-Version: 1.0 References: <20200423142305.66778-1-alainm@chromium.org> <5347568.DvuYhMxLoT@ix> In-Reply-To: From: Luiz Augusto von Dentz Date: Mon, 27 Apr 2020 09:47:39 -0700 Message-ID: Subject: Re: [BlueZ PATCH v3] doc:Adding Roles property To: Alain Michaud Cc: Szymon Janc , 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 Hi Alain, On Mon, Apr 27, 2020 at 8:02 AM Alain Michaud wrote: > > 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. Applied, thanks. -- Luiz Augusto von Dentz