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.

Parents
  • Hi,

    I'm not sure why the timeout is not reduced when reducing the value of the define, but according to Mesh Profile Specification (MshPRFv1.0.1) section 5.4.4: "The provisioning protocol shall have a minimum timeout of 60 seconds that is reset each time a provisioning protocol PDU is sent or received.". So if you plan to comply with the specification then the value cannot be reduced.

Reply
  • Hi,

    I'm not sure why the timeout is not reduced when reducing the value of the define, but according to Mesh Profile Specification (MshPRFv1.0.1) section 5.4.4: "The provisioning protocol shall have a minimum timeout of 60 seconds that is reset each time a provisioning protocol PDU is sent or received.". So if you plan to comply with the specification then the value cannot be reduced.

Children
Related