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

Freertos + multirole

Hello,

I need help about the multirole with the Freertos.

When I take the code example from Nordic "C:\Nordic\nRF5_SDK_13.0.0_04a0bfd\examples\ble_central_and_peripheral\experimental\ble_app_multirole_lesc\pca10040\s132\arm5_no_packs" and I integrate my client with two services. The pairing connections work for my client and the periphal work too.

Now if I integrate the Freertos, the pairing doesn't work. I have two pairing, the first pairing work but the second return -> fonction "pm_conn_secure() -> NRF_INVALID_STATE" and reset my uC .

Can you help me ? May be it's a problem of RAM ? Because with one pairong is OK but two doesn't work. This problem is only when I put the Freertos.

Do you want my code ?

Many thanks for your reply and your help!!

Milena

Related