zephyr/subsys/bluetooth/mesh
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
..
shell Bluetooth: Mesh: Rename prov_dev->provisionee 2023-12-13 13:57:46 +01:00
access.c Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
access.h Bluetooth: Mesh: access tx msg randomizer 2023-12-11 09:50:18 +01:00
adv_ext.c Bluetooth: Mesh: Fix solicitation PDU tx dep on proxy 2024-02-08 09:04:48 +01:00
adv_legacy.c Bluetooth: Mesh: Add error code for bt_mesh_adv_terminate 2024-01-29 09:26:22 +01:00
adv.c Bluetooth: Mesh: Warn if trying to send adv while suspended 2024-02-08 10:11:19 +00:00
adv.h Bluetooth: Mesh: Add error code for bt_mesh_adv_terminate 2024-01-29 09:26:22 +01:00
app_keys.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
app_keys.h
beacon.c Bluetooth: Mesh: Add artificial beacon delay 2024-01-23 10:02:00 +01:00
beacon.h
blob_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
blob_io_flash.c
blob_srv.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
blob.h Bluetooth: Mesh: Update spec ref 1.0.1->1.1 2023-10-25 14:50:14 +02:00
cdb.c
cdb.h
cfg_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
cfg_srv.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
cfg.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
cfg.h
CMakeLists.txt Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
crypto_psa.c Bluetooth: Mesh: no more tinycrypt in ble mesh tfm image 2023-11-08 15:09:50 +00:00
crypto_tc.c
crypto.c Bluetooth: Mesh: fix proxy solicitation 2023-10-12 18:07:50 +03:00
crypto.h
delayable_msg.c Bluetooth: Mesh: Fix dereferencing before null pointer check 2024-01-12 11:28:59 -06:00
delayable_msg.h Bluetooth: Mesh: access tx msg randomizer 2023-12-11 09:50:18 +01:00
dfd_srv_internal.h
dfd_srv.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
dfd.h
dfu_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
dfu_metadata.c
dfu_slot.c Bluetooth: Mesh: Ignore return value of settings_delete 2023-11-20 09:23:56 +01:00
dfu_slot.h
dfu_srv.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
dfu.h
foundation.h Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
friend.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
friend.h
gatt_cli.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
gatt_cli.h
health_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
health_srv.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
heartbeat.c
heartbeat.h
Kconfig Bluetooth: Mesh: Move beacons Kconfiguration under separate submenu 2024-01-19 12:55:40 +01:00
keys.h
large_comp_data_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
large_comp_data_srv.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
lpn.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
lpn.h
main.c Bluetooth: Mesh: Reset solicitation settings before calling reset cb 2024-02-07 15:25:18 +00:00
mesh.h
msg.c Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
msg.h Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
net.c Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
net.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
od_priv_proxy_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
od_priv_proxy_srv.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
od_priv_proxy.h
op_agg_cli.c Bluetooth: Mesh: Make element as rodata 2023-11-20 09:22:55 +01:00
op_agg_srv.c Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
op_agg.c Bluetooth: Mesh: Op agg mdl coex 2023-10-20 15:16:33 +02:00
op_agg.h Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
pb_adv.c Bluetooth: Mesh: Send provisioning PDUs with randomized delay 2024-01-29 09:26:22 +01:00
pb_gatt_cli.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
pb_gatt_cli.h
pb_gatt_srv.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
pb_gatt_srv.h
pb_gatt.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
pb_gatt.h
priv_beacon_cli.c Bluetooth: Mesh: Fix async behavior of Private Beacon Client API 2023-11-20 09:23:56 +01:00
priv_beacon_srv.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
priv_beacon.h
prov_bearer.h
prov.c Bluetooth: Mesh: Update spec ref 1.0.1->1.1 2023-10-25 14:50:14 +02:00
prov.h
provisionee.c Bluetooth: Mesh: Rename prov_dev->provisionee 2023-12-13 13:57:46 +01:00
provisioner.c Bluetooth: Mesh: Rename prov_dev->provisionee 2023-12-13 13:57:46 +01:00
provisioner.h
proxy_cli.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
proxy_cli.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
proxy_msg.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
proxy_msg.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
proxy_srv.c Bluetooth: Mesh: fix proxy srv return value 2024-01-08 13:21:58 -05:00
proxy.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
rpl.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
rpl.h
rpr_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
rpr_srv.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
rpr.h
sar_cfg_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
sar_cfg_internal.h
sar_cfg_srv.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
sar_cfg.c
settings.c Bluetooth: Mesh: Allow custom RPL use mesh settings work 2023-12-08 10:25:36 +00:00
settings.h
sol_pdu_rpl_cli.c Bluetooth: Mesh: Split Model Structure 2023-11-16 16:52:14 +01:00
sol_pdu_rpl_srv.c Bluetooth: Mesh: Make bt_mesh_model as rodata 2023-11-16 16:52:14 +01:00
solicitation.c Bluetooth: Mesh: fix SRPL always accepting sol pdus with sseq 0 2024-01-31 10:34:06 -06:00
solicitation.h
statistic.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
statistic.h Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
subnet.c Bluetooth: Mesh: Use memslab replace with net_buf_pool 2023-12-08 20:19:10 +00:00
subnet.h Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
test.c
test.h
transport.c Bluetooth: Mesh: Fix processing SegAcks to wrong destination 2024-01-18 10:55:24 +01:00
transport.h
va.c Bluetooth: Mesh: Return immediately if labels not supported 2023-11-28 14:48:29 +01:00
va.h