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

nrf5 Bluetooth Mesh: Timeout during "Requesting Composition Data..."

I've been getting Timeouts during provisioning with "Requesting Composition Data" when provisioning via iPhone using the nRF Mesh app and nrf52840.

I've had problems getting to the root of this issue as it's happening inconsistently.  The symptoms are that it Successfully Provisions, but then times out on "Requesting Composition Data".

I've tried solutions others have suggested like increasing heap/stack with no difference.  The composition data request never seems to be received by the handle_compoistion_data_get in config_server.c when it's failing.

Mesh Version: 5.0.0

nrf Mesh on iPhone: Latest

SDK: Latest

This happens on both the light switch client and lpn examples (lpn example seems to be more often) with no changes at all to the code or settings.

It also makes no difference if I fully erase the nrf52840.

When it won't provision in the nrf Mesh app, it will provision in other iOS mesh apps without issue.

And also, when it won't provision, if I delete the nrf Mesh app completely and reinstall it, it will now provision again (sometimes)

Anyone else experience this and has a solution ?

Related