From: Chevallier Maxime <maxime.chevallier@openwide.fr>
To: linux-bluetooth@vger.kernel.org, marcel@holtmann.org,
johan.hedberg@gmail.com
Subject: [RFC][PATCH 0/1] mgmt : add Set Advertising Parameters
Date: Tue, 16 Feb 2016 14:09:08 +0100 [thread overview]
Message-ID: <20160216130908.GA10339@vps217108.ovh.net> (raw)
Hi everyone,
The following patch is a proposal for a new mgmt command,
to set Advertising Parameters.
The goal is, in a first time, to allow user to configure
advertising intervals. Ideally, this command could be expanded
later on to add parameters that would for example allow configuring
directed advertising, and taking whitelist into account to handle
scan responses.
Currently, the advertising intervals are hardcoded and are applied
globally, wether we issued a Set Advertising or an Add Advertising
command.
My proposal impacts the Add Advertising command by adding a new flag,
that would allow the Add Advertising command to be followed by a
Set Advertising Parameters command, in order to configure parameters
specific for an Advertising Instance.
There are many aspects of this command on which I would like feedback,
especially on :
- Wether or not it is pertinent to use the Instance '0' to
configure global advertising parameters
- The system of a new flag to Add Advertising, this seems tricky
if we set the flag but don't issue the Set Advertising Parameters
afterwards
- What we should return
- Overall naming of flags, parameters and commands
Thanks in advance,
Maxime Chevallier
Chevallier Maxime (1):
Add Set Advertising Parameters command
doc/mgmt-api.txt | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
--
2.1.4
reply other threads:[~2016-02-16 13:09 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=20160216130908.GA10339@vps217108.ovh.net \
--to=maxime.chevallier@openwide.fr \
--cc=johan.hedberg@gmail.com \
--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).