To save network settings enough set parameter in menuconfig Store BLE Mesh configuration
Question is how to "manual", thru code, remove saved parameters?
Delete stored BLE Mesh configuration
Re: Delete stored BLE Mesh configuration
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.
I create ESP32 tutorials and Projects using ESP-IDF https://esp32tutorials.com/
Re: Delete stored BLE Mesh configuration
And if i need to hard-reset stored parametrs, by pushing button, what should be done?
Re: Delete stored BLE Mesh configuration
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.
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.
I create ESP32 tutorials and Projects using ESP-IDF https://esp32tutorials.com/
Re: Delete stored BLE Mesh configuration
I found it!
Code: Select all
esp_ble_mesh_provisioner_direct_erase_settings()
Who is online
Users browsing this forum: Bing [Bot] and 72 guests