Page 1 of 1
Delete stored BLE Mesh configuration
Posted: Mon Jul 11, 2022 5:20 am
by elDi@mond
To save network settings enough set parameter in menuconfig Store BLE Mesh configuration
Question is how to "manual", thru code, remove saved parameters?
Re: Delete stored BLE Mesh configuration
Posted: Mon Jul 11, 2022 8:15 am
by Momin786
When you provision a node into BLE Mesh, provisioning information will be stored in permanent storage if persistence storage is enabled. Similarly, it will be removed when you remove the node from BLE Mesh using any provisioner app such as nRF Mesh, etc.
Re: Delete stored BLE Mesh configuration
Posted: Tue Jul 12, 2022 8:35 am
by elDi@mond
And if i need to hard-reset stored parametrs, by pushing button, what should be done?
Re: Delete stored BLE Mesh configuration
Posted: Tue Jul 12, 2022 11:51 am
by Momin786
I am not sure but you can refer to these APIs to see which API to call to remove persistence storage information:
https://docs.espressif.com/projects/esp ... -mesh.html
But other than this you will also need to implement a logic which will inform a provisioner that the information related to this node should be removed from the mesh network and it should not be part of the mesh network anymore.
Re: Delete stored BLE Mesh configuration
Posted: Fri Jul 15, 2022 10:21 am
by elDi@mond
I found it!
Code: Select all
esp_ble_mesh_provisioner_direct_erase_settings()