Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: Mesh: Reset solicitation settings before calling reset cb #68539

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

PavelVPV
Copy link
Collaborator

@PavelVPV PavelVPV commented Feb 5, 2024

Trigger erasing solicitation settings before calling bt_mesh_settings_store_pending and bt_mesh_prov.reset callback. The bt_mesh_settings_store_pending flushes every settings that is pending to be erased. The bt_mesh_prov.reset callback must be called as the last step because a user is free to do anything from this callback including rebooting or reprovisioning the device.

Trigger erasing solicitation settings before calling
`bt_mesh_settings_store_pending` and `bt_mesh_prov.reset` callback.
The `bt_mesh_settings_store_pending` flushes every settings that is
pending to be erased. The `bt_mesh_prov.reset` callback must be called
as the last step because a user is free to do anything from this
callback including rebooting or reprovisioning the device.

Signed-off-by: Pavel Vasilyev <[email protected]>
@fabiobaltieri fabiobaltieri merged commit e495876 into zephyrproject-rtos:main Feb 7, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants