Go to file
Johan Hedberg 1adc58fd79 Bluetooth: Introduce a new connection parameter request callback
Introduce a new callback to bt_conn_cb that allows the application to
decide whether the accept or reject an incoming connection parameter
request. If the request is accepted the callback allows the
application to also adjust the values to what it thinks are more
appropriate.

The Zephyr Bluetooth API allows multiple registered connection
callbacks, so in principle there may be multiple le_param_req()
callbacks. It's recommended for an app to just use one (for clarity),
but if there are multiple the app is responsible for managing
potentially different requirements. In the case of multiple callbacks
each callback will receive the modified parameters in case a previous
callback modified them.

Jira: ZEP-1474

Change-Id: I098db5791aac521f1edfa9fefdf847db0a27e3a5
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-01-17 08:44:21 +02:00
.known-issues kernel: doc: Add deprecation notice to legacy.h 2017-01-16 18:13:03 -05:00
arch riscv32: added support for the riscv32-qemu soc 2017-01-13 19:57:51 +00:00
boards boards: quark_d2000_crb: add board image to documentation 2017-01-16 18:13:03 -05:00
doc doc: update doc building README instructions 2017-01-16 23:58:08 +00:00
drivers sensor: remove sensor value type 2017-01-15 01:09:33 +00:00
ext ksdk: mcux: Remove config HAS_KSDK 2017-01-12 09:46:27 -06:00
include Bluetooth: Introduce a new connection parameter request callback 2017-01-17 08:44:21 +02:00
kernel kernel: add user data API to timers 2017-01-14 13:06:00 +00:00
lib libc: add support for risc v 2017-01-13 19:57:19 +00:00
misc
samples Bluetooth: hci_uart: Remove redundant idle & ISR stack size values 2017-01-17 08:44:21 +02:00
scripts sanitycheck: riscv: add vector to recognised sections 2017-01-13 20:00:16 +00:00
subsys Bluetooth: Introduce a new connection parameter request callback 2017-01-17 08:44:21 +02:00
tests Bluetooth: Consolidate most outgoing ACL TX buffers into a single pool 2017-01-17 08:44:21 +02:00
.checkpatch.conf
.gitattributes
.gitignore doc: move context back to doc/, fix broken links 2017-01-16 18:05:06 -05:00
.gitreview
.mailmap
defaults.tc
Kbuild
Kconfig
Kconfig.zephyr
LICENSE
MAINTAINERS MAINTAINERS: fix email address typo in sensor drivers section 2017-01-16 13:55:53 +02:00
Makefile doc: make build process quiet 2017-01-16 18:13:03 -05:00
Makefile.inc build: abstract emulation and replace qemu goal with run 2017-01-10 20:20:47 +00:00
Makefile.test
zephyr-env.sh