mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 21:51:59 +00:00
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> |
||
---|---|---|
.known-issues | ||
arch | ||
boards | ||
doc | ||
drivers | ||
ext | ||
include | ||
kernel | ||
lib | ||
misc | ||
samples | ||
scripts | ||
subsys | ||
tests | ||
.checkpatch.conf | ||
.gitattributes | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
defaults.tc | ||
Kbuild | ||
Kconfig | ||
Kconfig.zephyr | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
Makefile.inc | ||
Makefile.test | ||
zephyr-env.sh |