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
Hello ,
I had a look at it but I am not getting how it is related with my question?
My question is simple
"Is there any hardware button on the nrf5832 evaluation board which can un-provision the board" ?
Yes or No.
If Yes , then How?
many thanks in advance !
Rp
and please note consider that I dont have access to source code but only the binaries.
Yes, button 4 (3 in the code in button_event_handler() ). I'm referring to lightswitch example.
Hi Hung,
I am attempting to reset a provisioned node inside the main function. I took your advice and used the code from the light switch server example (as seen below). Whenever this gets called however I am getting a mesh weak error "app_error_weak.c, 108, Mesh assert at 0x0002BFEE (:0)". I am on the latest SDKs. I figured out that the function causing the error is "mesh_stack_config_clear". Any ideas on why this might be happening or any ideas on another way to reset a provisioned board from the main?
if (mesh_stack_is_device_provisioned()) { #if MESH_FEATURE_GATT_PROXY_ENABLED (void) proxy_stop(); #endif mesh_stack_config_clear(); node_reset(); } else { __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "The device is unprovisioned. Resetting has no effect.\n"); }
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 ?