Return-Path: MIME-Version: 1.0 In-Reply-To: <20171102144352.32353-1-luiz.dentz@gmail.com> References: <20171102144352.32353-1-luiz.dentz@gmail.com> From: Luiz Augusto von Dentz Date: Fri, 3 Nov 2017 13:21:44 +0200 Message-ID: Subject: Re: [PATCH v2 1/7] doc/advertising-api: Add Duration and Timeout To: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, On Thu, Nov 2, 2017 at 4:43 PM, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz > > This adds duration and timeout so application can control the periods > which the advertisement stays active. > --- > doc/advertising-api.txt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/doc/advertising-api.txt b/doc/advertising-api.txt > index b10010a19..15e64d38a 100644 > --- a/doc/advertising-api.txt > +++ b/doc/advertising-api.txt > @@ -84,6 +84,17 @@ Properties string Type > > Possible values: as found on GAP Service. > > + uint16_t Duration > + > + Duration of the advertisement in seconds. If there are > + other applications advertising no duration is set the > + default is 2 seconds. > + > + uint16_t Timeout > + > + Timeout of the advertisement in seconds. This defines > + the lifetime of the advertisement. > + > LE Advertising Manager hierarchy > ================================ > > -- > 2.13.6 Applied. -- Luiz Augusto von Dentz