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

task threads blocking the device connection.

I'm using the NRF52840 SDK 15.0.0

I have 2 task threads and 5 ble services.

Now what happens is when I'm trying to connect the device with 2 tasks and ble services I'm unable to connect/pair the nrf52 device.

When I comment on one task the device getting paired.

  TASK_MANAGER_CONFIG_STACK_SIZE 4096 

can anyone help me what was the mistake I'm done?

 

Parents Reply
  • Use your debugger. Figure out where the program halts when the connection process fails. You should be able to tell if it is a memory issue or not. If the program hits the assert or goes to reset, you'll know it's a memory issue. If the debugger shows that the program continues to execute without issue, you'll know it's not a memory issue. 

    Definitely hook up the debugger and post your results.

Children
No Data
Related