zephyr/subsys/bluetooth
Håvard Reierstad 200628e8d0 Bluetooth: Mesh: Disable prov bearers on link
Previously, PB-GATT unprovisioned advs would continue being sent if a
device is provisioned or in the process of being provisioned (an active
provisioning link) over PB-ADV.

This commit introduces the `link_cancel` callback for the `prov_bearer`
struct. When a provisioning link is established over a prov bearer, all
other (active) prov bearers will be suspended through this callback, and
re-enabled when the link is closed. An exception is made for PB-REMOTE,
which can utilize the other bearers.

The call to `bt_mesh_pb_gatt_srv_disable` in settings.c is removed. This
is called in `mesh_commit`, and is not needed as this is only used
during boot, at which point the Mesh provisioning service has not yet
been enabled/registered, meaning the function does nothing.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2025-03-26 16:19:31 +01:00
..
audio Bluetooth: CSIP: Add support for dynamically setting set size 2025-03-20 14:23:40 +01:00
common subsys/bluetooth: Misc native_posix cleanup 2025-03-12 02:27:36 +01:00
controller Bluetooth: Controller: Fix ull_hdr_get_cb for Peripheral role 2025-03-26 16:19:19 +01:00
crypto Bluetooth: crypto: add select PSA_WANT_ALG_ECB_NO_PADDING 2025-01-15 22:57:20 +01:00
host bluetooth: CS: add bt_le_cs_get_antenna_path() 2025-03-26 11:32:57 +01:00
lib
mesh Bluetooth: Mesh: Disable prov bearers on link 2025-03-26 16:19:31 +01:00
services bluetooth: dis: add Kconfig for disabling optional characteristics 2025-02-13 16:46:12 +01:00
CMakeLists.txt Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig bluetooth: host: Remove experimental flag from LE Connection Subrating 2025-03-17 13:57:03 +01:00
Kconfig.adv Bluetooth: Host: Remove experimental label from PAwR 2025-03-14 17:56:18 +01:00
Kconfig.logging Bluetooth: AVRCP: Implemation of AVRCP. 2024-11-18 13:19:07 -05:00