zephyr/subsys/bluetooth/mesh
Dominik Ermel 49f5598835 Bluetooth: Mesh: Improve logic for serving devices erase capabilities
The commit fixes issue where flash_area_flatten has been used where
code was only supposed to erase devices by hardware requirement prior
to write, by replacing the call with flash_area_erase and supporting
logic to select proper path.
There have been following Kconfig options added:
 - CONFIG_BT_MESH_BLOB_IO_FLASH_WITHOUT_ERASE
 - CONFIG_BT_MESH_BLOB_IO_FLASH_WITH_ERASE
that are available for user depending on devices in the system and allow
to turn off paths that are not used by BLOB IO; for example if user
never writes to device with erase CONFIG_BT_MESH_BLOB_IO_FLASH_WITH_ERASE
will disable the path.
Both Kconfig options are y by default and enable all paths.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2025-01-23 19:25:27 +01:00
..
shell bluetooth: mesh: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
access.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
access.h Bluetooth: Mesh: analyze multicast model rx status 2024-03-25 18:39:19 -04:00
adv.c Bluetooth: Mesh: Use relay bufs/pool for brg_cfg 2024-11-19 10:12:19 -05:00
adv.h Bluetooth: Mesh: Fix Assert in bt_mesh_adv_unref when messages to a proxy 2025-01-17 06:43:08 +01:00
adv_ext.c Bluetooth: Mesh: Use relay bufs/pool for brg_cfg 2024-11-19 10:12:19 -05:00
adv_legacy.c Bluetooth: Mesh: Introduce separate workq for ADV EXT 2024-11-05 15:24:31 -06:00
app_keys.c
app_keys.h
beacon.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
beacon.h
blob.h Bluetooth: Mesh: add Kconfig options for BLOB chunk size 2024-08-20 14:45:57 +02:00
blob_cli.c Bluetooth: Mesh: add API to set chunk send interval 2024-09-12 14:50:25 +02:00
blob_io_flash.c Bluetooth: Mesh: Improve logic for serving devices erase capabilities 2025-01-23 19:25:27 +01:00
blob_srv.c Bluetooth: Mesh: Fix uninitialized field when cancelling transfer blob 2024-08-23 09:53:09 +02:00
brg_cfg.c Bluetooth: Mesh: Fix out of bounds write 2024-10-08 18:09:57 -04:00
brg_cfg.h Bluetooth: Mesh: Remove duplicate brg declaration 2024-10-02 14:54:13 +01:00
brg_cfg_cli.c bluetooth: mesh: brg_cfg_cli: Initialize prohibited value 2024-11-28 09:43:48 +01:00
brg_cfg_srv.c Bluetooth: Mesh: Add prefix to Subnet Bridge API 2024-10-02 14:54:13 +01:00
cdb.c Bluetooth: Mesh: Prevent duplicate cdb appkeys 2024-03-06 10:21:27 +00:00
cdb.h
cfg.c everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
cfg.h
cfg_cli.c Bluetooth: Mesh: Fix cfg_cli KRP not working for key_net_idx != 0 2024-11-29 14:49:34 +01:00
cfg_srv.c Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
CMakeLists.txt Bluetooth: Mesh: Adds subnet bridge states 2024-09-17 05:22:32 -04:00
crypto.c
crypto.h
crypto_psa.c
crypto_tc.c
delayable_msg.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
delayable_msg.h
dfd.h
dfd_srv.c bluetooth: mesh: Remove assertion for Received List message PDU size 2025-01-15 22:57:01 +01:00
dfd_srv_internal.h
dfu.h
dfu_cli.c Bluetooth: Mesh: Check that required models exists on the same element 2024-12-04 09:23:44 +01:00
dfu_metadata.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
dfu_slot.c
dfu_slot.h
dfu_srv.c Bluetooth: Mesh: Check that required models exists on the same element 2024-12-04 09:23:44 +01:00
foundation.h tests: bluetooth: mesh: Removed native_posix and renamed sim_ids 2024-09-17 05:22:32 -04:00
friend.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
friend.h
gatt.h bluetooth: mesh: gatt: Move generic GATT related defines to gatt.h 2024-11-27 22:51:29 -05:00
gatt_cli.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
gatt_cli.h
health_cli.c bluetooth: mesh: health_cli: Add callback to pull msg for periodic pub 2024-12-20 10:18:54 +01:00
health_srv.c
heartbeat.c
heartbeat.h
Kconfig Bluetooth: Mesh: Improve logic for serving devices erase capabilities 2025-01-23 19:25:27 +01:00
keys.h
large_comp_data_cli.c
large_comp_data_srv.c Bluetooth: Mesh: add extension config server by lcd server 2024-06-24 09:44:58 +02:00
lpn.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
lpn.h
main.c Bluetooth: Mesh: enable scanner before enabling proxy gatt 2024-12-19 12:37:54 +01:00
mesh.h
msg.c
msg.h
net.c Bluetooth: Mesh: Use net xmit params for bridge 2024-11-19 10:12:19 -05:00
net.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
od_priv_proxy.h
od_priv_proxy_cli.c
od_priv_proxy_srv.c Bluetooth: Mesh: add extension config server by private beacon server 2024-06-24 09:44:58 +02:00
op_agg.c
op_agg.h
op_agg_cli.c
op_agg_srv.c bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
pb_adv.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
pb_gatt.c
pb_gatt.h
pb_gatt_cli.c bluetooth: mesh: fix mesh pb gatt cli uuid usage 2025-01-14 00:00:44 +01:00
pb_gatt_cli.h
pb_gatt_srv.c bluetooth: mesh: gatt: Move generic GATT related defines to gatt.h 2024-11-27 22:51:29 -05:00
pb_gatt_srv.h
priv_beacon.h
priv_beacon_cli.c
priv_beacon_srv.c Bluetooth: Mesh: Check that required models exists on the same element 2024-12-04 09:23:44 +01:00
prov.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
prov.h everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
prov_bearer.h
provisionee.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
provisioner.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
provisioner.h
proxy.h bluetooth: mesh: gatt: Move generic GATT related defines to gatt.h 2024-11-27 22:51:29 -05:00
proxy_cli.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
proxy_cli.h
proxy_msg.c Bluetooth: Mesh: Fix Assert in bt_mesh_adv_unref when messages to a proxy 2025-01-17 06:43:08 +01:00
proxy_msg.h Bluetooth: Mesh: Introduce separate workq for ADV EXT 2024-11-05 15:24:31 -06:00
proxy_srv.c Bluetooth: Mesh: use settings priority feature 2025-01-14 00:00:56 +01:00
rpl.c Bluetooth: Mesh: Refine Mesh store logic 2024-10-16 09:56:26 +02:00
rpl.h Bluetooth: Mesh: Refine Mesh store logic 2024-10-16 09:56:26 +02:00
rpr.h
rpr_cli.c Bluetooth: Remove legacy debug symbols 2024-05-07 09:49:27 +02:00
rpr_srv.c Bluetooth: Remove legacy debug symbols 2024-05-07 09:49:27 +02:00
sar_cfg.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
sar_cfg_cli.c Bluetooth: Mesh: Fix dev key selection in SAR Cfg Client 2024-03-04 14:03:09 +01:00
sar_cfg_internal.h bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00
sar_cfg_srv.c
settings.c Bluetooth: Mesh: use settings priority feature 2025-01-14 00:00:56 +01:00
settings.h Bluetooth: Mesh: Adds subnet bridge states 2024-09-17 05:22:32 -04:00
sol_pdu_rpl_cli.c
sol_pdu_rpl_srv.c
solicitation.c
solicitation.h
statistic.c
statistic.h
subnet.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
subnet.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
test.c
test.h
testing.c Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
testing.h Bluetooth: Mesh: Rename mesh test primitives 2024-08-27 15:14:08 -04:00
transport.c bluetooth: mesh: rpl: fix rpl for subnet bridge 2024-09-17 05:22:32 -04:00
transport.h
va.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
va.h bluetooth: mesh: fix typo 2024-06-25 10:27:23 -04:00