Factory Reset & Un-provisioning API's in nCS

Hi Team,

We're using nrf52833, nCS V1.9.1 need information on for following things,

1. We need information on API from nCS SDK which un-provision's the device and reset's the BLE connection

2. Information on API which clear's / erases SDK data stored in NV

3. When device is already provisioned using nRF Mesh application, to un-provision the device user needs to press Reset device in mobile app, we want to know what exactly happens in backend when we press reset device does it just reset's the provisioning information / clears its internal memory as well.

Thank you,

Regards,

Hitesh

Parents Reply
  • Question 1&2: Then you can use bt_mesh_cfg_node_reset in order to do all of this from from another device (usually Provisioner) with configuration client. If you want to reset a device locally (which is not recommended) you can use bt_mesh_reset. One thing to note however is that it does not perform exclusion of the reset node, and trigger key refresh. This should be done manually (use bt_mesh_cdb_node_del to delete the node from CDB. Then refresh the keys).

    Question 3: I will get back to you on this.

    Regards,

    Elfving

Children
No Data
Related