zephyr/subsys/bluetooth/mesh
Pavel Vasilyev 9641864a20 Bluetooth: Mesh: Fix Upload Progress for already received fw
In OOB upload, when Check Firmware OOB procedure completes successfully
and the firmware is already received, we send Firmware Distribution
Upload Status message with update Phase set to Transfer Success. In this
case, we must set Upload Progress to 100%. This can't be done through
the callback as the application layer doesn't yet know that the firmware
is already received. This will happen by the exist from
bt_mesh_dfd_srv_oob_check_complete function, which will return error
code -EEXIST.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2023-10-11 14:04:11 +03:00
..
shell Bluetooth: Mesh: shell supports 32 bytes static oob 2023-09-27 15:48:08 +02:00
access.c Bluetooth: mesh: access: Fix model relation register 2023-10-09 15:06:06 +03:00
access.h Bluetooth: Mesh: Common comp page parse func 2023-10-06 16:21:02 +03:00
adv.c Bluetooth: Mesh: add statistic module 2023-07-07 09:20:33 +02:00
adv.h Revert "bluetooth: mesh: increase mesh scan window" 2023-08-21 11:48:36 +02:00
adv_ext.c Bluetooth: Mesh: Fix unable sent mesh message 2023-06-08 04:09:04 -04:00
adv_legacy.c Bluetooth: Mesh: get rid of host dependency for dh key for mesh 2023-04-17 16:31:20 +02:00
app_keys.c Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
app_keys.h Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
beacon.c Bluetooth: Mesh: Remove bt_mesh_beacon_priv_random_get as unused 2023-08-24 22:09:57 +01:00
beacon.h Bluetooth: Mesh: Remove bt_mesh_beacon_priv_random_get as unused 2023-08-24 22:09:57 +01:00
blob.h Bluetooth: Mesh: BLOB models 2023-03-06 13:52:15 +01:00
blob_cli.c Bluetooth: Mesh: Avoid undefined behavior in bit shift in blob_cli.c 2023-06-08 04:11:29 -04:00
blob_io_flash.c sys: util: migrate all files to DIV_ROUND_UP 2023-04-11 12:00:37 +02:00
blob_srv.c Bluetooth: Mesh: Avoid divizion by zero when chunk_size is zero 2023-06-02 18:57:14 -04:00
cdb.c Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
cdb.h Bluetooth: Mesh: Break up mesh settings 2021-01-14 16:38:50 +02:00
cfg.c Bluetooth: Mesh: Store priv proxy in sep entry 2023-09-11 19:58:05 +02:00
cfg.h Bluetooth: Mesh: Restore default device configuration on reset 2021-07-02 16:58:21 +03:00
cfg_cli.c Bluetooth: mesh: Change cfg_cli buffer length check 2023-10-09 15:06:06 +03:00
cfg_srv.c Bluetooth: Mesh: Common comp page parse func 2023-10-06 16:21:02 +03:00
CMakeLists.txt Bluetooth: Mesh: add statistic module 2023-07-07 09:20:33 +02:00
crypto.c Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
crypto.h Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
crypto_psa.c BT mesh: Rename shadow variables 2023-08-22 15:14:32 +02:00
crypto_tc.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
dfd.h Bluetooth: Mesh: DFD Server model 2023-03-06 13:52:15 +01:00
dfd_srv.c Bluetooth: Mesh: Fix Upload Progress for already received fw 2023-10-11 14:04:11 +03:00
dfd_srv_internal.h Bluetooth: Mesh: DFD Server model 2023-03-06 13:52:15 +01:00
dfu.h Bluetooth: Mesh: DFU models 2023-03-06 13:52:15 +01:00
dfu_cli.c random: Rename random header 2023-10-10 14:23:50 +03:00
dfu_metadata.c Bluetooth: Mesh: fix missed old encryption in dfu metadata 2023-06-20 10:10:19 +02:00
dfu_slot.c Bluetooth: Mesh: Add support for Upload OOB Start 2023-09-18 10:55:20 +01:00
dfu_slot.h Bluetooth: Mesh: Add support for Upload OOB Start 2023-09-18 10:55:20 +01:00
dfu_srv.c Bluetooth: Mesh: fix FW Update procedure recovery on on DFU Server side 2023-03-20 13:38:40 +01:00
foundation.h Bluetooth: Mesh: Fix err in mod_app_list packing 2023-07-12 14:37:23 +02:00
friend.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
friend.h Bluetooth: Mesh: Align capitalization for BT mesh 2021-07-13 11:23:54 -04:00
gatt_cli.c Bluetooth: Mesh: get rid of host dependency for dh key for mesh 2023-04-17 16:31:20 +02:00
gatt_cli.h Bluetooth: Mesh: Add Proxy Client Feature 2022-02-24 13:51:09 -08:00
health_cli.c Bluetooth: Mesh: Remove deprecated health API 2023-03-22 09:35:01 +01:00
health_srv.c Bluetooth: Mesh: Remove deprecated health API 2023-03-22 09:35:01 +01:00
heartbeat.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
heartbeat.h Bluetooth: Mesh: Fix Heartbeat Pub/Sub Count/Period Log calculation 2023-03-06 13:52:15 +01:00
Kconfig Bluetooth: Mesh: Add missing comp pages to LCD mod 2023-10-06 16:21:02 +03:00
keys.h Bluetooth: Mesh: add tf-m support for ble mesh 2023-06-19 15:04:17 +02:00
large_comp_data_cli.c Bluetooth: Mesh: Add async API for Large Comp Data Client 2023-04-24 13:31:27 +02:00
large_comp_data_srv.c Bluetooth: Mesh: Common comp page parse func 2023-10-06 16:21:02 +03:00
lpn.c Bluetooth: Mesh: Add full virtual addresses support 2023-06-17 08:00:55 -04:00
lpn.h Bluetooth: Mesh: Add full virtual addresses support 2023-06-17 08:00:55 -04:00
main.c Bluetooth: mesh: Fix uninitialized variable error 2023-08-23 14:44:48 +02:00
mesh.h iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
msg.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
msg.h Bluetooth: Mesh: Convert model_ackd_send and model_send to a common API 2022-10-19 16:05:16 +02:00
net.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
net.h Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
od_priv_proxy.h Bluetooth: Mesh: Store priv proxy in sep entry 2023-09-11 19:58:05 +02:00
od_priv_proxy_cli.c Bluetooth: Mesh: Send od priv proxy with devkey 2023-09-06 13:05:14 +02:00
od_priv_proxy_srv.c Bluetooth: Mesh: Store priv proxy in sep entry 2023-09-11 19:58:05 +02:00
op_agg.c Bluetooth: Mesh: Fix Opcode Aggregator Server compilation 2023-09-06 09:35:10 +02:00
op_agg.h Bluetooth: Mesh: Add support for Opcodes Aggregator models 2023-03-06 13:52:15 +01:00
op_agg_cli.c Bluetooth: Mesh: Add support for Opcodes Aggregator models 2023-03-06 13:52:15 +01:00
op_agg_srv.c Bluetooth: Mesh: Add support for Opcodes Aggregator models 2023-03-06 13:52:15 +01:00
pb_adv.c Bluetooth: Mesh: Add ext timeout in PB for OOB I/O 2023-08-21 10:55:43 +02:00
pb_gatt.c Bluetooth: Mesh: Add ext timeout in PB for OOB I/O 2023-08-21 10:55:43 +02:00
pb_gatt.h Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
pb_gatt_cli.c Bluetooth: Mesh: get rid of host dependency for dh key for mesh 2023-04-17 16:31:20 +02:00
pb_gatt_cli.h Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
pb_gatt_srv.c Bluetooth: Mesh: clarification about adv local identity 2023-06-19 11:01:30 +02:00
pb_gatt_srv.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
priv_beacon.h Bluetooth: Mesh: Store priv beacon in sep entry 2023-09-11 19:58:05 +02:00
priv_beacon_cli.c Bluetooth: Mesh: Add async API to Private Beacon Client 2023-04-04 14:32:57 +02:00
priv_beacon_srv.c Bluetooth: Mesh: Store priv beacon in sep entry 2023-09-11 19:58:05 +02:00
prov.c Bluetooth: Mesh: refactor mandatory oob for mesh1d1 2023-09-27 15:48:08 +02:00
prov.h Bluetooth: Mesh: Add ext timeout in PB for OOB I/O 2023-08-21 10:55:43 +02:00
prov_bearer.h Bluetooth: Mesh: Add ext timeout in PB for OOB I/O 2023-08-21 10:55:43 +02:00
prov_device.c bluetooth: mesh: fix static oob auth padding 2023-10-04 10:07:55 +02:00
provisioner.c Bluetooth: Mesh: Fixed issue with RPR server and client. 2023-10-06 16:06:12 +03:00
provisioner.h Bluetooth: Mesh: Add Provisioner Over PB-GATT Support 2022-02-24 13:51:09 -08:00
proxy.h Bluetooth: Mesh: Private Beacons 2023-03-06 13:52:15 +01:00
proxy_cli.c Bluetooth: Mesh: get rid of host dependency for dh key for mesh 2023-04-17 16:31:20 +02:00
proxy_cli.h Bluetooth: Mesh: Add Proxy Client Feature 2022-02-24 13:51:09 -08:00
proxy_msg.c Bluetooth: Mesh: get rid of host dependency for dh key for mesh 2023-04-17 16:31:20 +02:00
proxy_msg.h Bluetooth: Mesh: Limit number of Bluetooth connections used by mesh 2022-11-25 10:45:07 +01:00
proxy_srv.c Bluetooth: Mesh: Fix usage of Identity and NRPA adv options for proxy 2023-08-17 16:49:27 +02:00
rpl.c Bluetooth: Mesh: Drop PENDING_RESET flag without checking it 2023-06-02 18:57:14 -04:00
rpl.h Bluetooth: Mesh: Align capitalization for BT mesh 2021-07-13 11:23:54 -04:00
rpr.h Bluetooth: Mesh: Remote provisioning 2023-03-06 13:52:15 +01:00
rpr_cli.c Bluetooth: Mesh: Fix OOB info and URI hash in scan report message 2023-07-11 18:18:48 +00:00
rpr_srv.c random: Rename random header 2023-10-10 14:23:50 +03:00
sar_cfg.c Bluetooth: Mesh: Transport SAR Configuration 2023-03-06 13:52:15 +01:00
sar_cfg_cli.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
sar_cfg_internal.h Bluetooth: Mesh: Transport SAR Configuration 2023-03-06 13:52:15 +01:00
sar_cfg_srv.c Bluetooth: Mesh: Add SAR srv persistence storage 2023-03-15 15:20:35 +01:00
settings.c Bluetooth: Mesh: Add full virtual addresses support 2023-06-17 08:00:55 -04:00
settings.h Bluetooth: Mesh: Store device key candidate asynchronously 2023-04-29 12:24:28 +02:00
sol_pdu_rpl_cli.c Bluetooth: Mesh: add implementation for Proxy Solicitation 2023-03-06 13:52:15 +01:00
sol_pdu_rpl_srv.c Bluetooth: Mesh: fix SRPL clearing 2023-05-22 15:26:17 +02:00
solicitation.c Bluetooth: Mesh: Fix Solicitation Mesh crypto API use 2023-09-08 14:45:22 +02:00
solicitation.h Bluetooth: Mesh: add implementation for Proxy Solicitation 2023-03-06 13:52:15 +01:00
statistic.c Bluetooth: Mesh: add statistic module 2023-07-07 09:20:33 +02:00
statistic.h Bluetooth: Mesh: add statistic module 2023-07-07 09:20:33 +02:00
subnet.c Bluetooth: Mesh: Fix dead code issue when getting node id state 2023-06-22 12:34:23 +02:00
subnet.h Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
test.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
test.h Bluetooth: Mesh: Align capitalization for BT mesh 2021-07-13 11:23:54 -04:00
transport.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
transport.h Bluetooth: Mesh: Add full virtual addresses support 2023-06-17 08:00:55 -04:00
transport_legacy.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
va.c bluetooth: mesh: fix few mismatched CONTAINER_OF 2023-08-31 10:20:31 +02:00
va.h Bluetooth: Mesh: Add full virtual addresses support 2023-06-17 08:00:55 -04:00