Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4277352pxb; Mon, 27 Sep 2021 13:17:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvhTIu89iwI6D/zV6TkAYQUfeQV7hKuhrgQ/lpJbs1aJa5/F5WHQYtWpwHGFX9XDui3Cwr X-Received: by 2002:a17:90a:e611:: with SMTP id j17mr1054079pjy.9.1632773870352; Mon, 27 Sep 2021 13:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632773870; cv=none; d=google.com; s=arc-20160816; b=Mmi2LV/lo3MY8xeKU74WDi1NMd2WFJmKiZVxZlO++ktD6RFonqPUppQTTPtb1GnhQP xPbDqPnt5PR5hCAIsOj8Y/m2X4mvVJyUz8yQ4lnwxGTH0Ds7IXF1Vp6AyinWLrt+MWz1 T2o5+FodfkvdvuDx5AFPm7lEBcMEjwWvl5eWzC2XC3aMPGj5EiO3g0jFlfXKEiZ/PtMO qya2FP0oQje9akx/6MgoAK2rp078A0Yijbv9M8yhroP7u8XPmLiGn7AUuBHcGtLI7x7v og4dfne6XP/ytv7MTX5nRZa9cDeFlyD2Z3PVSzBeCdq+QDvEh4dmpVm2QGfmUs7/smTG M+ew== 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:dkim-signature; bh=cXX3iSCnNkg1qWcmh4C8N+aEjrcE5o7s94vdqDBfYsE=; b=fVugNoYpkLn83ttFQM/SukEMzXzQjjgmIui07oLC9s22UYgoFSusSzsNwDfk+vtGiq BGq2sR7O/HAswypLAQ84Yww3140axx0CJ267eg8o0udB9OFXGRWcSfPV6LwGQntksdr+ BgnktUlnV7VKKZsPyhPPhynMKPhl4uDlelGIwR9oB17jkSYO1rNTqjhTMTne6MrnZsua vGJMe01I39ERW2M54DhphWpXvRnAHxRJ5vQAQKwG/PRRcWM4sE/kXch5gEa91BGr8K6n l5E1GIKKi71DOUg94+2397TGcjxqDqY+eEoeZUCNXCkYMHQMTQ9uO5fRwgY0birIeqeY Va2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fuApOPep; 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 lk6si730621pjb.77.2021.09.27.13.17.37; Mon, 27 Sep 2021 13:17:50 -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=20210112 header.b=fuApOPep; 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 S236816AbhI0USt (ORCPT + 99 others); Mon, 27 Sep 2021 16:18:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236763AbhI0USt (ORCPT ); Mon, 27 Sep 2021 16:18:49 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4560C061575 for ; Mon, 27 Sep 2021 13:17:10 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id 124-20020a251182000000b005a027223ed9so17549560ybr.13 for ; Mon, 27 Sep 2021 13:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=cXX3iSCnNkg1qWcmh4C8N+aEjrcE5o7s94vdqDBfYsE=; b=fuApOPepuodiJbdCIZNvv6UPBRrg9gAv5l0EXksNp30i5ZrvJr8hfl94qfO4JtYFbJ mzJveLmKIJHOOQ5CranZMjkjpmigAUjpEOEode03MMQ4STlv3an+CCFF4SF1+We+X+3m nyct3qWihhPYZui5hixGi4s0SMuxsR54uqzX0lDFiiNV2GTSSaaNwLiNCmb3DsMOZRmF 8br0PDUB29tA0fvksulwTUNy9ew34jQZGCBZLWT4YQ5DkJtzULJQQdsxLY0spaRaI3Lr NSF5nm0f3+dtyIvxne0ujW2xESkDiiVZi9GEfVhSs3JTpbDvJbmB0ZCrmJLGLj7qe7tv IubQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=cXX3iSCnNkg1qWcmh4C8N+aEjrcE5o7s94vdqDBfYsE=; b=Syqy+3L26WldLAltKBG9rPeQVkTxYWnkNdFXx6/tjFrZ6H7+v+hwICuFc8Axc1KRWK nn0ofzmnqXz0sMJpYvpqIJF8ASxTPWKpCzjMoIIo5P+WrgvR3H7GZ6RXUO291UHWUl97 jZR+h2pYl1/H2+rBAtrcWF/rv/cW+CjNnRBZ89VGDZVQX0jMMgpstLl0p7Z/t5xWX+8x X9PXcOK5dgHikjlgK9KLubLfYb5E/ZciC4IVp4q+/O5tW2soFl7SSfmgFc7JtcutXVMJ cWSQo9uHmAfcRa7TL3n1+nS2w79Xd98ol9CwY+tJCfWaGXTq6+8xfDVL/L2tQztfc3JA Lu8A== X-Gm-Message-State: AOAM530e+tsfxAhd34+F+GZeIy/82QR60v42oVeBMq+geWWzAhlUsPyf ART84VGCpYJBcoXGOarN4lO6lCnDN1o0tQ== X-Received: from mmandlik.mtv.corp.google.com ([2620:15c:202:201:8f29:89eb:dfbc:3b00]) (user=mmandlik job=sendgmr) by 2002:a25:1c86:: with SMTP id c128mr2065372ybc.83.1632773830022; Mon, 27 Sep 2021 13:17:10 -0700 (PDT) Date: Mon, 27 Sep 2021 13:16:55 -0700 In-Reply-To: <20210927201657.593569-1-mmandlik@google.com> Message-Id: <20210927131456.BlueZ.v1.1.I7f6bdb9282c1e12ffc6c662674678f2b1cb69182@changeid> Mime-Version: 1.0 References: <20210927201657.593569-1-mmandlik@google.com> X-Mailer: git-send-email 2.33.0.685.g46640cef36-goog Subject: [BlueZ PATCH v1 1/3] doc: Add Advertisement Monitor Device Tracking event From: Manish Mandlik To: marcel@holtmann.org, luiz.dentz@gmail.com Cc: linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org, Manish Mandlik , Miao-chen Chou , Yun-Hao Chung Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch adds the Advertisement Monitor Device Traching event. This event indicates that the controller has stated/stopped tracking a particular device matching one of the already added Advertisement Monitor. Reviewed-by: Miao-chen Chou Reviewed-by: Yun-Hao Chung --- doc/mgmt-api.txt | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index 5355fedb0..06df3e914 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -107,7 +107,8 @@ Configuration command, Default Runtime Configuration Changed event, Get Device Flags command, Set Device Flags command, Device Flags Changed event, Read Advertisement Monitor Features command, Add Advertisement Patterns Monitor command, Remove Advertisement Monitor command, Advertisement Monitor -Added event and Advertisement Monitor Removed event. +Added event, Advertisement Monitor Removed event and Advertisement Monitor +Device Tracking event. Example @@ -4910,3 +4911,27 @@ Controller Resume Event Address_Type. Otherwise, Address and Address_Type will both be zero. This event will be sent to all management sockets. + + +Advertisement Monitor Device Tracking Event +=========================================== + + Event code: 0x002f + Controller Index: + Event Parameters: Monitor_Handle (2 octets) + Monitor_State (1 octet) + Address (6 octets) + Address_Type (1 octet) + + This event indicates that the controller has started/stopped tracking + a particular device matching the Advertisement Monitor with handle + Monitor_Handle. + + Possible values for the Monitor_State parameter: + 0 The controller has stopped tracking a device + 1 The controller has started tracking a device + + The address of the device being tracked will be shared in Address and + Address_Type. + + This event will be sent to all management sockets. -- 2.33.0.685.g46640cef36-goog