File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
connectivity/bluetooth/api/mesh Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -212,9 +212,10 @@ re-provisioned. The complete list of available options is defined in :c:enum:`bt
212212 provisioning. In this case, the device stays provisioned and the new composition data takes place
213213 after re-provisioning using the Remote Provisioning models.
214214:c:enumerator: `BT_MESH_DFU_EFFECT_UNPROV `
215- This effect is chosen if the composition data in the new firmware changes, the device doesn't
215+ This effect is chosen if the composition data in the new firmware changes, the device does not
216216 support the remote provisioning, and the new composition data takes effect after applying the
217- firmware.
217+ firmware. The effect can also be chosen, if it is necessary to unprovision the device for
218+ application-specific reasons.
218219
219220When the Target node receives the Firmware Update Firmware Metadata Check message, the Firmware
220221Update Server model calls the :c:member: `bt_mesh_dfu_srv_cb.check ` callback, the application can
Original file line number Diff line number Diff line change @@ -305,6 +305,16 @@ Bluetooth Mesh
305305 set as deprecated. Default option for platforms that do not support TF-M
306306 is :kconfig:option: `CONFIG_BT_MESH_USES_MBEDTLS_PSA `.
307307
308+ * Mesh key representations are not backward compatible if images are built with TinyCrypt and
309+ crypto libraries based on the PSA API. Mesh no longer stores the key values for those crypto
310+ libraries. The crypto library stores the keys in the internal trusted storage.
311+ If a provisioned device is going to update its image that was built with
312+ the :kconfig:option: `CONFIG_BT_MESH_USES_TINYCRYPT ` Kconfig option set on an image
313+ that was built with :kconfig:option: `CONFIG_BT_MESH_USES_MBEDTLS_PSA ` or
314+ :kconfig:option: `CONFIG_BT_MESH_USES_TFM_PSA ` without erasing the persistent area,
315+ it should be unprovisioned first and reprovisioned after update again.
316+ If the image is changed over Mesh DFU, use :c:enumerator: `BT_MESH_DFU_EFFECT_UNPROV `.
317+
308318* Mesh explicitly depends on the Secure Storage subsystem if storing into
309319 non-volatile memory (:kconfig:option: `CONFIG_BT_SETTINGS `) is enabled and
310320 Mbed TLS library (:kconfig:option: `CONFIG_BT_MESH_USES_MBEDTLS_PSA `) is used.
You can’t perform that action at this time.
0 commit comments