Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp438496pxv; Thu, 24 Jun 2021 11:12:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9NnA0yOMbQaaE7aaJWogkxCrUPjyCShdMO1hTEmC65sxM0JTamcpZ2DTuC+Hfd+iCk5EL X-Received: by 2002:a5d:8d16:: with SMTP id p22mr5244570ioj.90.1624558345230; Thu, 24 Jun 2021 11:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624558345; cv=none; d=google.com; s=arc-20160816; b=yTZaMHb/fypi10fHhcwgy6drMBc4uaQC7ua8QwsD1yI89wzsFcVJODChSXz96E/Lsg vJ02u9Z+J+opi6RPzsSE3seOrvC6ofSUALQfYI3sxk2WnskitN4Zfk5+oOMnhNy+G5sb /fSD4wiMBOiMVw/y3CV2iRIxIpGgnGVM2L3SB56zSjn6PoNCfnlcxaLepZ/dPWlqyacx TdojsxT/BbV2LJGJqq8r2GnukdeE9rjLl3TkFZEAUUynBgLg9MW1tZgSqMjgZfzeQdz4 OlionqL5UoVlsHT0bucMoDqz9a432Z87vKaXWZQC8lPFhw8okhh/FOrh3dr1+C7/mHUI w/4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=IR47SNYHakzv32LA5oS9u/LB8Qu1MH5I/N1xky/09Ok=; b=Qo9YeETQ2cjL2GXT4NrcFY3KnE2oo4Zqme3nK2XWsA8LywXeS1P0Bbam5U1ViW1QJS n5EFXaT4FezmU56agTjMyafgJ83YzWHEhVDmSdcr5lHuFOCRu7QaMh44hcQlCotFFkcZ uJNJuxNGH9yhfcbJIm/d3PUbEPB6Em/us8dudic8g8thkdxByut2ZdNGD7r4oXiPc5WN 7ip/McW7SkvYbAs3hmPWzf3LdKztPa6nemvzu7IlE72UA/BTKNLYLwRMFhj/Qc7ykcVx 1i50+h+vTb3aPWd6Eo5vWIjC0QSrN1QvEi2tXGLDO8ehytR8AslULHQwRR9AeggYz/i9 pbmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=FFaZrG4f; 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 m12si4347410ili.36.2021.06.24.11.11.55; Thu, 24 Jun 2021 11:12:25 -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=fail header.i=@lechnology.com header.s=default header.b=FFaZrG4f; 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 S231407AbhFXSNL (ORCPT + 99 others); Thu, 24 Jun 2021 14:13:11 -0400 Received: from vern.gendns.com ([98.142.107.122]:40536 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231878AbhFXSNK (ORCPT ); Thu, 24 Jun 2021 14:13:10 -0400 X-Greylist: delayed 1567 seconds by postgrey-1.27 at vger.kernel.org; Thu, 24 Jun 2021 14:13:10 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IR47SNYHakzv32LA5oS9u/LB8Qu1MH5I/N1xky/09Ok=; b=FFaZrG4fKa8673WstwLOOzzTJi 2XSutVqaVtIWwWiKYVP6/XDNZmeiAqbW2QyXfJSog8xuvz+inJkn+iA24eYFDsZ6h9f/6DMpNgpcd PBLNAkZoB1vFIUb4QC4zsx2T31gYQGtSCJXsscPrjwvp/KD3J5yC/hU8oX5AkGJ6atWnGEOcWJxEJ wefHuq9ZhfSaefT4wQGtiMu/kcvzNgKGwq+1XTtdCH2iqcGtE6jTk9XwEUOHlAicW3cUcuZVmWzLh rf81bbEEbjcDw6uHDq0IFXkyyjp+h6I9lEzjAq3ryBZ0qiZ60u2BuuWuQWaCQa35cOxOPFztu7ouQ Mgtxdm5w==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:37642 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lwTOx-0005Tl-8r; Thu, 24 Jun 2021 13:44:42 -0400 From: David Lechner To: linux-bluetooth@vger.kernel.org Cc: David Lechner , Miao-chen Chou , Archie Pusaka , Manish Mandlik Subject: [RESEND PATCH BlueZ] doc/advmon-api: Clarify Patterns property Date: Thu, 24 Jun 2021 12:44:01 -0500 Message-Id: <20210624174401.1881338-1-david@lechnology.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org The Patterns property description was not as clear as it could be. This expands the text a bit, replaces the C enum value 0x01 with the D-Bus property string value "or_patterns" and improves the grammar in a few places. --- doc/advertisement-monitor-api.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/advertisement-monitor-api.txt b/doc/advertisement-monitor-api.txt index 8100717c0..9189f2cce 100644 --- a/doc/advertisement-monitor-api.txt +++ b/doc/advertisement-monitor-api.txt @@ -105,10 +105,11 @@ Properties string Type [read-only] array{(uint8, uint8, array{byte})} Patterns [read-only, optional] - If Type is set to 0x01, this must exist and has at least - one entry in the array. + If the Type property is set to "or_patterns", then this + property must exist and have at least one entry in the + array. - The structure of a pattern contains the following. + The structure of a pattern contains the following: uint8 start_position The index in an AD data field where the search should start. The beginning of an AD data field -- 2.25.1