Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3446580pxb; Wed, 13 Oct 2021 06:16:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8re0p9eohAWr+A2OkIB21vJ13Ecna875M5FZijGMLRQONYgQ45qB9xfclHjh+/kGfE2ys X-Received: by 2002:a17:906:1db2:: with SMTP id u18mr35125494ejh.227.1634131010006; Wed, 13 Oct 2021 06:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634131009; cv=none; d=google.com; s=arc-20160816; b=bKTA0Ja3F4XCBARgVpDX/uDQSCsaeItKDcuov6dTdVTuGqm29FXGzXySxlHpT0gQlM 8ldu8muFU3GTyrlGXh+SR51Za8ta5iiu+EM3tTJ5V/zvxg4XXV9w4wQRtssXkPW0HIvr z1nSyvaHzB3C5nqspTxVCx8aIfSQKfxfof5w8OuElUlaOEb+CENVq64IU/G22dV7AfHd qQI3AUKejqZZmwjd5XbitF6rIeI5GhJtKiUjtPbb9g+aWnFgHhmOen90imKXNbKwGtjK 68fnbmTRYv6hHHLXQC+O9K0METMUdMyN9aeWF1VZ5z0sJ1l91wHwf/GL+ZNrMUs5o8fi l6pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=RL49/QN4rPw06MPJuS5MuOAu2tNhqMu1oscnWqgWpXs=; b=OhfaER50o4c5SE96Sm4hs75X/vsrY58MxkEqoYxCBelMEO6uhkQ/BKPhV2xug3YJQy kxQDjRtNa+94xtwfSbFSvdWfsrskRe7HLKI4o+W7DTHoBXACMKk5UhSm3Jt+FCPX9VCg oJfgnOtH3rRJIJB4v4/hLCBefM0DD5elWwQX74z8HpktR9jJHDGIGePc94Y8rRMKHdKi pBue46NqEJzZdWtKWhtzKg0bk49O0f+r8R/+mNpBERMW5MOgNeH00zFeRS8JRhw1PcQd u+AITjd1r+05IO6Pq3G/lw80JHLoa6cfQzumy3e76d624ZHvdGGZx4QFZ4h/8ApNCGP+ ghAg== ARC-Authentication-Results: i=1; mx.google.com; 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 b88si26610549edf.243.2021.10.13.06.16.24; Wed, 13 Oct 2021 06:16:49 -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; 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 S231372AbhJMNRd convert rfc822-to-8bit (ORCPT + 99 others); Wed, 13 Oct 2021 09:17:33 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:57835 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbhJMNRc (ORCPT ); Wed, 13 Oct 2021 09:17:32 -0400 Received: from smtpclient.apple (p4ff9f2d2.dip0.t-ipconnect.de [79.249.242.210]) by mail.holtmann.org (Postfix) with ESMTPSA id B8512CECF6; Wed, 13 Oct 2021 15:15:28 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [BlueZ PATCH v2 1/3] doc: Introduce the Adv Monitor Device Lost event From: Marcel Holtmann In-Reply-To: <20211013053935.BlueZ.v2.1.I7f6bdb9282c1e12ffc6c662674678f2b1cb69182@changeid> Date: Wed, 13 Oct 2021 15:15:26 +0200 Cc: Luiz Augusto von Dentz , CrosBT Upstreaming , linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <7414EB4C-0422-4BCF-869C-B4FA611DFCFC@holtmann.org> References: <20211013124210.1454876-1-mmandlik@google.com> <20211013053935.BlueZ.v2.1.I7f6bdb9282c1e12ffc6c662674678f2b1cb69182@changeid> To: Manish Mandlik X-Mailer: Apple Mail (2.3654.120.0.1.13) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Manish, > Add a flag 'Device Tracked' to the existing 'Device Found' event to > indicate that the controller has started tracking the device matching > an Advertisement Monitor with handle 'Monitor_Handle'. > > Add a new event 'Adv Monitor Device Lost' to indicate that the > controller has stopped tracking that particular device. > > --- > > Changes in v2: > - Instead of creating a new 'Device Tracking' event, add a flag 'Device > Tracked' in the existing 'Device Found' event and add a new 'Device > Lost' event to indicate that the controller has stopped tracking that > device. > > doc/mgmt-api.txt | 32 +++++++++++++++++++++++++++++++- > 1 file changed, 31 insertions(+), 1 deletion(-) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 5355fedb0..0fd884ed0 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, Updated Device Found event > +and Added Advertisement Monitor Device Lost event. > > > Example > @@ -4247,6 +4248,7 @@ Device Found Event > Address_Type (1 Octet) > RSSI (1 Octet) > Flags (4 Octets) > + Monitor_Handle (2 Octets) > EIR_Data_Length (2 Octets) > EIR_Data (0-65535 Octets) you can not do this. This breaks ABI. Regards Marcel