The following change was introduced in v4.0.0
void mesh_stack_config_clear(void) { - mesh_config_clear(); + mesh_opt_clear(); access_clear(); dsm_clear(); net_state_reset(); - // invoking of the function was moved to the top. - // It causes assertion with the flash manager substates - // it is known issue MBTLE-1972 - // TODO Return this string back after flash manager fixing - // mesh_config_clear(); }
Note that mesh_config_clear() was replaced with mesh_opt_clear() which is a rather big change of behavior that wasn't documented in neither RELEASE_NOTES.md nor MIGRATION_GUIDE.md.
The consequence of this change is that any user settings (stored with mesh_config) that was previously erased are now kept. Thus sending a "Config Node Reset" to a node no longer erases all configuration but only those internal to the mesh stack.