All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/1] mgmt : add Set Advertising Parameters
@ 2016-02-16 13:09 Chevallier Maxime
  0 siblings, 0 replies; only message in thread
From: Chevallier Maxime @ 2016-02-16 13:09 UTC (permalink / raw)
  To: linux-bluetooth, marcel, johan.hedberg

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-16 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-16 13:09 [RFC][PATCH 0/1] mgmt : add Set Advertising Parameters Chevallier Maxime

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.