Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp839272pxx; Thu, 29 Oct 2020 16:07:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKDRm4zisz6dDtNMtLNz2pBcVSCMO3swAAyMbh89Bi7FulBXTvUmxJ4Ou/OW9BS7hP8v9b X-Received: by 2002:a17:906:349b:: with SMTP id g27mr5657833ejb.512.1604012840366; Thu, 29 Oct 2020 16:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604012840; cv=none; d=google.com; s=arc-20160816; b=H57wuHAckBYQ7V+Vsq87wzlEOkHYC/cNq6L5XZAfbwtiNeeWpGzJiaPoDzH2a6bUSW RXr5opEQXqJvUU/eFRUXzjSguQh9PNuX2z10c0nbh4XyNoChcA8SCIAc2bg6Y+BbrVOf FyVQh9pPuua9obv5RsmnUn82INh7sKpIp7ct5dfYuXXuWTEXLZkRgmERLn1HBqwUN2Ro hVn9guIZyHKMgCwnfW8QDP1s0th/5LZ5j2oWa1LOMMQ2S0f5OwQIiFAYVcfHFoyWUHVQ HColhK4whBH0xyqvK3aQ/lKxhjyHtu0iUmn/5uEhV+KTkuEiL17EqBPLaFmuafkc89xv 8Oaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:sender:dkim-signature; bh=lcQI8c2L4RzrSzx8LBB04nbS9XIOWhnktjSc8NnfV70=; b=URUdckrXvBLMx4H/eD2OdqSeZKbJzvKMpAOfi1zfRGaC1JEMXMf7BWAiAtwR0Syf/4 0j/N2OpOi0RYLE7F09FpUr+Vcxb02p62VSoTjjji308eCoULLuePw7z2fS3qA9K5w3nQ BUmYDuvWqORu3wBFXBs+246mXj8eYY+hG5OHlIKMbXl0ynRcxpeBWuEFYTLS8J9w5TzH C+ihcHpKMZ6iAHQTGF+a8l1BRx2tcIb4DJxLDOe9I5GSctlQQEyfYM/8J8VPeg7bTBtf bZKpzuby+IvePznST2n++m4xh6ft3a79TTIXL61CWlt1FESYPTwYM6SUkAjqjj7E/jRi hC6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vwZwlBvW; 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 ay1si3192794edb.3.2020.10.29.16.06.39; Thu, 29 Oct 2020 16:07:20 -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=vwZwlBvW; 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 S1725772AbgJ2XGc (ORCPT + 99 others); Thu, 29 Oct 2020 19:06:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725379AbgJ2XGc (ORCPT ); Thu, 29 Oct 2020 19:06:32 -0400 Received: from mail-pg1-x549.google.com (mail-pg1-x549.google.com [IPv6:2607:f8b0:4864:20::549]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCBD4C0613CF for ; Thu, 29 Oct 2020 16:06:31 -0700 (PDT) Received: by mail-pg1-x549.google.com with SMTP id o11so1729400pgj.21 for ; Thu, 29 Oct 2020 16:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=lcQI8c2L4RzrSzx8LBB04nbS9XIOWhnktjSc8NnfV70=; b=vwZwlBvWfdaMHKFocCheVni0/Lc4zbNeRhl8gOQPm5h1ZRP2v0Nl6wzFbF97h7xXn5 zq0Yb6TGXpwVmp8A+RPz0DyJSlrNWorjfu6+nerTxcCrrD9BkD7oAsj2Pp+GuhudAz0q zfbFehX9SA+3W3MB3hqgtkMRgB1gMR92o2+2tMWfpZDuC71x18S3H71wE5xx1e6VkqP7 Dk8dA0vflmW1sksvQryFlKl9ztfQQYgD31QlFfQlf9T0Zt1oI6iFDYp2pZ1YE0IIkR9g Quy4uvCs2TiBqbFFT29MJaVKfhHyycgbpyb0Xs2l/aACZt7YoHe+LdIMj0U73QPTxVAb DFvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=lcQI8c2L4RzrSzx8LBB04nbS9XIOWhnktjSc8NnfV70=; b=uNb+9QPtsZODGNRxK87s9yFBtHL8YWrFtWxwHLzoH+6TWbTHwNFMXASJHf5hdgzHBe wTdMTXsor8pPpWsy04TXu600sX7GpseyQYDkqr21ibHy8fLoe3bf1YX7srPuQVlrycaW 90WitU4NmR5Z/Q1Gcj2Tp0Vvrt+jmVMqSNfexf311PD4KCWfV8FOxI5kajlSkX8JOClu hsdQ0zYvbqu4x2Kw0zswynSGdaIOO6EMX8KZDnhkkuDxpjZI+W0zMQKhTWzM8mX1iqgN 6bcdIywO+UB7NwsmbjH6g1efbVLSYA/SYhCET8TxEJfi/CLu6SpPZ0V4YAl0m+OgND2C H5Mg== X-Gm-Message-State: AOAM533RzbI6yibEbK157+FmttgaDDyH3ww48BvzimJP3izgktPAK7vH PWVnA8jLZkFGyYKEq8/kU5ltiU2VEUus77K3iClp Sender: "danielwinkler via sendgmr" X-Received: from danielwinkler-linux.mtv.corp.google.com ([2620:15c:202:201:f693:9fff:fef4:4e59]) (user=danielwinkler job=sendgmr) by 2002:aa7:868f:0:b029:155:dcd2:7320 with SMTP id d15-20020aa7868f0000b0290155dcd27320mr6500610pfo.53.1604012791461; Thu, 29 Oct 2020 16:06:31 -0700 (PDT) Date: Thu, 29 Oct 2020 16:06:13 -0700 In-Reply-To: <20201029230623.3630069-1-danielwinkler@google.com> Message-Id: <20201029160317.Bluez.v6.1.Ifaa96e71a871158e5d9d454073b2b6846eae339f@changeid> Mime-Version: 1.0 References: <20201029230623.3630069-1-danielwinkler@google.com> X-Mailer: git-send-email 2.29.1.341.ge80a0c044ae-goog Subject: [Bluez PATCH v6 01/10] doc/advertising-api: update API with new interface From: Daniel Winkler To: luiz.von.dentz@intel.com Cc: linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org, Daniel Winkler , Sonny Sasaka , Alain Michaud Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This updates the advertising documentation to include the following features: LE Advertising Manager: - New SupportedCapabilities property LE Advertisement: - New min/max interval properties - New tx power property Reviewed-by: Sonny Sasaka Reviewed-by: Alain Michaud --- Changes in v6: None Changes in v5: - Changed interval API from jiffies to milliseconds for clarity - Changed new dbus endpoints to be experimental Changes in v4: None Changes in v3: None Changes in v2: None doc/advertising-api.txt | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/doc/advertising-api.txt b/doc/advertising-api.txt index b0565eab2..541c57004 100644 --- a/doc/advertising-api.txt +++ b/doc/advertising-api.txt @@ -138,6 +138,31 @@ Properties string Type "2M" "Coded" + uint32 MinInterval [Experimental] + + Minimum advertising interval to be used by the + advertising set, in milliseconds. Acceptable values + are in the range [20ms, 10,485s]. If the provided + MinInterval is larger than the provided MaxInterval, + the registration will return failure. + + uint32 MaxInterval [Experimental] + + Maximum advertising interval to be used by the + advertising set, in milliseconds. Acceptable values + are in the range [20ms, 10,485s]. If the provided + MinInterval is larger than the provided MaxInterval, + the registration will return failure. + + int16 TxPower [Experimental] + + Requested transmission power of this advertising set. + The provided value is used only if the "CanSetTxPower" + feature is enabled on the Advertising Manager. The + provided value must be in range [-127 to +20], where + units are in dBm. + + LE Advertising Manager hierarchy ================================ @@ -209,3 +234,26 @@ Properties byte ActiveInstances Possible values: "1M" "2M" "Coded" + + dict SupportedCapabilities [Experimental] + + Enumerates Advertising-related controller capabilities + useful to the client. + + Possible Values: + + byte MaxAdvLen + + Max advertising data length + + byte MaxScnRspLen + + Max advertising scan response length + + int16 MinTxPower + + Min advertising tx power (dBm) + + int16 MaxTxPower + + Max advertising tx power (dBm) -- 2.29.1.341.ge80a0c044ae-goog