This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640R2F: Connection establishment timeout

Part Number: CC2640R2F

Tool/software: TI-RTOS

I have 3 simultaneous BLE connection. Central will connects with up to 3 peripheral automatically when see known peripheral. Elaborating with the stable connections and fastest connection establishments. I have tried to drop connection on peripheral in different periods in connections or while connecting. The problem is when central see the peripheral and tries to establish connection I have removed battery from peripheral and this time.

Central gets stack in higher priority task and never will get to priority 1 task till I don't put battery back to same peripheral which has started connection establishment. At this point no other peripheral can make connection.

I have elaborate with windows an interval connection establishments constants and GAP parameters timeout but nothing had worked.

I have tried my own supervision timeout with clock handler, I get back to my task but how  should do I correctly cancel link establishment process, also this takes another resources and I would not go this way if I don't have to.

Do you have any suggestion?