Erasing provisioning information from mesh node after provisioning

Hi,

I am using mesh sdk version 5.0.0. And I am using sensor server model example to build our application on top of it. I am trying to erase the provisioning information stored in flash after long pressing a button for. lets say, 5 seconds . After the desired time interval elapsed, I am using the api mesh_stack_config_clear(), waited for 500 milliseconds and then called mesh_stack_device_reset() api. Am not able to erase the provisioned info from the flash. Please guide me as to follow the right sequence to erase the flash. Thank you!

Parents Reply Children
No Data
Related