Dear friends,
My 52840 DK flashed a serial example(nrf5_SDK_for_Mesh_v5.0.0_src\examples\serial) as a provisioner.
Now, I want to factory reset my provisoner by PyACI, Could you tell me which api should be called?
Thanks.
Best regards,
Oplinux
Dear friends,
My 52840 DK flashed a serial example(nrf5_SDK_for_Mesh_v5.0.0_src\examples\serial) as a provisioner.
Now, I want to factory reset my provisoner by PyACI, Could you tell me which api should be called?
Thanks.
Best regards,
Oplinux
Hi,
It seems like the only way to delete provisioner data from the mesh database is to delete the node information in the JSON file directly.
Hi Mttrinh,
Thanks for your reply.
The macro "PERSISTENT_STORAGE" had set to 1 in provisioner, and stored appkey/network key/device key, so we should clear it at the same time, how to do it?
Hi,
I'm not sure what you mean. Are you still talking about the serial example and using PyACI to provision?
A mesh node running a serial example can be used as provisioner. PyACI is used to communicate with the serial example and carry out the provisioning and configuration of a unprovisioned device. The provisioning data will be stored in a JSON file on your computer and not on the node.
Thank you Mttrinh.
My 52840 DK flashed serial example(location:nrf5_SDK_for_Mesh_v5.0.0_src\examples\serial) as a provisioner and I set "PERSISTENT_STORAGE" to 1 in the serial example. PyACI is used to communicate with the serial example, we stored provisioning data in a JSON file, however the provisioner will store other data(e.g. sequence number/iv index) in flash of 52840 soc if we set "PERSISTENT_STORAGE" to 1,
so we remove the JSON file, it's just erasing part of the data, we should clear 52840's flash at the same time.
Hi,
You can use mesh_stack_config_clear() to clear the saved configuration and network state of the mesh node.