Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp86834ybk; Tue, 19 May 2020 16:15:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEolqNS8pz9sTSAROoqlptMnmzS20MASSagNI60qVKWL8h1nXDYYL5H8MEzUrUAQa5i//W X-Received: by 2002:a17:906:8283:: with SMTP id h3mr1502299ejx.415.1589930154093; Tue, 19 May 2020 16:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589930154; cv=none; d=google.com; s=arc-20160816; b=dNQombNnFWAcKny3Ph3NF3dn6z7K1EvMy/oNNAuThj1vYiGAbDrGqz5siNZF70C8vF hUgNARKyj2g3H6cq/z1HjMFwuMK+Lhm/yZcctnrdMD85u5Zl5rGvp8g4mOXP0tklYHdC V/nnUf5XPnD85BmDlhcmAz61vXx9X0Ja5nxnNlBSWqDEZXLWL2uWA79nPC0ZbxnHNz7h 4/gnH7hPTmDtmVDal5fBCQo7SXgNxsR5ZJU7Pz5TziDN7nt3wTI5FjcdUUYP2IcHIXNC AUrk9LFVUfhVLDgL7yRX8niLyRihwr13w6KpXtlzOchpnm4Jv/Q1/CFkp7oj7aAsKM2J hVsg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=stvyxgOVhN6x79FFoaJ8USdkipzacyWPaSvb1e3IQXE=; b=trg3QLXISKFAP9F1f1xiqHEQCdBlO4bHEV7TUhZo2xxfmCkTDnAshqCQiG6tjktWZB n4atWBDtsc4pSr1XmWA3cit76W8st5gW0msXBMCno/3sf8wt7b8NkoCwY7vBsh4aNfc2 6iUFBRe3kb6ki5AouOM6ewjl/NwToYHS/qvTn/PBBF9xDdtb9BsCMEDtx55rabMYNTfp YYEfxLPWE441CSqz4WliOV5amRdcJJHQkIiFyeqRaRGjrpr+Xl60+kFGl0M5zLZkAGJa ST/sr/h1hrlJeA9ylANlUeUMIjQBd18iXrCagojuQhHW8oNQFrAMtTgwVC4ilL7bVHCk G/Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="mkQ/qmxq"; 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 h16si572115edj.301.2020.05.19.16.15.13; Tue, 19 May 2020 16:15:54 -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="mkQ/qmxq"; 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 S1726348AbgESXNA (ORCPT + 99 others); Tue, 19 May 2020 19:13:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726432AbgESXNA (ORCPT ); Tue, 19 May 2020 19:13:00 -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 20E97C061A0E for ; Tue, 19 May 2020 16:13:00 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id f18so964340otq.11 for ; Tue, 19 May 2020 16:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=stvyxgOVhN6x79FFoaJ8USdkipzacyWPaSvb1e3IQXE=; b=mkQ/qmxqx21EiOa/6UFgRw2Rrk6n4L5eD+g+gsAbx0UEbmXAKh89XoEhWsrqt99dID s/jsywwShqhRv47JajoVLoklYMrBvkIAcD37rUENuSQP4dduY8A6Elwup1ioWyr0YfYA 7CvIpiTbYIuM+fUeyqkjUnhHkonf2V4b+iunw= 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:content-transfer-encoding; bh=stvyxgOVhN6x79FFoaJ8USdkipzacyWPaSvb1e3IQXE=; b=h2joUnBBy9KvyWEZuaOuRDDCeAKIQMuhY/ePeYSZdlqHPIWye5ZLh/85Pgg78bzOlP skghF1NJCjSBYBFASXvY/B6aijTm+6TZ8aF+KWHmnfcgH7bRCi9pGkV6hapKiidflrjG h22nojhwgnD5AZ16Kx1bVrEvY+X5VgtqqXm8v712TGAtxQYWYczwFMjGnA6wyvPf5hfi zLB6OW6/n3KuM4uoRrjLu981rAE5anidM5jfG+QJ6LyKSTpBWA8mjyNv3VbBabd4ffxd fQtTH5ilpIdZFKTOBGaJNgIFw9P0RE5ufiPK4GbD5M4P3k4MRwr7s9L670+kyCf36Ab0 aQLg== X-Gm-Message-State: AOAM5309niipNVslfetU02itSm+THeksvSE44LlkmLmXnre5/XdFxwwL PEp6xFFRq6jJQn94+0pNxdVqFRcSeemfnaTPfrGVZg== X-Received: by 2002:a9d:7d15:: with SMTP id v21mr1121360otn.70.1589929979485; Tue, 19 May 2020 16:12:59 -0700 (PDT) MIME-Version: 1.0 References: <20200401221320.12105-1-sonnysasaka@chromium.org> <6A574E50-BBF3-4967-9C93-6F4B6DAFB47D@holtmann.org> <68C2E4A8-29E0-44D8-9D2F-F4E2354DE419@holtmann.org> In-Reply-To: <68C2E4A8-29E0-44D8-9D2F-F4E2354DE419@holtmann.org> From: Sonny Sasaka Date: Tue, 19 May 2020 16:12:48 -0700 Message-ID: Subject: Re: [PATCH] device: Add device type property To: Marcel Holtmann Cc: Bluez mailing list , Eric Caruso Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Marcel, After giving it more thought, I would like to propose that this additional property corresponds with Device Type as defined in Generic Access Profile: As stated in Bluetooth Core Specification Version 5.2, Vol 3, Part C (Generic Access Profile): This profile defines three device types based on the supported Core Configurations as defined in [Vol 0] Part B, Section 3.1. The device types are shown in Table 1.1: * BR/EDR * LE only * BR/EDR/LE Therefore, to be as close to the spec as possible, I propose that the property be named GAPDeviceType, and the possible values be "br/edr", "le-only", "br/edr/le". What do you think? Thanks for reviewing this proposal! On Thu, Apr 9, 2020 at 11:51 PM Marcel Holtmann wrote= : > > Hi Sonny, > > > Thanks for the feedback, Marcel. Will come back with the modified > > patches based on your suggestions. > > I also meant to write that the name =E2=80=9CBearer=E2=80=9D might not be= the best either. I am open for suggestions. Also if it is an array, it nee= ds to be plural of course. If we start exposing BR/EDR vs LE or its combina= tion (and we might also consider HS even while not used these days), then w= e need to be consistent with our terminology across the APIs. > > Regards > > Marcel >