How to factory reset provisioner by PyACI?

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

Parents
  • 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,

    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\serialas 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.

Reply
  • Thank you Mttrinh.

    My 52840 DK flashed serial example(location:nrf5_SDK_for_Mesh_v5.0.0_src\examples\serialas 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.

Children
No Data
Related