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

mesh lpn integration to nRF5 SDK problem

My project is a health thermometer using nRF52833. I am working nRF5 SDK 17.0.2 with GCC make complier.

I start with the ble_app_hts example and it is working fine. I try to follow the instruction in integrating doc of nRF5 SDK for mesh 5.0.

I added all the source file, include folder and preprocessor symbol in the make file. I also update the linker script memory configuration same as the lpn example.

I not yet integrate the mesh function into my main code. I just compile the project and the hex build is ok. 

However, when I run this hex on my device. I always return NRF_ERROR_BUSY when calling sd_ble_gap_phy_update during connection to iphone.

I able to connect with nRF connect for desktop, but when disconnecting it will be freeze. 

The integration doc has state about the memory and connection interval issue, but it doesn't has clear instruction about how to configure.

Do you have suggestion for this problem. 

Related