This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[MESH SDK] Change provisioning timeout

Hi,

I'm using the nrf52 mesh sdk v5 to make a provisioner based on the provisioner example of the mesh sdk. 

During some provisioning, the provisioning process timeout due to "link closed" or connection failed.

The timeout make the process enter into the NRF_MESH_PROV_EVT_LINK_CLOSED event (in my case it was because my node was power down during the provisioning process due to power cuts).

I have tried to change the NRF_MESH_PROV_LINK_TIMEOUT_MIN_US value from 60s to 10s but its always take 30s to timeout.

I would like to know if its possible to change the timeout timer (and how), because its actually too long for my usage.


Regards.

Related