Hello,
I am using nrf52832 with nrf Mesh DK. Is there a way to unprovision the board from the hardware or command line and not from the app?
Many thanks in advance ,
Rp
Hello,
I am using nrf52832 with nrf Mesh DK. Is there a way to unprovision the board from the hardware or command line and not from the app?
Many thanks in advance ,
Rp
Hi Rp,
In our app when you click remove node, we will send a "Node Reset" 0x8049 message to the client server on the node to reset the node.
In the nRF52 code you can find the code to handle that message in handle_node_reset(); and node_reset().
If you want to reset a node locally, you can also call node_reset() in your code, either trigger by hardware or command line (if you have an interface).
Note that, this won't tell the provisioner to remove the node itself. I don't think there is a way a node can notify that it's leaving the network. But you can always define your own protocol to do so.
This is clear. I want to know is there a button on a board which can unprovision the board?And how will I come to know about this?
Hi Brad,
When you see an error, you can use addr2line to translate the address to the line of code for further debugging. Or you can step inside mesh_stack_config_clear() to see what exactly throwing error.
Have you tested the light switch server example to press button 4 on the board to erase provisioning data ?
Hello ,
is button#4 correct for unprovisioning the node/Please confirm
Thnx
Rp
Have you looked at the code ?
thanks it worked !
Great :D
Great :D