zephyr/subsys/bluetooth
Pavel Vasilyev 9171ee24da Bluetooth: Mesh: Warn if trying to send adv while suspended
This will warn if any of the mesh module will try to send anything while
the stack is suspended. Not clear what to do here as both advertisers
(legacy and ext) behaves differently. The legacy advertiser has a
thread which is stopped after the `bt_mesh_adv_disable` call and any
sent advs after suspending the stack will stay in the pool until the
advertiser is resumed. The extended advertiser will schedule its work,
but then fail because `ext_adv->instance` value is NULL, but will call
`bt_mesh_send_cb.start` with error `-ENODEV`. What to do with these 2
behaviors is unclear at the moment. Ideally none of the mesh stack
modules should call `bt_mesh_adv_send` after the stack was suspended, so
if this warning appears, the faulty module wasn't stopped properly and
this should be fixed. If not to add the adv to the pool, then it kind
of gets lost as the implementation probably expects one
of `bt_mesh_send_cb` callbacks which will never be called. Leaving the
warning until clear customer request comes.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2024-02-08 10:11:19 +00:00
..
audio Bluetooth: CAP and HAP: Shell: Replace - with _ in commands 2024-02-07 15:26:29 +00:00
common bluetooth: mesh: Doc fix Bluetooth mesh to Mesh 2023-12-01 10:56:18 +00:00
controller Bluetooth: Controller: Fix periodic adv data truncation 2024-02-05 18:18:57 +01:00
crypto
host Bluetooth: fixing null-pointer dereference in l2cap channel destroyer 2024-02-08 09:48:02 +00:00
lib Bluetooth: Host: Remove 'Experimental' flag of EAD 2023-07-28 17:48:16 +02:00
mesh Bluetooth: Mesh: Warn if trying to send adv while suspended 2024-02-08 10:11:19 +00:00
services Bluetooth: services: Add HRS notification changed app callback 2024-01-08 15:34:20 +02:00
shell Bluetooth: Host: add unregister connection callback function 2024-02-01 16:05:38 +01:00
CMakeLists.txt
Kconfig drivers: bluethooth: stm32wba: Add HCI driver for STM32WBA 2023-12-18 17:31:08 +00:00
Kconfig.adv
Kconfig.iso Bluetooth: ISO: Rename BT_ISO_ADVANCED to BT_ISO_TEST_PARAMS 2023-10-20 14:50:48 +02:00
Kconfig.logging Bluetooth: Audio: Add implementation for PBP and dedicated sample apps. 2024-01-09 09:59:23 +01:00