linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chevallier Maxime <maxime.chevallier@openwide.fr>
To: linux-bluetooth@vger.kernel.org, marcel@holtmann.org
Subject: [RFC][PATCH 0/1 v2] mgmt : add Set Advertising Parameters
Date: Wed, 17 Feb 2016 10:17:36 +0100	[thread overview]
Message-ID: <20160217091736.GA12037@vps217108.ovh.net> (raw)

Hi everyone,

After some discussions, here is another proposition for adding
a Set Advertising Parameters command to mgmt API. This command
would set parameters globally, for advertisements issued both
with Set Advertising and Add Advertising.

I would like to discuss the parameters that are passed to
this command. This proposition only include advertising
intervals, but that could be expanded later on.

I choosed to take as parameters the exact same format that is
accepted by the HCI command 'LE Set Advertising Parameters',
with the same units and constraints. If you think that could
be improved in some way to make it clearer, please tell me.

I also would like some feedback on the policy we should apply
when we are in ADV_NONCONN_IND (and ADV_SCAN_IND, but I think
this type is not used for now), since the spec says that
intervals shall not be less than 100ms. I choosed to fallback
to default parameters while we are in non connectable mode.

Thanks in advance,

Maxime

Chevallier Maxime (1):
  Add Set Advertising Parameters command

 doc/mgmt-api.txt | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

-- 
2.1.4

                 reply	other threads:[~2016-02-17  9:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160217091736.GA12037@vps217108.ovh.net \
    --to=maxime.chevallier@openwide.fr \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).